星期四, 二月 12, 2004

sessions in servlets


sessions in servlets
:
if (success=true) {
try { HttpSession login=request.getSession(true);
login.getValue('username');
login.getValue('password');
getServletConfig().getServletContext().getRequestDispatcher'/jsp/query.jsp').forward(request,response);
} catch (Exception ex)
{
ex.printStackTrace ();
} } }}"