It looks like the "page" could be a key-word and is pulling 
"mainservlet?cmd=load",try changing page to something like "pg" and see if u 
get the same error.

Ram


>From: Matt Becker <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: getParameter() help
>Date: Tue, 16 Jan 2001 12:50:28 -0800
>
>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, e-mail: [EMAIL PROTECTED]
>For additional commands, email: [EMAIL PROTECTED]
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to