use request.getParameterNames() method to get all parameter names...
of if you are expecting some special string then use java.lang.String
package..
Nishit
-----Original Message-----
From: Preeti [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 3:52 PM
To: [EMAIL PROTECTED]
Subject: queryString problem
hey guys
I have a JSP page in which I'm refreshing the same page and when I refresh I
pass some value so now can anybody tell how can I check if the QueryString
has something or not :
I wanna do something like this : --
<% if (QueryString=null){
out.print("nothing is passed");
}
else
{
out.print("Something is passed");
}
%>
Help Guys
Regards Preeti
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets