Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
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…

914 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now