first.jsp
<html>
<body bgcolor="white">
<%
String Msg="Welcome to Abner's JSP world!";
out.print("Hello World!");
%>
<h2><%=Msg%></h2>
</body>
</html>
但是打开http://localhost:8080/myjsp/first.jsp时候,显示:
--------------------------------------------------------------------------------type Status reportmessage /myjsp/first.jspdescription The requested resource (/myjsp/first.jsp) is not available.
--------------------------------------------------------------------------------
<html>
<body bgcolor="white">
<%
String Msg="Welcome to Abner's JSP world!";
out.print("Hello World!");
%>
<h2><%=Msg%></h2>
</body>
</html>
但是打开http://localhost:8080/myjsp/first.jsp时候,显示:
--------------------------------------------------------------------------------type Status reportmessage /myjsp/first.jspdescription The requested resource (/myjsp/first.jsp) is not available.
--------------------------------------------------------------------------------
说的对!!