I am doing practice on Servlet and jsp. Given below is the snapshot of my program
URL :http://localhost:8080/App02Servlet/ when I press enter it shows the following page.[find the attachement below]
When I press the Action Update it show another jsp page. In that page I have to load the previous Data in the Update Page[user.jsp] the screen shot is attached
My problem I am not getting the data which I displayed in first Jsp form so kindly rectify the problem where it is
Few things about your servlet.
1. Don't use the constructor. Repeat, don't use the servlet constructor. If you want any sort of initialization, use the init() method instead.
2. I don't get why you are adding a request attribute after a forward. What do you intent to achieve by doing that?