This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Cab you Post using a link ? dont want to use Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Cab you Post using a link ? dont want to use "get"" Watch "Cab you Post using a link ? dont want to use "get"" New topic
Author

Cab you Post using a link ? dont want to use "get"

Joe Brigs
Ranch Hand

Joined: Jun 06, 2011
Posts: 60

I'm new to JSP/JAVA etc. I'm using a link to submit a form and the books I've read say you cant use a "POST" , but I know theres a lot of smart people out there. If theres a way can you supply an example

Thanks very nuch
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60074
    
  65

Joe Brigs wrote:I'm using a link to submit a form ...


That greatly depends upon how you are using the link to submit the form. By default, links won't cause forms to submit.

You can cause the form to submit using script, and then it will use the HTTP method specified for the form.
 
 
subject: Cab you Post using a link ? dont want to use "get"
 
Similar Threads
best java server
jquery $.post doubt
ejb-link
Out of town
JDBC: Implementation of javax.sql.DataSource in Connect/J ?