Solved

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

Posted on 2002-05-14
2
416 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Display the newly inserted values 3 76
spring AOP 6 87
parse example 13 94
withoutString  challenge 40 198
This tutorial shows how to create a greeting card by combining two image layers and a text layer on a PC using a free image editing app.
The question appears often enough, how do I transfer my data from my old server to the new server while preserving file shares, share permissions, and NTFS permisions.  Here are my tips for handling such a transfer.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

809 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