
编程语言
yunpyy
这个作者很懒,什么都没留下…
展开
-
ssh(struts2.3.8+spring3.2+heibernate4.1+annotation零配置
公司一直不是ssh零配置的框架,每次写action都要在applicationcontext和struts里面配置,好麻烦,最近有空,写了一个ssh零配置的框架这里写了一个小的项目,以用户权限管理为例先做准备工作:1.struts2去官网下载最新版struts开发包http://struts.apache.org/download.cgi#struts2162.hi转载 2013-08-28 23:36:00 · 1669 阅读 · 0 评论 -
The import javax.servlet.http.HttpServletRequest cannot be resolved
我用的是spring的开源工具SpringSource Tool Suite 做的开发,因为公司只做spring开发我试这熟悉这个工具,就写个servlet测试,结果发现代码写完,相应的包也引进来(一路默认都会自动引进来)SpringSource Tool Suite 已经自带封装web开发提示错误:The import javax.servlet.http.Htt转载 2013-08-29 23:06:28 · 1186 阅读 · 0 评论 -
发现eclipse红叉,查看markers发现Target runtime Apache Tomcat 6.0 is not defined
Target runtime Apache Tomcat 6.0 is not defined1、导入以前的项目(Markers中注意查看,就在console选项卡旁边),报以下错误,但不影响操作:Description Resource Path Location TypeTarget runtime Apache Tomcat v6.0 is not d转载 2013-08-29 23:20:02 · 2365 阅读 · 0 评论 -
<c:if test>标签使用
1>test命令之数字test 语法: [ number relation number ] 通过关系运算符来对数字进行比较 关系运算符: -lt 小于 -le 小于或者等于 -gt 大于 -ge 大于或者等于 -eq 等于 -ne 不等于 Java代码 //count>1 if tes转载 2013-09-12 19:09:25 · 27945 阅读 · 1 评论 -
JSP+ORACLE分页的代码记录
Beanpublic class PagedQueryResult { // 查询结果 private final List results; // 结果数量 private final int count; public PagedQueryResult(List results, int count) { this.results = results;原创 2013-09-13 18:44:28 · 764 阅读 · 0 评论