Hi,
Does anyone know how should catch the exception in JSp program.
I face a problem when user try to enter data just like special charater  #
,or & ,the browser will display error.

I have try the code below but it still does not work.


try {
      String  sDescription = request.getParameter(" desc");
 }

catch (Exception e)   {
        throw new NullPointerException();
    }


Thanks & Rgds,
Kathy

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to