Dear all

i am using jsdk2.0 for linux.
servlet server complains when i used method post.
It returns error "post not supported".
It's true that jsdk20 only supports method get, instead of both.

thanks

-kit


On Fri, 21 May 1999, Jon Baer wrote:

> I got this once before, for some odd reason I dont get it anymore, it might be
> the software you are running(?) ... what I did was referred the doGet() to the
> the doPost(), ie:
>
> public void doPost() {
> // code
> }
>
> public void doGet() {
> doPost();
> }
>
> - Jon
>
> Duke Martin wrote:
>
> > My servlet code contains:
> >
> > public void doPost
> > .
> > .
> > <form method=post>
> > .
> > .
> > </form>
> >
> > and I still receive a method "get not supported" error.  Help?
> >
> > -----Original Message-----
> > From: Rosdi Sedi <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> > Date: Friday, May 21, 1999 9:13 PM
> > Subject: Re: post or get?
> >
> > >Hi Duke,
> > >
> > >In your HTML form, change this..
> > >
> > ><form method='get'>
> > >
> > >to this..
> > >
> > ><form method='post'>
> > >
> > >
> > >sedi.
> > >
> > >----- Original Message -----
> > >From: Duke Martin <[EMAIL PROTECTED]>
> > >To: <[EMAIL PROTECTED]>
> > >Sent: Saturday, May 22, 1999 9:27 AM
> > >Subject: post or get?
> > >
> > >
> > >> Hello,
> > >>
> > >> I have a servlet that generates forms.  When I use public void doGet the
> > >> servlet runs great except that everytime the screen is refreshed the
> > >> parameters at the end of the url are re-submitted.  If I use public void
> > >> doPost I receive an error that says "get not supported by this url".
> > What
> > >> is this?  Could someone show me some example code on the proper way to
> > >> generate an HTML form using the doPost method?
> > >>
> > >> Duke
> > >>
> > >>
> > >___________________________________________________________________________
> > >> 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
>
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Jon Baer / MTV Networks
> 1515 Broadway - 29th Floor
> New York, NY 10036
> T. 212-846-5984
> F. 212-846-1801
> E. [EMAIL PROTECTED]
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
> ___________________________________________________________________________
> 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