I just did this.

if(req.getParameter("paramName").length() != 0) {

         do your code

} else {
         throw an exception or something
}


Dominic


At 19:21 04/04/01 +0530, you wrote:
>The message of the story:
>In Java String class behaves like a primitive data type..
>
>hope it helps..
>
>thanks
>donny.
>
>___________________________________________________________________________
>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

-------------------------------------------
Dominic O'Reirdan
Access Technology Group
Internet Engineering
Cable & Wireless
703-292-2815
-------------------------------------------

___________________________________________________________________________
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