Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

one action mapping, multiple form beans

Status
Not open for further replies.

paquitosoft

Programmer
Jun 28, 2005
1
ES
Hi there!
I'm facing this problem...
I'm working in a project which needs that one action mapping defined in the struts-config be able to handle several form-beans. I mean...

I will call the same action in the struts-config.xml fronm different jsp, each one of them will have their own form-bean associated beacause I always use html:forms to move within the flow.

Until now I have seen that when I define an action mapping in the struts-config.xml, there's a field called "name" where I have to specify the form-bean(actually ActionForm) this action will deal with.
Since I will call this action from several jsp with different form-beans associated, I cannot specify only one form-bean...

If anybody understood what I've just said (I know my english is very poor), is there any chance to solve my problem???

Thank you all
 
Ted Husted answered this question here:


It should set you in the right direction rather than me reading all the information and trying to tell you how. If that doesn't help you, google the title of the thread you created, you get a good number of hits on the subject.

HTH

Andrew
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top