New web page isn't working in /tomcat/webapps directory in Linux

kmthien

Senior member
Oct 8, 2002
363
0
0
Hi guys,

I have install jakarta-tomcat-4.1.18 in Redhat 7.3 and able to connect to http://localhost:8080, where it shows the default page. When I created a new directory (sitepoint) under /usr/local/jakarta-tomcat-4.1.18/webapps. I followed the guide in this website Sitepoint.
When I entered http://localhost:8080/sitepoint/count.jsp, it returned HTTP 404 not found. Pls help !!!

kmthien


- Idea will always be idea, unless you take action !!
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
You already had a thread... I mentioned use "ls", and that's what you need to do, figuratively or literally. No one here can see where files are at on your computer for you, look around.
 

kmthien

Senior member
Oct 8, 2002
363
0
0
Sorry, I don't really understand why u asked me to use "ls" ? My problem here is that the browser unable to connect to the new website. HTTP 404 not found. FYI, I am using a standalone Redhat Linux 7.3 server !!
 

Buddha Bart

Diamond Member
Oct 11, 1999
3,064
0
0
These guys wrote a sloppy article, for instance on page 5 at the top they say
Save the file as theEnd.html in a new subdirectory of Tomcat's webapps directory called sitepoint.
But then later in the page they say
Save this as count.jsp in your new jsp directory alongside theEnd.html.

That doest make any sense. If its "alongside" theEnd.html, its not in your new "jsp" directory.

Tomcat is a god awful sh!t-nest of pointers, aliases, and redirection. Its extremely easy to get lost in it.

I'd reccomend signing up for their forum and clicking the "discuss this article" length. I bet somebody else corrected it.

bart
 

kmthien

Senior member
Oct 8, 2002
363
0
0
Yes....that guy got to go to attend english course. That's why I was chaotic and I=don't really understand what is he talking about !
 

manly

Lifer
Jan 25, 2000
13,315
4,088
136