What library or framework is <app:page> from? It's not a standard JSP action.
Why are you trying to use a JSP as a redirect? A JSP is for creating views. Doing anything else is a misuse of the technology. And putting Java code in a JSP is an obsolete practice from over 10 years ago.
Back up a bit and explain what you are actually trying to accomplish. You haven't made it clear. (For example you mention "menu" yet I see no evidence of anything menu-like.)
I have no idea what library but isn’t Spring the framework? This application was delivered to us by external developers who are no longer contactable.
Do you have any suggestion on how to redirect a menu called “About us” on the application to an external “About us” page? The content of target about.jsp is incorrect according to your observation. Would a simple HTML redirect URL command be able to achieve this?
Hope this help. I am just as lost due to my limited understanding of how the application was developed.
If you simply want to go to another page when "About us" is clicked, you'd simple make it a link with an <a> tag.
Joined: Oct 20, 2006
Below is a working pure XHTML page that successfully:
However, the URL redirection failed when placed this file (about.htm) in $HOME/tomcatProd/webapps/reporting-school/WEB-INF/jsps because this Spring application is looking for about.jsp instead of about.htm. As a result, would you know which configuration / property file to change the lookup file name if possible?