A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Struts 2: forward from jsp to another
paddy Mahadeva Iyer
Joined: Feb 10, 2007
Dec 18, 2008 03:13:00
I am back with a new problem.
I have a jsp in which if i click a button i want to forward to another jsp. I know i can use 'ServletDispatcher'. But in the project all calls to jsp are in the struts.xml.
So in my case. I don't have any logic for my action method (i dn't need that method at all). So how can i avoid going to the action class and forward to my next jsp from struts.xml?
Joined: Sep 29, 2008
Dec 18, 2008 04:35:00
If you have no "class" attribute in the action mapping the default ActionSupport class is used.
I agree. Here's the link:
subject: Struts 2: forward from jsp to another
problem in displaying actionerrors
Perennial Prepopulation Question
Doubt on action objects' instantiation.
URL getting loaded twice
struts2 validation result input cannot be an action?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014