oops!!! enough... MACRO GO THRO THE ARCHIVES BEFORE ASKING THIS KIND OF
SILLY AND BASIC QUESTIONS, THE ANSWER FOR THIS CAN BE OBTAINED EASILY EITHER
IN THE ARCHIVES OR FROM A BASIC JAVA BOOK.  PEOPLE PLEASE DONT RESPOND TO
THIS TYPE OF SILLY QUESTIONS, IF U WANT TO ANSWER, ANSWER HIM DIRECTLY NOT
TO THE ENTIRE LIST.  THIS IS REALLY FRUSTRATING!!!!

YES I PUT THE CAPS LOCK INTENTIONALLY.

SRINI

-----Original Message-----
From: Gokul Singh [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 21, 2000 10:34 AM
To: [EMAIL PROTECTED]
Subject: Re: myservlet?&param=xxx how?


Hi,

You can use the method getParameter of ServletRequest to get the value..

You can use a code like this

doGet(HttpServletRequest req, HttpServletResponse res)
{
    // Get the value
    String Value = req.getParameter("param");
..
..
}

----- Original Message -----
From: "Marcos" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 21, 2000 3:51 PM
Subject: myservlet?&param=xxx how?


> hi,
>
>     what should i write in the servlet to get the parameter?
>
> thanks in advance,
>
> marcos
> [EMAIL PROTECTED]
>
>
___________________________________________________________________________
> 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

___________________________________________________________________________
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

___________________________________________________________________________
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