My idea is to put a link in every message of a forum to delete the message if the author wants to delete it, and pass the necessary parameters to work in the doPost method of the servlet to delete the message.

```
<form id="frm-delete" action="Forum" method="POST">
    <input type="hidden" name="idMsg" value="${m.idMissatge}">
    <input type="hidden" name="action" value="delete">
</form>

```

How can I do to send the info only clicking on a link using it like a submit button?

Any ideas?

Thank you in advance.