Solved

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

Posted on 2003-10-26
4
273 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you are looking at this article, you have most likely been hit by some version of ransomware and are trying to find out if there is anything you can do, or what way you should react - READ ON!
The business world is becoming increasingly integrated with tech. It’s not just for a select few anymore — but what about if you have a small business? It may be easier than you think to integrate technology into your small business, and it’s likely…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

861 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