You can from a form or by Request Object,example:

<form action="YourServlet">

<input type="text" name="yourfields" value="">
</form>

or

<a href="YourServlet?yourvariable=yourvalore">LInk</a>

Bye
Beck74


----- Original Message -----
From: "Ceron, Jay" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 02, 2003 3:15 PM
Subject: passing parameters to a servlet


> How do I pass a parameter to a servlet from an HTML or JSP page?
>
> Thanks
>
>
> Jay
>
>
___________________________________________________________________________
> 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