jsp一些使用技巧
2017-06-18 13:13 小诩 阅读(203) 评论(0) 编辑 收藏 举报1、web.xml中配置error页面
一、<error-page> <error-code>500</error-code> <location>500.jsp</location> </error-page> 二、<error-page> <exception-type>java.lang.xxxException</exception-type> <location>500.jsp</location> </error-page>
2、11个内置对象
pageScope、requestScope、sessionScope、applicationScope、param、paramValues、header、headerValues、pageContext、cookie、initParam
3、{empty javabean}判断nul、""、list.size()==0,都为true