You can pre-populate your form in an action, which you have to call before
showing the JSP. You then forward to the JSP from your action.

Calling a action is done using "...yoururl.com/actionName.do" in the browser
url.

Bernhard

-----Ursprüngliche Nachricht-----
Von: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 21. Februar 2003 09:36
An: Struts Users Mailing List
Betreff: Populating a html select in struts.


How does one pre-populate a form field in struts which uses the multiple 
select ? I've tried it but I don't see anything being filled out in the 
select box, I've also created the necessary form beans for it to work. 
Help with this would be nice, thanks.


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

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

Reply via email to