1. 模板元素<>(标准化越来越近了):namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
a. 指静态的html/xml(标准化越来越近了)内容
2. 注释
n html注释:在客户端显示注释 <!--comment[<%=expression%>]-->
n 隐藏注释:写在(sun企业级应用的首选)程序中,但不发给客户 <%--commnet--%>
3. 脚本元素
a. 声明(declaration)
n 声明就是在jsp(sun企业级应用的首选)程序中声明合法变量和方法
eg.1-1
<%!string getdate()
{
return new java.util.date().tolocalestring();
}
int count=10;
%>
如对本文有疑问, 点击进行留言回复!!
jspSmartUpload上传下载全攻略 (四、文件下载篇 )
网友评论