当前页面: 开发资料首页 → JSP 专题 → 图解利用Eclipse3+Lomboz3+Tomcat开发JSP --3.一个JSTL实例
摘要: 图解利用Eclipse3+Lomboz3+Tomcat开发JSP --3.一个JSTL实例
注意
</td></tr> <tr> <td vAlign=top width="100%" bgColor=white>WEB-INF/web.xml
</td></tr> <tr> <td style="BORDER-TOP-STYLE: none; BORDER-TOP-COLOR: rgb(236,233,216)" vAlign=top width="100%" bgColor=#edf2b8><?xml version="1.0" encoding="ISO-8859-1"?>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd"
version="2.4">
index.jsp
</td></tr></table> <table style="BORDER-LEFT-COLOR: rgb(204,204,204); BORDER-BOTTOM-COLOR: rgb(204,204,204); BORDER-TOP-COLOR: rgb(204,204,204); BORDER-RIGHT-COLOR: rgb(204,204,204)" cellSpacing=0 borderColorDark=white width="90%" borderColorLight=black border=1> <tr> <td vAlign=top width="100%" bgColor=#cdcdcd>
404
/error.jsp
注意
</td></tr> <tr> <td vAlign=top width="100%" bgColor=white>demoWeb2/index.jsp
</td></tr> <tr> <td style="BORDER-TOP-STYLE: none; BORDER-TOP-COLOR: rgb(236,233,216)" vAlign=top width="100%" bgColor=#edf2b8>
<%-- 这是利用JSP的scriptlet 打印1到10 --%>
利用JSP的scriptlet 打印1到10
<% for(int i=1;i<=10;i++) {%>
<%=i%>
<% } %>
</body>
</td></tr>