This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Form Action on body onload" Watch "Form Action on body onload" New topic

Form Action on body onload

shailesh kumar
Ranch Hand

Joined: Jul 18, 2005
Posts: 36

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 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.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Form Action on body onload
Similar Threads
How to calll a servlet onload when accessing a jsp page
setting values from action class into table UI...
populating select when page loads
Setting Value Parameter of HTML tags
Disabling forward and back button in IE