自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

转载 Spring加载.properties与配置jndi

项目结构如下:其中jdbc.properties内容如下:migu-jndi=jdbc/migujs-jndi=jdbc/jsjsj-jndi=jdbc/jsjbeans-js.xml内容如下:     <bean class="org.springframework.beans.factory.config.Property...

2016-04-12 11:35:00 289

转载 Struts中Action结果集路径解释

1 项目结构如下:可见message.jsp和validate.jsp都位于WebRoot的目录下;2 上图中,结果集的配置如下:<action name="regist" class="org.leegang.action.RegistAction"> <!-- 为两个逻辑视图配置视图页面 --> <result nam...

2016-03-31 17:36:00 117

转载 hibernate向mysql5插入中文,出现乱码

1 卸载mysql5,使用mysql5.52 hibernate.cfg.xml中hibernate.connection.url 设置如下,添加“?useUnicode=true&characterEncoding=utf8”<property name="hibernate.connection.url"> jdbc:mysql://localh...

2016-03-30 22:32:00 135

转载 No message found under code 'hello' for locale 'zh_CN'

Spring配置文件bean.xml中添加如下代码:<bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource"> <property name="basename"> <value...

2016-03-25 12:35:00 984

转载 application参数设置与使用

web.xml中 <context-param> <param-name>1</param-name> <param-value>用户名或密码为空, 请重试!</param-value> </context-param> &lt...

2016-03-25 11:01:00 720

转载 ModelAndView中设置List,jsp中获取

mav = new ModelAndView("view/frame/index");mav.addObject("menuList", menuList); jsp中 <% List<Integer> menuList = (java.util.List<Integer>) request.getAttribute("men...

2016-03-15 19:00:00 897

转载 jdbc数据源设置

jdbc.propertitesmigu-jndi=jdbc/migutomcat中context.xml<Resource auth="Container" driverClassName="oracle.jdbc.OracleDriver" maxActive="50" maxIdle="10" maxWait="600000" name="jdbc/m...

2016-02-02 20:36:00 169

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除