
开发框架-SSH
DYZA
人无信而不立,事乏诚则难行
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ssh2项目整合 struts2.1+hibernate3.3+spring3 基于hibernate注解和struts2注解
项目目录结构如下:核心配置文件:web.xml<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/原创 2014-09-29 17:45:28 · 2294 阅读 · 0 评论 -
struts2、hibernate、spring注解
struts2注解配置的解释 1) @ParentPackage 指定父包 2) @Namespace 指定命名空间 3) @Results 一组结果的数组 4) @Result(name="success",location="/msg.jsp") 一个结果的映射 5) @Action(value="login") 指定某个请求处理方法的请求URL。注意,它原创 2014-11-03 11:40:50 · 955 阅读 · 0 评论