String xxx;

try {
    xxx = req.getParameterValues(parameter_name)[0];
}
catch (NullPointerException e) {}

----Original Message Follows----
From: Thor Erik Karlsen <[EMAIL PROTECTED]>

Are you using the Java2.0 classes? I don't get that warning when compiling
in JBuilder2(jdk 1.1.7)

-----Original Message-----
From: Wendy Liew <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, April 21, 1999 7:23 PM
Subject: getParamter


 >I used getParameter in my servlet and the compiler complains that
 >it's been deprecated.  Has it not?
 >
 >wendy
 >
 >___________________________________________________________________________
 >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
 >

___________________________________________________________________________
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



______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

___________________________________________________________________________
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