I replied to Mike message, but I think I sent it just to him... here it is.

Sorry, cannot post the code... I wish I could.  To clarify the problem, I
can post the form from the servlet to itself, but somehow the data that
comes back in is corrupted.  I have been playing around with the code, and I
believe that the problem might have been caused by cookies I use in the
servlet. I removed some of the cookies and the form post seems to be working
better.  I still have more tests to run to make sure it works fine.

Thanks again,

Danny


-----Original Message-----
From: Matt Penner [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 24, 2001 12:02 PM
To: [EMAIL PROTECTED]
Subject: Re: doGet, doPost, and reload problems/questions


As Mike asked can you post the code?  Also, make sure that you aren't
loosing
or altering any necissary information on the form when you repost it.  Like
when you filter out some of the fields are you missing an important field
that
your servlet is looking for?  I'm sorry if this is all elementary but we
have
to cover all the bases.

Anyway, I think that the warning message you are getting is strictly from
the
browser.  If you reload a form with changed data to the same url it is going
to
give you that message no matter what your servlet is doing.  The only
options
you have to get rid of it is to either change the url, repost rather than
reload, or possibly do some fancy JavaScripting to disable that message (I'm
not sure if this is possible but it might be).

I'm not an expert at this so if anyone else has any better ideas please let
us
all know.

Hope this helps!
Matt

___________________________________________________________________________
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