This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
<%@ page language="java" %> <%@ page import="EmpBean" %> <jsp:useBean id="user" class="EmpBean" scope="session"> <jsp:setProperty name="user" property="*"/> </jsp:useBean> <html> <body> <form method=post action=/abacus/servlet/SampleServlet> <input type="text" name="empcode"><br> <input type="text" name="empname"><br> <input type="submit" value="submit"> </form> </body> </html> I have the above jsp page which is submitted to the SampleServlet. How to pass the bean object "user" which is set in the Jsp to the servlet?