If I understand you right, you want to pass and ID number from the web
page to the servlet. Simply place a hidden variable (using the INPUT
tag from HTML) and then have the servelt do:
servletRequest.getParameter("variableName")
This will return the string of the value in that hidden variable
DanC
Balogh Andras wrote:
> Hi !! do U mean at client side ?? You could use JavaScript ... Please
> be more specific !! Best wishes, Andras
>
> -----Original Message-----
> From: Oscar Sanju�n Mart�nez <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> <[EMAIL PROTECTED]>
> Date: Wednesday, May 05, 1999 12:10 AM
> Subject: help, pleaseeeeeeeeee!!!!!
> I need to include in a html document a reference to a
> servlet giving a parameter, something like this:
> <server>/MyServlet?id=0494746363523 How can i do it?How can
> i read the parameter in my code in the servlet? Thanks
>
___________________________________________________________________________
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