This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
In this case, I'd suggest using the page attribute of <html:link> rather than the href. While href evaluates the URI the same as an <a> html tag would, page evaluates it relative to the context root. For more information, see the heading "link" in this document.
I think you need to redirect to jsp without performing any loginc.In that case you can try this, index.jsp in the jsp you need to redirect.
Hope this helps.
Thanks and Regards, Arul.
Joined: Nov 08, 2005
I tried this:
But i'm getting a blank page with this in the address bar : http://localhost:9080/wcw/displayDepartment.do?methodToCall=displayDepartment
what is wrong in this???
Joined: Feb 15, 2005
The most likely cause of this problem is that the execute method of the com.mmm.wcw.web.admin.department.DepartmentLoadAction class may be returning a null ActionForward. Put some System.out.println statements in your code to display the ActionForward just before it's returned and see if maybe this is the case.