#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Location
    USA
    Posts
    12
    Rep Power
    0

    Unhappy reopening servlets


    Hi,

    I am tryng to reopen an existing servlet
    by
    out.print("<script>");
    out.print("\n function displayWarning(){");
    out.print("if (confirm(\" You are are notified to review Claim ##1234.\")){");

    out.print("window.open(\"ReponseList\",\"tinyWindow\", 'toolbar,width=150,height=100') ");
    out.print("}");
    out.print("return \" \";");
    out.print("}");


    out.print("</script>");

    but it gives me an error

    message /examples/servlet/ReponseList
    The requested resource (/examples/servlet/ReponseList) is not available.

    This is one of the previous servlets that I am recalling and trying to reload the refreshed page.

    Any help why is this so?


    Thanks
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    78
    Rep Power
    11

    Re: reopening servlets


    Originally posted by Aleks
    message /examples/servlet/ReponseList
    The requested resource (/examples/servlet/ReponseList) is not available.

    This is one of the previous servlets that I am recalling and trying to reload the refreshed page.
    First of all I think your servlet name is typo'd, do you mean ResponseList? note the 's' after 'Re'.

    else

    My guess is that the server doesn't know what the web path "/examples/servlet/ReponseList" is.

    If you wanted to call this servlet by typing in the address into the address bar of your browser what would it be? Because that is what needs to be the web path. Make sure your servlet is aliased correctly and try to access it by typing the url in the address bar.
    Last edited by Sm00ve; July 22nd, 2003 at 12:31 PM.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Location
    USA
    Posts
    12
    Rep Power
    0
    It works. There was a problem reloading values from the session

IMN logo majestic logo threadwatch logo seochat tools logo