facebook

Getting some internal error HTTP 404 – /sai.jsp [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #202299 Reply

    sabitha
    Member

    Sub:I am getting some error while running the JSP program.

    I am trying to do one Jsp program named sai.jsp with sairam as project name.

    Before deploying the program i am getting the following error message.

    /Eclipse/eclipse-sdk-2.1.2-win32/eclipse/workspace/sairam/sai.jsp) not in base path (c:/Eclipse/eclipse-sdk-2.1.2win32/eclipse/workspace/sairam/WebRoot/)

    Actually I am new to Eclipse.So I am not understanding the reason for the above error.

    Even though this error came, i deployed the JSp code and I run that program.
    There I am getting the HTTP Status 404-/sai.jsp error. with

    description The requested resource (/sai.jsp) is not available.

    So i am not understanding the above error.

    Please tell me the solution to erase the error in my program and to run it sucessfully.So that I can do as many programs as I can without this problem

    I am not getting the hierarchy menu when i am in MyEclipse prsepective.
    What I can I do to get that heirarchy

    Please tell me the solutions to above answers

    thanks in advance
    sabi

    #202309 Reply

    Riyad Kalla
    Member

    Sabi,
    the short answer is: “move the sai.jsp page into your /sairam/WebRoot directory”

    The long answer is: The “webroot” directory is special, it tells MyEclipse AND Tomcat where your application starts (because structure is very important to web applications). So in your case above, you have a JSP file (so far so good) but you put it into a directory that neither MyEclipse or Tomcat understand as a webroot… so they are more or less confused.

    #202368 Reply

    sabitha
    Member

    Thank u Riyad,

    I moved my sai.jsp tp WebRoot directory.So now i can able to run the program sucessfully.

    But I am not getting the heirarchy when I am in My Eclipse perspective , so every time when I want to see the heirarchy i am jumping to java perspective , there I am moving the files and then i am coming to My Eclipse pespective.Is there any solution to this problem.

    Thanks for ur quick sugesstions.
    bye
    sabi

    #202369 Reply

    Riyad Kalla
    Member

    I’m not clear on what you are asking… do you mean the class hierarchy (the package view?). Can you exaplin what you are seeing in the MyEclipse perspective, or what you are NOT seeing that you wish you were?

    #202370 Reply

    sabitha
    Member

    Yes Riyad,
    I am asking about the package view.I mean the the package explorer,where I can view all the root files and sub files .

    I am getting that view in java perspective and PlugIn perspective, but I am not getting that in My Eclipse perspective.

    thanks
    bye
    sabi

    #202373 Reply

    sabitha
    Member

    Hi Riyad,
    Sorry , Now I am getting the Package Explorer ,I can add it from show view menu.

    bye
    sabi

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Getting some internal error HTTP 404 – /sai.jsp [Closed]

You must be logged in to post in the forum log in