This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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?