- This topic has 5 replies, 2 voices, and was last updated 20 years, 10 months ago by sabitha.
-
AuthorPosts
-
sabithaMemberSub: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. withdescription 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 heirarchyPlease tell me the solutions to above answers
thanks in advance
sabi
Riyad KallaMemberSabi,
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.
sabithaMemberThank 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
Riyad KallaMemberI’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?
sabithaMemberYes 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
sabithaMemberHi Riyad,
Sorry , Now I am getting the Package Explorer ,I can add it from show view menu.bye
sabi -
AuthorPosts