Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JSP setup

Status
Not open for further replies.

Kendel

Programmer
Apr 24, 2002
1,512
US
Hi All,

I'm trying to to setup a JSP app but it won't work. I downloaded Tomcat & extracted it in my C\Program Files
Under C:\Program Files\apache-tomcat-5.5.12\server\webapps, I created a folder name TEST and put all the files here. Something like this:

apache-tomcat-5.5.12
conf
server
webapps
TEST
example1.jsp
WEB-INF
classes
lib

but I got "page not found" error.

Can someome please tell me what I am missing here? Thanks.
 
Your webapp "TEST" should be placed under TOMCAT_HOME, not TOMCAT_HOME/server .

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
I moved that folder to Tomcat_Home and still won't work. What else do I need to install and where to install? Thanks for your help.
 
Copy the ROOT webapp, rename it to "TEST" or whatever, and try again.

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Hi,

Does the TEST have web.xml under WEB-INF? But try what sedj has mentioned, rename the ROOT dir to TEST under C:\Program Files\apache-tomcat-5.5.12\webapps and give it a try.


Cheers
Venu
 
>> "Your webapp "TEST" should be placed under TOMCAT_HOME, not TOMCAT_HOME/server"

shouldn't that be TOMCAT_HOME/webapps? that's the way i have all of mine working.


-jeff
try { succeed(); } catch(E) { tryAgain(); } finally { rtfm(); }
i like your sleeves...they're real big
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top