File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Hyper Link Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Hyper Link" Watch "Hyper Link" New topic

Hyper Link


Joined: Mar 22, 2002
Posts: 4
The question is that how we can force a hyperlink to submit a form in servlets?
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

<a href="javascript:document.formName.submit()">LINK</a>
[ July 14, 2002: Message edited by: Rene Larsen ]

Regards, Rene Larsen
Dropbox Invite
Jessica Sant

Joined: Oct 17, 2001
Posts: 4313

Welcome to the JavaRanch! Please adjust your displayed name to match the JavaRanch Naming Policy.
You can change it here.
Thanks! and again welcome to the JavaRanch!

- Jess
Blog:KnitClimbJava | Twitter: jsant | Ravelry: wingedsheep
I agree. Here's the link:
subject: Hyper Link
It's not a secret anymore!