Hi
i wrote this code in graduateregistration.jsp
Username <html:text property="text" name="username" maxlength="20"></html:text>
Password <html:password redisplay="false" property="password" name="password" maxlength="20"></html:password>
Re-Enter password <html:password redisplay="true" property="password" name="retyppassword" maxlength="20"></html:password>
First name <html:text property="firstname" name="text" maxlength="20"></html:text>
Last name <html:text property="lastname" name="text" maxlength="20"></html:text>
Gender <html:select property="gender" name="text"><html:option value="Male" key="male"></html:option><html:option value="Female" key="female"></html:option></html:select>
Date Of Birth <html:text property="date" name="date"></html:text>
E-mail <html:text property="email" name="text" maxlength="100"></html:text>
Fax
Phone
Home phone
Country
Qualification
University
Specialization
Percentage
Passed out
Position
Industry Preference
Location Preference
Salary Expected
Work Experience
Hobbies
Intrests
Achievements
</td>
When i tried to deploy this application into the server i am getting this exception
org.apache.jasper.JasperException: An exception occurred processing
JSP page /graduateregistration.jsp at line 91
88: </td>
89: </tr>
90: </table>
91:
Username <html:text property="text" name="username" maxlength="20"></html:text>
Password <html:password redisplay="false" property="password" name="password" maxlength="20"></html:password>
Re-Enter password <html:password redisplay="true" property="password" name="retyppassword" maxlength="20"></html:password>
First name <html:text property="firstname" name="text" maxlength="20"></html:text>
Last name <html:text property="lastname" name="text" maxlength="20"></html:text>
Gender <html:select property="gender" name="text"><html:option value="Male" key="male"></html:option><html:option value="Female" key="female"></html:option></html:select>
Date Of Birth <html:text property="date" name="date"></html:text>
E-mail <html:text property="email" name="text" maxlength="100"></html:text>
Fax
Phone
Home phone
Country
Qualification
University
Specialization
Percentage
Passed out
Position
Industry Preference
Location Preference
Salary Expected
Work Experience
Hobbies
Intrests
Achievements
</td>
92: <td >
</td>
93: <td >
94:
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root cause
javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot find bean: "username" in any scope
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:852)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
org.apache.jsp.graduateregistration_jsp._jspService(graduateregistration_jsp.java:92)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
How can i overcome this exception and how can i start this page?
Please help me
Regards
Areshbabu