Why is JSP page not found by Tomcat (404 Error)?
Hi,
I'm new to JSP. I created a very simple jsp file, the source code is:
<html>
<head></head>
<body>
<h3>Hello ${param.userName}</h3>
</body>
</html>
I'm using Tomcat 5.0.25, and I created a new folder called "test" under "webapps", then I put the jsp file in the "test" folder. When I tried to open the URL of the jsp file (http://localhost:8080/test/Hello.jsp?userName=xxx), I got 404 Error saying "The requested resource (/test/Hello.jsp) is not available.
Then I put this jsp file into another folder that already exists under "webapps", then it worked. I also restarted Tomcat, but as long as I put the jsp file in the newly created "test" folder, I always got the 404 Error. Anyone can help me? Thanks!

