> -----Original Message-----
> From: Ben Taylor [mailto:[EMAIL PROTECTED]
> Sent: 05 March 2005 08:03
> To: Struts Users Mailing List
> Subject: Eliminate Setup Actions
> 
> 
> Hi,
> 
> Can anyone tell me if there is an easy way to put information
> (required to populate drop down boxes using data from a db) in to the
> request, without having to write a setup Action for each page as is
> done here: http://www.reumann.net/struts/lesson2/step9.do .
> 

You could use ``DispatchAction'' and ``LookupDispatchAction'' for
your multiple actions. In the some kind of ``DispatchAction'' write 
method to render the form `promptForm( ... )' and then another method
`processForm( ... )' .

hth

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==============================================================================
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==============================================================================


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

Reply via email to