FileDocCategorySizeDatePackage
LocaleSessionServlet.javaAPI DocExample435Sun Jan 07 17:19:34 GMT 2001None

LocaleSessionServlet

public class LocaleSessionServlet extends HttpServlet

Fields Summary
Constructors Summary
Methods Summary
public voiddoGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)


    HttpSession userSession = request.getSession();
    if (userSession.isNew()) {
      userSession.setAttribute("userLocale", request.getLocale());
    }