当前页面: 开发资料首页 → JSP 专题 → Jsp学习笔记(三)-----Jsp语法!
Jsp学习笔记(三)-----Jsp语法!
摘要: Jsp学习笔记(三)-----Jsp语法!
1
<head>
HelloWorld Example
</head>
<body>
--------------
<%
String Msg="This is a Jsp Test";
out.print("Hello World");
%>//Java模块 申明Msg为字符串变量
--------------
<%=Msg%>
//输出变量
</body>
2 在客户端的源代码中显示注释:
</body>