struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy.de" <a.schm...@best-blu.de>
Subject Re: Forward to action without jsp
Date Thu, 28 Sep 2006 14:07:25 GMT



Wendy Smoak-3 wrote:
> 
> On 9/28/06, Andy.de <a.schmidt@best-blu.de> wrote:
> 
>> how can i forward to an action without input (jsp) ?
> 
> I'm not sure what you're asking.  What do you want the user to be able to
> do?
> 
> In general, any URL that maps to an Action will execute the action,
> whether or not there is any 'input' (request parameters from the form
> having been submitted, or in the URL itself.)
> 
> -- 
> Wendy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

Hi Wendy,
 i have an action 'load object from database', on execute() the form bean
is filled with values from database. On success i want to forward to the jsp
to
display the object. The user can change the values and submit the jsp, the
according 'save action' stores the changed object to database. This is the
typicall way to populate and fill a form bean before the according jsp is
shown.
But i don't find a way to forward to my 'load object from database' action
because
this action has no input (no jsp) and the forward attribute of <action>
wants
a jsp. What i need is <forward name='success' action='load object from
data'>
instead of <forward name='success' path=/xyz.jsp>
Regards Andy

-- 
View this message in context: http://www.nabble.com/Forward-to-action-without-jsp-tf2350751.html#a6547071
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message