I just read the suggested book and found that when you use link, you have to
implement doGet().
Your link should look like:
http://www.mywebsite.com/servlet/myservlet?param1=value1¶m2=value2
do not forget encode your parameters if you use special symbols like blank
and so on.
Dmitry.
----- Original Message -----
From: Craig R. McClanahan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 1999 6:40 PM
Subject: Re: Form & Folder
> Esteban Felipe wrote:
>
> > If i call a aervlet from a link.....
> > 1.- What method should i implement �doPost? �doGet? �����?????
> > 2.- How can i pass parameters?
> >
>
> You will find the answers to this question, and a whole bunch more, in the
> Servlet Trail of the Java Language Tutorial
> (http://java.sun.com/docs/books/tutorial). You will learn a lot faster if
you
> follow a guided tour like this, rather than stumbling from one question to
the
> next on this list.
>
> Craig McClanahan
>
>
___________________________________________________________________________
> 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