aspose file tools*
The moose likes Struts and the fly likes Form Action on body onload Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Form Action on body onload" Watch "Form Action on body onload" New topic
Author

Form Action on body onload

shailesh kumar
Ranch Hand

Joined: Jul 18, 2005
Posts: 36
Hi,

I would like to call the form action on body onload, can any body please suggest how can achieve this in struts framework.

<html:form action="/processAction"> , on body onload..is it possible

The requirement is, when the page loads, I have to populate the list box with the database values, iam thinking of setting my Vo objects in form action where I will populate the Vo's and set them in session.

thanks..
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Form Action on body onload
 
Similar Threads
populating select when page loads
Setting Value Parameter of HTML tags
Disabling forward and back button in IE
How to calll a servlet onload when accessing a jsp page
setting values from action class into table UI...