JSP Forwarding in Mobile dosn't work -
I have created an application in two versions for personal and mobile browsers.
Simply, the customer login at page login.jsp was registered in the authorization Unfortunately, forwarding in the first and second versions did not work in 100%. After the good authorization, the customer sees the contents of the page dane.jsp but he still has the page changed to the auto.jsp. For personal browsers, I changed the method from Will SB save me? You can check user-agent type and if the gypsum page is served on the server before. Yes ... can loop and redirect. Plus check it for more info. servlet.jsp . If the authorization was correct, then the customer was running on page dane.jsp, otherwise he was going to page login.
request.getRequestDispatcher ("dane.jsp"). Forward (request, response); to
response.sendRedirect ("dane.jsp"); and it worked, but I have no idea for the mobile version.
Comments
Post a Comment