上一页 1 ··· 29 30 31 32 33
摘要: <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"><!-- START SNIPPET: xworkSample --><struts> <constant name 阅读全文
posted @ 2012-08-28 13:19 西瓜霜 阅读(128) 评论(0) 推荐(0) 编辑
摘要: Result 类型常见的 type 类型配置如下:dispatcher转发到 JSP 页面,和<jsp:forward page=””/>的效果一样,是默认类型。<result>/Success.jsp</result><result name=”a”>/Success.jsp</result><result name=”b” type=”dispatcher”>/Success.jsp</result>redirect重定向到 JSP 页面,和 response.sendRedirect(“”)的效果一样。& 阅读全文
posted @ 2012-08-28 13:06 西瓜霜 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 在applicationContext.xml中,把声明式事务用到的空间导入xmlns:tx="http://www.springframework.org/schema/tx"xmlns:aop="http://www.springframework.org/schema/aop"http://www.springframework.org/schema/txhttp://www.springframework.org/schema/tx/spring-tx-2.5.xsdhttp://www.springframework.org/schema/ao 阅读全文
posted @ 2012-08-28 00:23 西瓜霜 阅读(255) 评论(0) 推荐(1) 编辑
摘要: 位置都在hibernate的jar包中的org/hibernate中,打开window-preferences,然后搜索xml,找到xml-catalog,点add按钮,选择第一个(catalog entry),location是dtd文件的路径,key type是uri,key是配置文件中的超链接 阅读全文
posted @ 2012-08-25 19:55 西瓜霜 阅读(351) 评论(0) 推荐(0) 编辑
摘要: <?xmlversion='1.0'encoding='utf-8'?><!DOCTYPEhibernate-configurationPUBLIC"-//Hibernate/HibernateConfigurationDTD3.0//EN""http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"><hibernate-configuration><session-factory><proper 阅读全文
posted @ 2012-08-24 23:03 西瓜霜 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 在安装完Eclipse 的SVN插件subeclipse后,默认状态是中文,要进行中英文转换可以:在Eclipse的configuration文件下找到config.ini文件,用写字板打开,在最后面添加上如下代码即可:1. 下面配置是设置SVN插件为英文菜单:#SetSubversionEnglishVersion osgi.nl=en_US2. 下面配置是摄自SVN插件为中文菜单:#SetSubversionChinese Version osgi.nl=zh_CN 但是有个问题,就是修改config.ini文件后,eclipse的alt+/的代码提示功能就会消失,我至今没有解决 阅读全文
posted @ 2012-08-24 14:18 西瓜霜 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 这是我很辛苦找到的,是官网的哦site-1.8.16.zip 阅读全文
posted @ 2012-08-24 14:15 西瓜霜 阅读(277) 评论(0) 推荐(0) 编辑
上一页 1 ··· 29 30 31 32 33