Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
Cloud Application Architecture Patterns: Designing, Building, and Modernizing for the Cloud
this week in the
Cloud/Virtualization
forum!
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Paul Clapham
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Saloon Keepers:
Tim Holloway
Carey Brown
Roland Mueller
Piet Souris
Bartenders:
Forum:
Java in General
Open web page in Browser from console app and submit POST parameters
Imre Tokai
Ranch Hand
Posts: 130
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hello,
How to submit POST parameters and open URL in browser?
For trivial URL, i use
URI uri = new URI( handOffUrl ); Desktop.getDesktop().browse(uri);
and works properly
How to submit params as in .jsp page?
<form method="post" action="urlForPageThatNeedsInputParams"> <input type="hidden" name="name" value="somevalue" /> Card Number: <input name="cardNo" /> <br> Card Verification Number: <input name="cardCVN" /><br> <input type="submit" value="Make Payment"> </form>
Regards
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
form data
Question regarding jsp:include
how to add data in request object and pass it to next page?
liferay portlet - form parameters missing from request
Display XML/HTML file in TextArea in Web page
More...