31 users online (0 members and 31 guests)  


  Results 1 to 3 of 3

Related

  1. Replies: 0
  2. Replies: 1
  3. Redirect after animation    Forum: Javascript Forum
    Replies: 0
  4. js redirect    Forum: Javascript Forum
    Replies: 2
  5. Replies: 5
  1. #1
    anilsubash's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2007
    Posts
    5

    redirect to the same page if the user wishes to

    Hello all,

    Heres my problem..
    I need to redirect a user to one of the error pages if they dont have a required plugin.. and in the error page if the user wishes to continue anyway without the plugin, i need to redirect him to the original page..

    I added a javascript condition in the main page to redirect him to the error page when the condition is failed.. but not sure how to get him to the main page if he chooses to..

    If i add a redirect that would evaluate the javascript again and get him to the error page again..


    Please help..

    thanks

  2. #2
    anilsubash's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2007
    Posts
    5

    Re: redirect to the same page if the user wishes to

    I solved the problem using some flags appended to the url..

    I have a new problem though.. I have an error message in MessageResources.properties which I want to display in the error page..

    I am not sure how to get the message from the MessageResources.properties file and display it in a JSP.

    If anyone could help me that would be great..

    Thx

  3. #3
    anilsubash's Avatar
    New User

    Status
    Offline
    Join Date
    Nov 2007
    Posts
    5

    Re: redirect to the same page if the user wishes to

    solved... it..

    thx for looking



Tags for this Thread