Hi I am a newbie using struts. I have a simple jsp which has 2 fields, a String and a Number(eg: Name and Age)<br> When I try displaying the jsp, I get this exception, ClassCastException:java.lang.Integer
I am using Tomcat-3.3.1 and Struts-1.0.2 I have a form bean, where "Name" is a String and "Age" is an int. In my ActionClass, I set the bean values.. String age_str=request.getParameter("age"); int age_int=(new Integer(age_str)).intValue(); beanClass.setAge(age_int); Kindly let me know what is the error.. TIA Vijeth -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>