This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Struts and the fly likes display html message on multiple form same action Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "display html message on multiple form same action" Watch "display html message on multiple form same action" New topic
Author

display html message on multiple form same action

Shilpa Tendulkar
Ranch Hand

Joined: Jul 29, 2001
Posts: 75
Hi all

I am having two diffrent forms with diffrent name and diffrent beans but ONE action. Problem is whenever I try to display error message it display on both forms regardless of which form is submitted.

for eg. I have form channels and form zones and channelsGroup action which handles both forms. whenever I submit either form, on validation failed, it displays the error message on both forms.

How can I stop this and display error message on the form which is submitted?
JSP is


This is the whole application structure I have. Can anyone help please?

Thanks
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

That's completely illegible--can you not see that what you tried to do with fonts/etc. didn't work?!

You'd need to check for a specific property/set of properties--there's only one set of messages per page.
 
 
subject: display html message on multiple form same action