my dog learned polymorphism*
The moose likes Struts and the fly likes Struts Using nested forms in a Tab Layout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Using nested forms in a Tab Layout" Watch "Struts Using nested forms in a Tab Layout" New topic

Struts Using nested forms in a Tab Layout

chris hart

Joined: Oct 09, 2003
Posts: 9
Hello all.
I have a Tab Layout which contains 4 jsp's. The jsp's share a single FORM so that data across all the jsp are saved together. The layout has a <html:form> and an action.
However on of the jsp has additional functionality so it has it's own <html:form>, action and a button. The problem is when the button is clicked on this page the action associated with the layout get's executed and not the action for the local form. I believe the Tab layout is presenting this problem. Has anyone run into this? Any ideas would be helpfull.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60743

Moving to the Struts forum.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Struts Using nested forms in a Tab Layout
Similar Threads
How to name html:form tag in sturts
Probably a very simple Struts form question?
ActionForm access Via DynaActionForm?
Action Mapping and relative path
Struts + OC4J = JspException: Cannot find ActionMappings or ActionFormBeans