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`d like to seed it *** hotmail does:
I must say somenthing, to forward pages, we use one of to methods:
RequestDispatcher rd = servlet.getServletContext().getRequestDispatcher(nextURL);
//I must codify the nextUrl
HttpServletResponse res ...........
res.sendRedirect(nextURL); //I must codify the nextUrl
Thanks so much
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.
Look for HttpSession.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL