Solved

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

Posted on 2002-05-14
2
424 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
In this blog we highlight approaches to managed security as a service.  We also look into ConnectWise’s value in aiding MSPs’ security management and indicate why critical alerting is a necessary integration.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

695 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