Could it be that "page" is a key word?
-----Original Message-----
From: Matt Becker [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 16, 2001 3:30 PM
To: [EMAIL PROTECTED]
Subject: getParameter() help
Hi, I have a servlet which dispatches out various jsp's. Some of the jsp's
resulting html contain links back to the servlet to fire off another page
like this:
<A HREF="mainservlet?cmd=load&page=home">HOME</A>
When I do a request.getParameter("cmd") the string I get is "cmd" which is
right.
When I do request.getParameter("page") the string I get is
"mainservlet?cmd=load" which is not right.
Does anyone know if I'm doing something wrong with how I'm writing the link
back to the servlet?
Thanks!
Matt Becker
________________________
Mythicwave Productions, Inc.
21053 Devonshire, #201
Chatsworth, Ca. 91311
818-700-1998
[EMAIL PROTECTED]
===========================================================================
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