You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Struts Newsgroup (@Basebeans.com)" <st...@basebeans.com> on 2002/08/09 09:25:02 UTC

Form/scope conflict problems

Subject: Form/scope conflict problems
From: "Matt Raible" <ma...@raibledesigns.com>
 ===
I have a userForm that I keep in session scope.  I am trying to re-use this
form for sending an e-mail to a different user in the system.  I have setup
a different <form-bean> with a new name (emailUser) and a new action mapping
(/sendMail) referring to emailUser and with a request scope.

The problem I'm experiencing is that everytime I load my form with action
/sendMail, it overwrites the userForm in the session scope.  What gives -
I'm naming it different - does Struts check for instanceof?

Thanks,

Matt



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>