I have created application in two versions. For personal and mobile browsers.
Simply, client logins on page login.jsp. Then authorization took place in the servlet.java( auto.jsp). IF authorization was correct, the client were moving on page dane.jsp, otherwise were moving him on page login.jsp.
Unfortunately, forwarding in first and second version, dosen't work in 100%.
After good authorization, client see content of page dane.jsp but he still was on page auto.jsp. For personal browser I have changed method from request.getRequestDispatcher("dane.jsp").forward (request, response); to response.sendRedirect("dane.jsp"); and it worked. But I don't have idea for mobile edition.
will sb save me?