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 hammer of the gods, will drive our ships to new lands
Fight the horde, Sing and cry
Valhalla I am coming
 


Re: Two forms on one page -

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  tag
with the "property" attribute:


...


m

--- David Thielen <[EMAIL PROTECTED]> wrote:
> Hi;
> 
> I have two forms on one page. In this case, how do I
> handle  for each form? I want to put
> the errors from each form above that form.
> 
> thanks - dave
> 
> 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]