zno2

随笔分类 -  jsp

<%= ...%> 区别 <% ... %>
摘要:http://docs.oracle.com/javaee/5/tutorial/doc/bnajq.html https://zh.wikipedia.org/wiki/JSP Table 6-1 Standard Syntax Versus XML Syntax Syntax Elements 阅读全文

posted @ 2023-06-06 13:14 zno2 阅读(46) 评论(0) 推荐(0)

禁止jsp自动创建session
摘要:JSP 最佳实践 https://docs.oracle.com/cd/A97688_16/generic.903/bp/j2ee.htm jsp自动创建session 是getSession(true) 没有session则自动生成 禁止jsp自动创建session 通过 <%@page sess 阅读全文

posted @ 2023-06-06 13:13 zno2 阅读(32) 评论(0) 推荐(0)

javax.servlet.jsp.PageContext cannot be resolved to a type
摘要:提供jsp-api的支持即可解决该问题。 注:provided 因为tomcat等容器中有该jar包,compile 级别会导致冲突报错。 阅读全文

posted @ 2016-08-06 07:40 zno2 阅读(141) 评论(0) 推荐(0)

jstl c
摘要:例子:list中有两条数据 输出结果: 1||0||true||false 2||1||false||true 阅读全文

posted @ 2016-08-06 07:40 zno2 阅读(89) 评论(0) 推荐(0)

using JSTL
摘要:http://docs.oracle.com/javaee/5/tutorial/doc/bnake.html JSTL(JSP Standard Tag Library) 阅读全文

posted @ 2016-08-06 07:40 zno2 阅读(93) 评论(0) 推荐(0)

- Unknown tag (c:set).
摘要: 阅读全文

posted @ 2016-08-06 07:31 zno2 阅读(450) 评论(0) 推荐(0)

easyUI form sumit 中文乱码
摘要:jsp 编码方式: tomcat 编码方式: 原因: 编码不一致导致。 依据: This specifies the character encoding used to decode the URI bytes, after %xx decoding the URL. If not specifi 阅读全文

posted @ 2016-08-06 07:29 zno2 阅读(452) 评论(0) 推荐(0)

jsp 是什么 ,jsp 隐式对象
摘要:google 搜索 java server page http://www.oracle.com/technetwork/java/javaee/jsp/index.html http://docs.oracle.com/javaee/5/tutorial/doc/bnagx.html 5. Jav 阅读全文

posted @ 2016-08-05 18:26 zno2 阅读(181) 评论(0) 推荐(0)

form action 相对路径出问题
摘要:http://www.w3chtml.com/html5/tag/base.html <base> 标签为页面上的所有链接规定默认地址或默认目标。 通常情况下,浏览器会从当前文档的 URL 中提取相应的元素来填写相对 URL 中的空白。 什么意思呢,就是文件目录结构影响url 使用 <base> 标 阅读全文

posted @ 2016-08-05 18:17 zno2 阅读(182) 评论(0) 推荐(0)

导航