how to submit POST data to a JSP in iFrame

Hi,

We are accessing a JSP from the iFrame from a web collaborator product ( TIBCO PortalBuilder) .

I have an iFrame where I display the application whose startup page is a JSP. I pass the userid using get method in the iFrame URL but there is a security risk as the userid is visible in the URL. In my situation I don't have any such form that I can submit when I click on the link. I want to parameters using POST method to the JSP.

Is it possible to build a request on the client side that sends the post data to JSP without using form? Kind of manually building the request.

How does the http header look like when I send request using POST method ?

Any other suggetions/ ideas

Regards,

Sunil Parmar

http://sunilparmar.com

[783 byte] By [sunil.parmara] at [2007-11-27 5:05:39]
# 1
You may find the apache commons httpclient PostMethod useful.If it was me, I'd dropped the frames. They are a headache to develop and maintain and last, but not least, can cause bad user experience.
BalusCa at 2007-7-12 10:24:10 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...