Results 1 to 1 of 1
  1. #1
    zcm
    zcm is offline Member
    Join Date
    Apr 2014
    Posts
    1
    Rep Power
    0

    Question JSP Forwarding in Mobile dosn't work

    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 log.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.

    Link to my code of authorization : http://pastebin.com/EWaZydXW


    PLZ, PLZ SAVE ME
    Last edited by zcm; 04-22-2014 at 10:39 PM.

Similar Threads

  1. Replies: 0
    Last Post: 01-31-2014, 08:01 PM
  2. Replies: 1
    Last Post: 10-21-2013, 08:29 AM
  3. forwarding to a servlett
    By dilanka007 in forum New To Java
    Replies: 2
    Last Post: 01-17-2010, 01:23 PM
  4. Replies: 1
    Last Post: 08-07-2009, 01:14 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •