Hi All,

i have a problem using html:error tag.
my situation is a bit comples.
i have two frames (say logon, register) on my page and each of them is using
html:error tag to display there errors.each of frame have a form, action
class and form class associated with it.now when there is some error in
registerAction i put them in request scope to display on the register form.
instead of displaying these errors on register form they  are displayed on
logon form.
i need to know is there a way that we can mention a name for error object
when storing in request svcope so that we can display them with respect to
there names.

any help will be appreciated.

Thanks
Tanver



> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, May 22, 2001 8:18 PM
> To:   [EMAIL PROTECTED]
> Subject:      What is the best way to have one jsp mapping to two forms?
> 
> 
> This e-mail is subject to the disclaimer contained at the bottom
> of this message.  This e-mail message has been scanned for Viruses 
> and Content and cleared by MailMarshal.
> I have two actionForms one for person information 'personForm' and one for
> address 'addressForm'. I would like to have one JSP page to provide input
> form for both person information and address information. Currently one
> JSP
> and one ActionForm is easy to implement in Struts. But I am not sure what
> is the best implementation or options for one JSP page with two
> ActionForms.
> 
> Any tips?
> 
> Regards
> Kelvin
> 
> 
> The informatuon transmitted in this message and attachments (if any)
> is intended only for the person or entity to which it is addressed.  
> The message may contain confidential and/or privileged material.  
> Any review, retransmission, dissemination or other use of or taking 
> of any action in reliance upon this information by persons or entities
> other than the intended recipient is prohibited.  
> 
> If you received this in error, please contact the sender and delete the
> material from any computer.
> 
> The intended recipient of this e-mail may only use, reproduce, disclose or
> distribute the information contained in this e-mail and any attached files
> with the permission of CGU Insurance.

Reply via email to