You can't have jsp tags inside jsp tag attributes. Try value="<%=
request.getAttribute("userId") %>" or something instead.

Nils-H

On Thu, Dec 4, 2008 at 1:42 PM, mthalis <[EMAIL PROTECTED]> wrote:
>
>
> I want to show values in the text box for editing purpose. I'm able to get &
> show the value using <bean:write> tag. But i can't assign the value to text
> box. If i use like below code it's showing the full <bean:write> tag as
> String.
>  <html:text property="emp_no" value="<bean:write name="userID"
> scope="request" />" />
>
>
> i have used below code to set the value of the bean
> request.setAttribute("userID",rs.getString(1));
>
> pls help me regarding this.
>
>
>
> Thanks
>
>
> --
> View this message in context: 
> http://www.nabble.com/%3Cbean%3Awrite%3E-value-print-in-%3Chtml%3Atext%3E-tp20832676p20832676.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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