Or assign the parameter a default value.

Mark

-----Original Message-----
From: Jeremy W. Redmond
Sent: Friday, December 14, 2001 12:31 PM

see if it is in the enumeration req.getParameterNames().

-----Original Message-----

value=request.getParameter("param_name");

The above statement in called page will return null in
two cases:

1-when the "param_name" is passed with no value
2-when the "param_name" didn't pass at all.

How can I differentiate these two. I mean I need to
somehow know whether
Parameter did not pass or passed with no value.

___________________________________________________________________________
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