One ugly, yet functional way that I've seen this handled is to return a
small html page containing a form with all hidden fields and an onLoad event
handler on the body tag that submits the form.  Basically, it requests that
the user's browser do the work for you.  Your only alternative is to get a
copy of the HTTP 1.1 RFC and wind your way through essentially implementing
a browser within your servlet.
  (*Chris*)

----- Original Message -----
From: "Gayathri Palicherla" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 20, 2002 11:54 AM
Subject: [SERVLET-INTEREST] Http-post in Servlet


> Folks,
>
>      Can you please help me in How to do Http-post from Servlet to
html(fcc) page, I need this with Netegrity Siteminder which accepts only
http-post requests not get or any other while posting to fcc (forms
credential collecter which is netegrity specific one)
>
> I'm trying to achieve this using URL and HttpURLConnection classes in
Java, HttpURLConnection has setRequestMethod(String) method where we can set
to POST, but in proxy and firewall environment these classes are functioning
differently and giving me IOException, InterruptedException ...etc.
>
> Do you have any Ideas to over come proxy, firewalls? any thoughts or
suggestions on this?
>
> I appreciate your help,
> Gayathri.
>
>
___________________________________________________________________________
> 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