hi all
i'm designing an index page consists of links to some of my
JSP pages and some
send to my ControllerServlet by "POST" method.The problem is how do i pass different types of hidden values to my ControllerServlet. i was trying to create a multipe forms but it wasn't working at all. to help me
here is my code
-------------------------------------------------------------
<body><form action="/control" method="POST">
<p><a href="http://localhost:8070/JSP/AddNewEmployee.jsp">Add Employee</a></p>
<p><a href="http://localhost:8070/JSP/AddNewGroup.jsp">Add Group</a></p>
<p><input type=hidden name="action" value="findAllEmployee"/><input type="submit" value="List all Employee" name="btnListallEmp"/> List All Employee</p>
</form>
<form action="/control" method=post>
<p><input type=hidden name="action" value="findAllGroup"/><input type="submit" value="List all Group" name="btnListallEmp"/> List All Group</p>
</form>
</body>
help to get better solution
thanks