hi,
first, i don't understand why u put <bean:write ..> in the <html:text..> , i guess for the value. but if the form has a value prepopulated (for UID), struts will get the value in to the text field automatically.
second, as far as possible pl. follow the javabean convention for naming ur form variables
 
--nagi
-------Original Message-------
 
Date: Tuesday, June 03, 2003 03:07:17 AM
Subject: bean-write
 
my form-bean is "com.ubs.directory.yp.formbeans.SubmitLogin"
the property is UID
with get and sets

String getUID()
void setUID()

I am getting errors
[6/2/03 17:20:06:190 EDT] 6f1fc760 WebGroup E SRVE0026E: [Servlet
Error]-[Cannot find bean SubmitLogin in any scope]:
javax.servlet.jsp.JspException: Cannot find bean SubmitLogin in any scope

<html:errors/>
<html:form action="">
<table cellspacing="0" cellpadding="0">
<tr><td>User ID :</td><td><html:text property="UID">
<bean:write
name="SubmitLogin" property="UID"/>
</html:text>
</td></tr>
<tr><td>Password :</td><td><html:password property="PWD"/></td></tr>
<tr><td>&nbsp;</td></tr>
<tr>
<td colspan="2">
<html:submit value="Login" property="login" /><html:reset
value="Clear Form" property="clear"/>
</td>
</tr>
</table>
</html:form>






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


.
____________________________________________________
  IncrediMail - Email has finally evolved - Click Here

Reply via email to