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 Map the action form object 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 "Map the action form object" Watch "Map the action form object" New topic

Map the action form object

anvi kon
Ranch Hand

Joined: Jan 08, 2010
Posts: 133
How do I map the action form object of the first.jsp page to second.jsp page?

If I click the upload file it has to call the second .jsp page action form object.

How do I call the action class of second.jsp page?

If I include second.jsp page in first jsp
using struts.

I have one main jsp page, First.jsp.
I have included second.jsp page in First.jsp page


The code for second.jsp page as below.It is used to upload a file.

Form bean

action class

Struts-config.xml file


on the jsp page

David Newton

Joined: Sep 29, 2008
Posts: 12617

I'm really not sure what you're asking.
I agree. Here's the link:
subject: Map the action form object
Similar Threads
Problem with file separator
File upload with websphere 6. file object is stripped.
liferay struts portlet
Displaying file content in a jsp page
Why File name is becoming null in action class ?