mercredi 3 août 2016

Is it possible to assign a html form the value of a java String?

Is it possible to do something like this:

<form action="foo" method="get">
   <input type="hidden" name="ID" value="<% classInstance.getID(); %>">
</form>

? Each time I try, the receiving Servlet does not display the Id of the classInstance.
How can I make this work?

Aucun commentaire:

Enregistrer un commentaire