自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

一亩三分地

ITSM的研究与实践;J2EE;电信行业系统分析;数据挖掘

  • 博客(9)
  • 收藏
  • 关注

原创 struts2初步配置

if struts2-spring-plugin-2.0.9.jar is in lib ,we must config the web.xml and application.xml. The flowing is the simple test code.HelloWorld.java:package example;import com.opensymphony.xwor

2007-10-27 13:48:00 575

struts2初步配置

if struts2-spring-plugin-2.0.9.jar is in lib ,we must config the web.xml and application.xml.   The flowing is the simple test code. HelloWorld.java: package example; import com.opensymphony.xwork2.Ac...

2007-10-27 13:48:00 78

原创 struts标签循环示例

                                >                                                                                                                                                                 在ac

2007-10-27 13:42:00 1849

struts标签循环示例

<s:iterator value="bookList">        <tr class="trs">            <td>            <a href='<s:url action="edit" ><s:param name="bookId" value=&quot

2007-10-27 13:42:00 136

转载 struts2与spring结合

转载于在webwork的文章1 配置struts.properties文件,指定spring作为struts的IoC容器struts.objectFactory = spring(1)默认的autowiring模式是:by name即如果applicationContext.xml文件中的bean id与struts.xml文件中的action name相同,就(2)如果要改为其他模式:str

2007-10-19 15:05:00 1130

struts2与spring结合

转载于在webwork的文章 1 配置struts.properties文件,指定spring作为struts的IoC容器struts.objectFactory = spring(1)默认的autowiring模式是:by name即如果applicationContext.xml文件中的bean id与struts.xml文件中的action name相同,就(2)如果要改为其他模式:stru...

2007-10-19 15:05:00 66

原创 struts2错误初步2

当把struts2下所有的包放在lib下,启动时的确会报错(啥错给忘了),最好是用到什么包自己加什么包,我最常用ssh所以~~~,一下错误经验分享一下。1。没有加入spring包以前,只加入了struts2-spring-plugin-2.0.6.jar  2007-3-21 17:37:29 org.apache.catalina.core.StandardContext filterSta

2007-10-19 15:03:00 5172

原创 struts2.0在action里获得servlet对象方法

1。 Struts 2.0中com.opensymphony.xwork2.ActionContext类。我们可以通过它的静态方法getContext()获取当前Action的上下文对象。 另外,org.apache.struts2.ServletActionContext作为辅助类(Helper Class),可以帮助您快捷地获得这几个对象。 o                     

2007-10-19 15:02:00 1053

原创 Hibernate的20个问题

1问:Hibernate初始化时总是报错:java.lang.NoClassDefFoundErrorHibernate初始化时出现出错代码:java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException答:这是新手常见问题。是因为使用默认设置时,Hibernate文档里指出的Hibernate库不完整,缺少ehcache.j

2007-10-07 09:51:00 752

空空如也

空空如也

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

TA关注的人

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