Subbu,

Querystring parameters are available in both doPOST and doGET methods.  The
only difference is that
doGet methods have access ONLY to querystring parameters.  Therefore, if you
are doing a form POST,
you want to be catching this in a doPost method, not in a doGet.

-AMT

> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of subramanian
> Sent: Tuesday, January 18, 2000 5:42 AM
> To: [EMAIL PROTECTED]
> Subject: 500 internal error-please help
>
>
> hai
> iam new to javaservlets
> i have a question
> please carefully read the follwing and try to help me out.
> i have a form where i have a textbox and a submit button . if the
> submit button is clicked it is sent to another servlet where i
> check whether the textbox contains value
> if the textbox does not contain value iam redirecting to the
> first servlet and trying to catch the message. since it is a qurystring
> iam catching the value in doget method
> but the code works when we pass querystring
> but when there is no query string it gives 500
> internal error
>
> --
> with regards
> subbu
>
>
>
>
>
> LYCOShop is now open. On your mark, get set, SHOP!!!
> http://shop.lycos.com/
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to