String username = request.getParameter("username");
if ( username != null && username.length() > 0 ) {
RequestDispatcher dispatcher =
getServletContext().getRequestDispatcher("/response");
if (dispatcher != null)
dispatcher.include(request, response);
I have done this in the first servlet i have to pass the name to another servlet and check it there
donno how to get it in that servlet?