This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
I have the below code in my jsp page,popUpWrapper.jsp:
where request.getParameter(), gets the jsp page which is appended with URL of popUpWrapper.jsp.
if i have the below code:
then abc.jsp, is included inside PopUpWrapper.jsp.
The issue with this, is it works fine, when i pass a jsp page as a parameter.
However in some cases i have to pass a url like
where workspace.do, has a mapping in struts-config.xml, from where it gets redirected to an Action class, which in turn determines, what jsp page to be displayed.
When i pass such URL in my PopUpWrapper.jsp, the jsp:include tries to find page workspace.do, in its namespace, to display, instead of redirecting to Action class from struts config. AS a result, i get the page not found error.
Please advice on how to proceed for such URLS, where the Action class needs to be hit.
Note: i need to put this jsp, inside the PopUpWrapper.jsp. I had tried with requestDispatcher, but that didnt help me include inside PopUpWrapper.jsp.
If debugging is the process of removing bugs, then programming must be the process of putting them in. -- Edsger Dijkstra