Can you pass a bean per post to the servlet?

1

I've searched for information about it but nobody says, you can or can not: (.

I have a bean (with getter and setter methods) and I would like to send it by parameter to the servlet in a form in the following way:

<form action="Servlet" method="post">
    <input type="hidden" value="${bean}">
    <input type="submit" value="Enviar"> 
</form>

Can this be done? If you can ... How do I receive it in the servlet?

I hope you can help me.

    
asked by brujita 01.10.2018 в 19:05
source

0 answers