Solved

Basic question: Apache Tomcat/4.0.3 - HTTP Status 404 - /aa.jsp

Posted on 2002-05-14
2
418 Views
Last Modified: 2008-03-10
I'm new in JSP, this is a 'very simple' question:

I create a folder in webapps directory and put some JSP files into it, then i cannot browse the:

http://localhost:8080/myfolder/aa.jsp ??

Why? The funny this is i can browse the example pages provided it JSP folder. Why the above is not working even i add some JSP pages in some directory as the example folder?

JDK = 1.3.1
Tomcat 4.0.3
Using Dreamweaver Ultra Dev 4.0

Thanks you.

# This question will be reply in 2 days time as i'm outstation, thank you.
0
Comment
Question by:ikan
2 Comments
 
LVL 6

Accepted Solution

by:
kotan earned 50 total points
ID: 7008048
Did you restart your tomcat server after add those files?

Did you add servlet context for "myfolder" in server.xml?
Eg,

<Context path="/myfolder"
    docBase="webapps/myfolder"
    debug="0"
    reloadable="true">
</Context>

What error you got when browse that file?

0
 

Author Comment

by:ikan
ID: 7023367
Thanks, that is what i'm exactly wanted. Actually i have solved this problem myself recently after reading some article in JSP book. Anyway, you deserves the points.

Thanks again
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
Many businesses neglect disaster recovery and treat it as an after-thought. I can tell you first hand that data will be lost, hard drives die, servers will be hacked, and careless (or malicious) employees can ruin your data.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

827 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question