Results 1 to 6 of 6
- 05-05-2012, 05:34 PM #1
Member
- Join Date
- May 2012
- Posts
- 4
- Rep Power
- 0
send a form to servlet with a link
Hi this is my first time on this forum and i would be gratefull if someone could help me
I got a form on my jsp page and i want to send the filled in values in the input fields (textboxes, dropdowns) to be send to my servlet to update a database
i want to send all the info with a link
i know how to send a parameter with a link but i dont know how to put all the form values in the link
preffered no answers about javascript or php as it is for a school project we got to makeLast edited by Gunther34567; 05-05-2012 at 11:47 PM.
- 05-08-2012, 11:50 AM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,438
- Rep Power
- 16
Re: send a form to servlet with a link
If it's a form then why not simply submit the form?
Please do not ask for code as refusal often offends.
- 05-08-2012, 07:27 PM #3
Member
- Join Date
- May 2012
- Posts
- 4
- Rep Power
- 0
Re: send a form to servlet with a link
because i want the user to click an image to submit the form instead of a button, and i dont know if its possible to put an image on the button
- 05-09-2012, 09:52 AM #4
Moderator
- Join Date
- Apr 2009
- Posts
- 10,438
- Rep Power
- 16
Re: send a form to servlet with a link
There's an 'image' type for <input> which should do the job.
I've never used it, only used <a><img/></a> myself, but that needs some Javascript.
Check w3schools.Please do not ask for code as refusal often offends.
- 05-09-2012, 10:48 AM #5
Member
- Join Date
- May 2012
- Posts
- 4
- Rep Power
- 0
Re: send a form to servlet with a link
thanks i didn't know that
- 05-31-2012, 09:17 AM #6
Member
- Join Date
- Mar 2012
- Posts
- 41
- Rep Power
- 0
Similar Threads
-
how to send a link through action class in struts
By Kadiyala in forum New To JavaReplies: 0Last Post: 02-17-2011, 07:44 AM -
how to link first form to second form?
By i4ba1 in forum SWT / JFaceReplies: 1Last Post: 11-25-2009, 05:47 AM -
use Servlet submit the form to receive a form for the Chinese but it shows the garble
By dmt198704 in forum Java ServletReplies: 0Last Post: 10-31-2009, 09:24 AM -
how can i link html+servlet+xml to form servlet
By balachandarr in forum Java ServletReplies: 0Last Post: 04-15-2009, 04:06 PM -
Jtree link to JFrame Form
By daniel50096230 in forum NetBeansReplies: 4Last Post: 09-16-2008, 06:53 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks