| Author |
href and submit differences
|
Steve Dyke
Ranch Hand
Joined: Nov 16, 2004
Posts: 1254
|
|
|
I have tried to use the href to open a servlet from a JSP. I could not get the servlet to recognize the form attributes. Is the only way to get them to be read is use the submit button for the form?
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
Get verus Post Eric
|
 |
Herman Schelti
Ranch Hand
Joined: Jul 17, 2006
Posts: 387
|
|
hi Steve, Your servlet can also add parameters and their values to the url: http://myserver/myapplication?parameter1=OK Your servlet then can read the parameter: request.getParameter("parameter1") Herman [ May 21, 2007: Message edited by: Herman Scheltinga ]
|
 |
 |
|
|
subject: href and submit differences
|
|
|