File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts ActionForm populate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts ActionForm populate" Watch "Struts ActionForm populate" New topic

Struts ActionForm populate

Sash Kapoor

Joined: Feb 16, 2004
Posts: 3
I have a form (A) with a link to another form (B) from where I select a value B.val and set it to A.val and come back to form A.
My problem though is that when I come back, some text values that I had entered in A are lost. How do I transfer values from the A jsp to the A ActionForm before following the link?
Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

I'm really lost on what you're explaining.
My hunch is that you are not submitting the form. Without submitting the form you cannot remember those values.

A good workman is known by his tools.
subject: Struts ActionForm populate
It's not a secret anymore!