RE: two forms

2003-09-06 Thread LUCERO,DENNIS (HP-Boise,ex1)
I have done stuff like that. In my case I had two action entries in struts.xml each one defining a form. Both of these mapped to the same action class. Just make sure they have unique paths We come from the land of the ice and snow With the midnight sun, where the hot springs glow The

Re: Two forms on one page - html:errors/

2003-08-14 Thread Michael Ruppin
In your Form/Action you specify a property for ActionErrors: String property=FormOne; ActionErrors errors = ...; ActionError error = ...; errors.add(property, error); In your jsp you use the Struts html:messages tag with the property attribute: html:messages property=FormOne id=msg ...