T
Thierry
Hello,
I want to manage that error : org.apache.jasper.JasperException: For input
string: "a"
I have a Bean with a method
public void setAge(int age) {
this.age = age;
}
I have a JSP
....
<jsp:useBean id="bean0" scope="session" class="test.Personne" />
<jsp:setProperty name="bean0" property="*" />
.....
Enter new value bean0.age : <input name="age">
the value is bean0.age is : <jsp:getProperty name="bean0" property="age" />
.....
I dont want to use javascript for validate my data
If I enter a letter in the aera and submit form
I have that error : org.apache.jasper.JasperException: For input string: "a"
How can I manage that exception ?
thank you
Thierry
I want to manage that error : org.apache.jasper.JasperException: For input
string: "a"
I have a Bean with a method
public void setAge(int age) {
this.age = age;
}
I have a JSP
....
<jsp:useBean id="bean0" scope="session" class="test.Personne" />
<jsp:setProperty name="bean0" property="*" />
.....
Enter new value bean0.age : <input name="age">
the value is bean0.age is : <jsp:getProperty name="bean0" property="age" />
.....
I dont want to use javascript for validate my data
If I enter a letter in the aera and submit form
I have that error : org.apache.jasper.JasperException: For input string: "a"
How can I manage that exception ?
thank you
Thierry