刚接触JSP,配置好了java环境变量和服务器Tomcat,我把一个简单的程序放入webapps工作目录中,并把
WEB-INF文件拷贝到此目录中
但我运行一个简单的程序:
<%@ page contentType="text/html" %>
<html>
    <head>
        <title>JSP test</title>
    </head>
    <body>
        <% out.print("hello,world"); %>
    </body>
</html>会报错:
HTTP Status 404 - /first.jsp--------------------------------------------------------------------------------type Status reportmessage /first.jspdescription The requested resource (/first.jsp) is not available.
请问是什么原因?
是不是我的设置有问题?