tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffry Guttadauro <>
Subject Re: RE: Transform get to post
Date Thu, 18 Jan 2001 14:09:25 GMT
To avoid the JavaScript dependency and simplify things a bit, couldn't you
just make your "leave our section" link be a submit button for a form (with
method=POST) in which you've written all these variables into hidden input
fields? on 01/17/2001 05:42:05 PM
Please respond to
Subject: Re: RE: Transform get to post

It would be if I were doing something intelligent...  Basically, I
have some plain html that is viewable only through authentication.
That works fine and dandy.  Now, if these authenticated users are
going to leave my secure section and visit a different internal site
which is also secure, I have to pass the variables along to their
authentication and the only way their process will receive them is
through a POST.  So, by clicking "leave our section" was going to run
them through a servlet (or jsp) which would set the variables, set
itself as POST and redirect to the other place.

Now that I type all that out, A) my appologies for being off topic.
B) it seems like overkill  c)  Thanks for all the thoughts that have
trickled in as I wrote this.

---- Begin Original Message ----

From: "Tim Gilbert" <>
Sent: Wed, 17 Jan 2001 15:19:47 -0800
To: <>
Subject: RE: Transform get to post

Uh, wouldn't the simplest way be to change the underlying HTML from

 <form method="get" ...>

 <form method="post" ...>


-----Original Message-----
 From: Charles Talleyrand []
Sent: Wednesday, January 17, 2001 3:15 PM
Subject: Transform get to post

Pardon my ignorance, but is there a way to transform a get request
into a post?  If so, how would I go about doing it?

Basically, I have a servlet that redirects users based on session
criteria and I'd like to POST the data to a form processor rather
than URL encode it.

Anyone's thoughts would be much appreciated.

Tell all your friends about
ZapZone Network brought to you by FortuneCity. Get
100 megabytes of free

To unsubscribe, e-mail:
For additional commands, email:

View raw message