Two Laptop Bag
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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.

I agree. Here's the link:
subject: Form Action on body onload
jQuery in Action, 3rd edition