Hi Folks,
         Struts newbie here.  In "standard" html, a form action is optional.  
If not specified, when you hit submit, that form's action "goes to" that same 
URL, thus returns back to that same form.  I effectively want to do the same 
thing in struts.  The reason is I want to reuse some pages for different 
struts action "flows".

To be clearer, imagine I have 5 pages A.jsp thru E.jsp.  I sometimes want to 
process them A, B, C, D, E.  Other times I want B,C,E,D,A or whatever.  Those 
2 flows are controlled by 2 different (struts) actions, let's call them act1 
and act2.  If I hardcode the (HTML) form action as act1 in the page, the page 
would go to act1, even through I may be "in" the act2 (struts) action (flow).  
I realize that the first page needs to choose an action, but the rest should 
just keep the same context/URL/whatever without having to hardcode it 
(i.e "leave it blank").  I CAN get this info from the (HTTP) request object, 
but it sure seems like that doing it the hard way. I guess that I could be 
missing some fundamental "strutsism" here, but it sure seems like it would be 
very useful to do what I described.  I have searched all the FAQ's I can find, 
but no luck.  

Please explain to me what "I am not getting".


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to