The name you provide for the "name" attr in <bean:write/> must match the name you stored it in the request with.
-----Original Message----- From: struts [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2003 8:41 AM To: Struts Users Mailing List Subject: Re: html:text i'm lost When i do something like you proposed <bean:write name="users" property="userName"/> error: org.apache.jasper.JasperException: Cannot find bean sessionScope.users in any scope In the action i have: usersForm.setUsers(usersValues); //-- assign form object to the request object setForm(mapping, userForm, request); //-- populate the form object populateForm(form, request); ----- Original Message ----- From: "Firat TIRYAKI" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, October 31, 2003 2:35 PM Subject: Re: html:text > you should use the name too > name is the id you define in tags (logic:iterate maybe) > <bean:write name="users" property="userName"/> > > and also > > <c:out value="${users.userName}"> should work > > F. > > > > ----- Original Message ----- > From: "struts" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Friday, October 31, 2003 3:18 PM > Subject: html:text > > > This is maybe a stupid question but how can i print the user.userName value > on screen instead of in a text box ? > > eg: > > <html:text property="users.userName" size="10" maxlength="10"/> > > i want to do something like : <bean:write property="users.userName"/> but > this is not working. > > Thanks > > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

