Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 06-22-2006, 12:27 AM   #1
LQ Newbie
Registered: May 2006
Location: Pune, India
Distribution: Slackware 10.2
Posts: 15

Rep: Reputation: 0
404 error using JSP on tomcat

I`m using Tomcat 5.5.15 on Slackware 10.2
My HTML files run fine on tomcat but while accessing JSP it gives error 404 : The requested resource (/Simple.jsp) is not available.
The JSP examples given with tomcat are also running fine.

Both, my html and jsp files are in the same directory /opt/java-app-server/webapps/username
I set JAVA_HOME to my jdk 1.5.0 in my home directory (I set it each time before i start tomcat).

Do i need to set any other variables or edit any config file ?

Last edited by jayn16; 06-22-2006 at 12:28 AM.
Old 06-23-2006, 12:39 PM   #2
Registered: Oct 2004
Location: Pennsylvania, USA
Distribution: Debian
Posts: 85

Rep: Reputation: 23
I'm used to working with Tomcat 5.0.28 on Windows, so I can't tell you the right paths to check.

Tomcat prints errors and occasional status messages to the log files. You might be able to check those for information.

Other than that, the page mappings are handled by application XML files. Did you put any mappings for the jsp file in place?
Old 06-25-2006, 01:07 PM   #3
LQ Newbie
Registered: May 2006
Location: Pune, India
Distribution: Slackware 10.2
Posts: 15

Original Poster
Rep: Reputation: 0
I`m extremely sorry, i forgot its case sensitive.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat Status 404 issue FirmbIT Linux - Software 18 04-22-2006 10:30 AM
tomcat jsp examples 404 treycarroll Linux - Software 1 04-21-2006 07:57 PM
Tomcat : unable to access the jsp pages minil Programming 11 01-28-2006 09:19 AM
Is tomcat the only choice in order to surport JSP? ICO Programming 3 03-07-2004 11:59 PM
Basic JSP/Tomcat question. CodeWarrior Programming 1 07-06-2003 09:15 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration