Are you talking about the server side include?

In html side

<servlet code=myservlet>
<param name=myname value=myvalue>
.
.
./*any number of parameters you like to have*/
</servlet>

In the servlet side

You can get all these parameters as usually:request.getParameter("name")

Hope this helps

Ping

Oscar Sanju�n Mart�nez wrote:

>  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

Reply via email to