struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bubeník Miroslav <MBube...@cpoj.cz>
Subject RE: obtaining ActionMapping object
Date Thu, 22 Jan 2004 16:41:42 GMT
I need send data from more than one formbean to the business logic. And before that I need
validate that beans, becouse it is not "wizzard like flow".

-----Original Message-----
From: Hubert Rabago [mailto:jakartauser@yahoo.com] 
Sent: Thursday, January 22, 2004 5:39 PM
To: Struts Users Mailing List
Subject: Re: obtaining ActionMapping object



You need the "path" to specify which mapping you want.  From the RequestProcessor class, you
can use:

        ActionMapping mapping = (ActionMapping)
            moduleConfig.findActionConfig(path);

You can use RequestUtils to get your ModuleConfig.

Why not call the formbean's validate() method?


--- Bubeník_Miroslav <MBubenik@cpoj.cz> wrote:
> Hi,
> how can I obtain ActionMapping object for non-active path. I need it 
> for validating non active formbeans (but existing) stored in session. 
> thanx
>  
> miro
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/

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


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


Mime
View raw message