1

How transmit parameters from href by not method GET? I use spring. maybe spring tools can to help me? by method get:

<a href="saveCandidate?id=${candidate.id}">${candidate.name}</a>

candidate.id transmit by get method

How transmit candidate.id by Post(for example method)?

gstackoverflow
  • 36,709
  • 117
  • 359
  • 710

1 Answers1

1

No,By default href hits get method,There is no way to specify a method.

Try some html form to specify Method's or move your logic to GET.

If you can use client script (javascript),There is possibility do it with.

Suresh Atta
  • 120,458
  • 37
  • 198
  • 307