This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 19651
    
  18

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: open browser and POST method
 
Similar Threads
Replace page after posting a form
RPC SOAP Client in Javascript
Roles of a user
Query about Request Forwarding
display a "save as" dialog