Obtaining servlet GET parameters

From MyWiki
Jump to: navigation, search
 public void doGet(HttpServletRequest request, HttpServletResponse response)
                                       throws ServletException, IOException
 
HttpSession sess = request.getSession(); //// Oops this is for getting values from the session !
 
// and then
 
 String  name = request.getParameter("username" );