When you switch from "session" to "request", do you remember to change
the scope where you set the form in your action class?  What I mean
is, in your action class, you should also change

session.setAttribute("exForm", exForm);

to 

request.setAttribute("exForm", exForm);

Hubert


On 5/16/05, Mohan <[EMAIL PROTECTED]> wrote:
> Hi,
> 
>    I created a jsp page as follows,
> 
>         <html:text property='pr' />
> 
> in the struts-config filie My action-mapping is as follows
> 
>                         <action path="/ex.do"
>                                 type="com.ex.ex1.ex1.actions.ExAction"
>                                 name="exForm"
>                                 parameter="method"
>                                 scope="session"
>                                 validate="false">
>                                 <forward
>                                                 name="exfarward"
>                                                 path="/jsp/ex.jsp"/>
> 
>                         </action>
> 
> I am retriving the values from Database and I am setting it using the set
> method.
> But if I keep the form bean scope in session,It is  showing the value in the
> text box.If I keep the form bean scope in the request it is not showing the
> value.
> 
> Thanks,
> Mohan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to