struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pilgrim, Peter" <>
Subject RE: Eliminate Setup Actions
Date Wed, 09 Mar 2005 11:58:18 GMT
> -----Original Message-----
> From: Ben Taylor []
> 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: .

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( ... )' .


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:
For additional commands, e-mail:

View raw message