File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
It's not a secret anymore!