?
Solved

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

Posted on 2002-05-14
2
Medium Priority
?
436 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 200 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
We are witnesses that everyone is saying that our children shouldn't "play" with a technology because it is dangerous. This article is going to prove that they are wrong.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

777 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