This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, In my STRUTS Based web application there are two files Viewcart.jsp & MemberLogin.jsp. Now ViewCart.JSP file has formbean & Action Associated with it. & when I am trying to access contents of ViewCart.jsp through typing in browser address bar "viewcart.do" I can view All the contents of viewcart.JSP Successfully. Now My MemberLogin.jsp Has also its own formbean & action class. Now I want to include Viewcart.jsp into my MemberLogin.jsp I tried with following code into body of my MemberLogin.jsp:- ============== <jsp:include action="/viewcart" /> ==============
But couldn't succeed. How should I solve above problem? Can I use type of "viewcart" action as "org.apache.struts.IncludeAction"? If yes then how? Is there any other solution to this?