Thanks,


Danny Rubis wrote:

> Hey!
>
> >From what you write below, you have it all.  You may not
> have the confidence, though.  Just go for it. You can't break
> anything.  See below embedded comments (untested code).
>
> Sans adieu,
> Danny Rubis
>
> Philippe Plouffe wrote:
>
> > Hi,
> >
> >     I'm developping a servlet which will start with a HTTP get operation
> > (doGet)
>
>   // Output HTML form
>   out.println ("<FORM ACTION='" + request.getServletPath() + "' METHOD=POST>");
>
>   out.println ("<PRE>");
>   out.println ("     <B> <input type=radio name='name' value='value1'> Cats");
>   out.println ("     <B> <input type=radio name='name' value='value2' > Dogs");
>
>   out.println ("     <B> <input type=radio name='name' value='value3' checked>
> Snakes");
>   out.println ("<input type=submit>");
>   out.println ("</PRE></FORM>");
>
> > and depending on the data the user has input when submitting,
> > the same servlet will make a DoPost with different HTML data.
> >
>
>   // Output of which animal
>    out.println ("<H4> getAnimal() </H4> ");
> where getAnimal() is your typical servlet getParameters() implementation found
> numerous places where servlet information hangs out.
>
> >
> > Does anybody have a suggestion on how my servlet should pass the data to
> > itself ?
> >
> > Thanks,
> >
> > Phil
> >
> > ___________________________________________________________________________
> > 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