sync
[Bookkeeping.git] / src / SampleServlet.java
blobd5ebd7b27d978d30b42dcd041a26ce2ba551a25e
2 import javax.servlet.http.HttpServlet;
3 import javax.servlet.http.HttpServletRequest;
5 public class SampleServlet extends HttpServlet
7 public void saveToSession(HttpServletRequest request)
9 String testparam = request.getParameter("testparam");
10 request.getSession().setAttribute("testAttribute", testparam);