File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes open browser and POST method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "open browser and POST method" Watch "open browser and POST method" New topic

open browser and POST method

vibeeshan kambli
Ranch Hand

Joined: Jan 22, 2003
Posts: 41
I have swing application, When user clicks a menu item, I would like
to open the browser and post some data using post method.
User needs to see the web page in IE.
Is there any mechnaism to do this one? I understand that we can easily do
this using query string, but I am intrested only using post method because
my data contain sensitive information
Rob Spoor

Joined: Oct 27, 2005
Posts: 19908

As far as I know, you can't. Just like you can't send POST data to a URL when directly opening that URL in any browser.

How To Ask Questions How To Answer Questions
I agree. Here's the link:
subject: open browser and POST method