Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / JavaBeans / April 2004

Tip: Looking for answers? Try searching our database.

Bean and exception

Thread view: 
Thierry - 29 Apr 2004 13:06 GMT
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
Christophe Vanfleteren - 29 Apr 2004 13:09 GMT
> Hello,
> I want to manage that error : org.apache.jasper.JasperException: For input
> string: "a"

<snip>

See answer in c.l.j.programmer.

Signature

Kind regards,
Christophe Vanfleteren



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.