phoenix13

导航

 

2013年4月25日

摘要: 0. 安装安装JDK和Tomcat。写在tomcat的安装路径的webapps目录下。例如创建一个叫firstapp的子目录,然后创建hello.jsp,然后通过以下地址访问。http://localhost:8080/firstapp/hello.jsp1. JSP 6类元素①注释元素html注释<!-- xxxxxxxxxxxxxxxxxxx -- >隐藏注释(在jsp文件中,不发送到客户端)<%-- xxxxxxxxxx --%>scriptlets注释(同java注释)②模板元素(jsp中静态html或xml内容)③脚本元素(java代码)包括1)声明<% 阅读全文
posted @ 2013-04-25 20:43 phoenix13 阅读(224) 评论(0) 推荐(0) 编辑