Hi dudes, I've got a new question and I think you`ll get me near to a solution.
The fact is tha I`ve got my aplicattion running on a servlet, and when the client cliks or whatever, I see on the navigation bar, the address of the servlet, and the operation that the client run on the servlet.
I need to codify (?) the result of that operation. But it gots worse, when I check for his identity and password
because I got something like this on the navbigation bar:
I must say somenthing, to forward pages, we use one of to methods:
RequestDispatcher rd = servlet.getServletContext().getRequestDispatcher(nextURL);
//I must codify the nextUrl
rd.forward(req, res);
OR:
HttpServletResponse res ...........
....
...
...
res.sendRedirect(nextURL); //I must codify the nextUrl
Thanks so much
04-19-2003, 03:20 AM
sharbov
Use HttpSession
Instead of passing the used id / password on every request, just pass it on the login. In the login procedure put the user id / password in the web session.
You can get it from every request made within this session. One more "free" feture that you get is that the session expires after predefined period.