Solved

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

Posted on 2003-10-26
4
275 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

There is a lot to be said for protecting yourself and your accounts with 2 factor authentication.  I found to my own chagrin, that there is a big downside as well.
Article by: Justin
In light of the WannaCry ransomware attack that affected millions of Windows machines, you might wonder if your Mac needs protecting. Yes, it does and here is how to do it.
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

688 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