File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "open browser and POST method" Watch "open browser and POST method" New topic
Author

open browser and POST method

vibeeshan kambli
Ranch Hand

Joined: Jan 22, 2003
Posts: 41
Hi,
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
Sheriff

Joined: Oct 27, 2005
Posts: 19783
    
  20

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: open browser and POST method