Re: RE: Transform get to post

2001-01-18 Thread Jeffry Guttadauro

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?





[EMAIL PROTECTED] on 01/17/2001 05:42:05 PM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
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" [EMAIL PROTECTED]
Sent: Wed, 17 Jan 2001 15:19:47 -0800
To: [EMAIL PROTECTED]
Subject: RE: Transform get to post


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

 form method="get" ...

to
 form method="post" ...

?

-Original Message-
 From: Charles Talleyrand [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 3:15 PM
To: [EMAIL PROTECTED]
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 wowwowmail.zzn.com

ZapZone Network brought to you by FortuneCity. http://www.fortunecity.com Get
100 megabytes of free

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Transform get to post

2001-01-17 Thread Tim Gilbert

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

form method="get" ...

to
form method="post" ...

?

-Original Message-
From: Charles Talleyrand [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 3:15 PM
To: [EMAIL PROTECTED]
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 wowwowmail.zzn.com

ZapZone Network brought to you by FortuneCity. http://www.fortunecity.com
Get 100 megabytes of free

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Transform get to post

2001-01-17 Thread CPC Livelink Admin


Well, this seems kinda silly, but you could build a response page with an
HTML FORM which uses POST, and has all the values set the way you want, then
use JavaScript to execute the Submit event on the form. Like This

FORM NAME="FOO" METHOD=POST ACTION="somewhere.jsp" 

!-- Your elements --

/FORM

SCRIPT LANGUAGE="JavaScript1.2"
!--
window.document.FOO.submit();
--
/SCRIPT

-Original Message-
From: Charles Talleyrand [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 6:14 PM
To: [EMAIL PROTECTED]
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 wowwowmail.zzn.com

ZapZone Network brought to you by FortuneCity. http://www.fortunecity.com
Get 100 megabytes of free

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: RE: Transform get to post

2001-01-17 Thread Charles Talleyrand

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" [EMAIL PROTECTED]
Sent: Wed, 17 Jan 2001 15:19:47 -0800
To: [EMAIL PROTECTED]
Subject: RE: Transform get to post


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

form method="get" ...

to
form method="post" ...

?

-Original Message-
 From: Charles Talleyrand [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 3:15 PM
To: [EMAIL PROTECTED]
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 wowwowmail.zzn.com

ZapZone Network brought to you by FortuneCity. http://www.fortunecity.com Get 100 
megabytes of free

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: RE: Transform get to post

2001-01-17 Thread Charles Talleyrand

Effendi, 
It may be silly but it works just dandy.  Thank you a thousand-fold!

 Begin Original Message 

From: "CPC Livelink Admin" [EMAIL PROTECTED]
Sent: Wed, 17 Jan 2001 18:27:52 -0500
To: [EMAIL PROTECTED]
Subject: RE: Transform get to post

Well, this seems kinda silly, but you could build a response page 
with an HTML FORM which uses POST, and has all the values set the way 
you want, then use JavaScript to execute the Submit event on the 
form. Like This

FORM NAME="FOO" METHOD=POST ACTION="somewhere.jsp" 

!-- Your elements --

/FORM

SCRIPT LANGUAGE="JavaScript1.2"
!--
window.document.FOO.submit();
--
/SCRIPT


Tell all your friends about wowwowmail.zzn.com

ZapZone Network brought to you by FortuneCity. http://www.fortunecity.com Get 100 
megabytes of free

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]