Solved

<jsp:setproperty >  how do i handle a type error that the user has entered?

Posted on 2003-10-26
4
272 Views
Last Modified: 2010-04-01

Ok lets say one of the attributes of the class is an int,
but the user enters a string into the form item corresponding to the class attribute

How do you handle that error?

thanks
0
Comment
Question by:charlieh1983
4 Comments
 

Author Comment

by:charlieh1983
ID: 9621918

oh nevermind
you just put a try / catch aruond the <jsp setproperty>  
too easy
0
 
LVL 15

Expert Comment

by:jimmack
ID: 9622088
;-)

Don't forget to as a moderator to close the question.
0
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 10784936
PAQed - no points refunded (of 50)

CetusMOD
Community Support Moderator
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Google always has something new and amazing up its sleeve, and the most current thing that they have been working on is another step in the evolution of Google Search, from machine learning to its brilliant successor, deep learning.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question