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