Solved

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

Posted on 2002-05-14
2
405 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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifi…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now