struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From christophe.go...@bnpparibas.com
Subject Réf. : Initalize input form with data from the database
Date Mon, 02 Dec 2002 14:15:22 GMT


I'm little bit new to Struts, but I understood that the procedure is the
following:
Your Action must populate your ActionForm Bean, then your JSP will display
the right values...

You have an example of that in the Struts-example included in the release
(Edit Registration).

Tof




Extranet
graham.cook@cgey.com - 02/12/2002 15:09


Veuillez répondre à struts-user@jakarta.apache.org
Pour : struts-user

cc :


Objet :     Initalize input form with data from the database


 Hi there,

Im having problems calling an action to fetch data from the Database and
prepopulate an input form.
Basically I have 1 Action, 1 ActionForm and 1 JSP. The ActionForm extends
LookupDispatchAction to cope with multiple buttons on the JSP. What I want
to do is to call the Action to initalize the JSP with data from the
database
and resue the same action for all other buttons on the page. Can anybody
point me in the right direction.

Ta


********************************************************************************************

" This message contains information that may be privileged or confidential
and
is the property of the Cap Gemini Ernst & Young Group. It is intended only
for
the person to whom it is addressed. If you are not the intended recipient,
you
are not authorized to read, print, retain, copy, disseminate, distribute,
or use
this message or any part thereof. If you receive this message in error,
please
notify the sender immediately and delete all copies of this message ".
********************************************************************************************



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










This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

                ---------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.


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


Mime
View raw message