生手写js又出错了-
新手写js又出错了- -HTML code%@ page contentTypetext/html charsetANSI languagejava%html
新手写js又出错了- -
HTML code<%@ page contentType="text/html" charset="ANSI" language="java" %><html><head></head><body>welcome</body></html>
在浏览器查看显示源码
<html>
<head>
</head>
<body>
welcome
</body>
</html>
在浏览器查看显示“welcome”
这个是为什么呢?
[解决办法]你的第一段代码 要用tomcat服务器才能显示出来你的页面应该显示的东西,jsp是动态语言 html是静态语言