2008-01-17
struts+spring
关键字: spring+hibernate整和<?xml version="1.0" encoding="gb2312"?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
"http://struts.apache.org/dtds/struts-config_1_2.dtd">
<struts-config>
<form-beans>
<form-bean name="loginForm" type="lee.LoginForm"/>
</form-beans>
<action-mappings>
<action path="/login" type="org.springframework.web.struts.DelegatingActionProxy" name="loginForm"
scope="request" validate="true" input="/login.jsp" >
<forward name="input" path="/login.jsp"/>
<forward name="welcome" path="/welcome.html"/>
</action>
</action-mappings>
<message-resources parameter="mess"/>
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames" value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
<set-property property="stopOnFirstError" value="true"/>
</plug-in>
<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
<set-property property="contextConfigLocation"
value="/WEB-INF/applicationContext.xml,
/WEB-INF/action-servlet.xml"/>
</plug-in>
</struts-config>
发表评论
我的相册
某一瞬间
共 1 张
共 1 张
最近加入圈子
最新评论
-
xfire实现webservice
决定选用xfire替代我们项目的servlet了。
-- by wdlfellow -
java给图片加水印
顶!
-- by yojiwei -
关于xml带命名空间的解析 ...
抱歉!现在忙着系统升级去了,没时间写东西。 我觉得你说的没错啊,应 ...
-- by dengchangqing -
关于xml带命名空间的解析 ...
想请问一下如何用java调用.net传递过来的xml。其它像int,double ...
-- by phoenix







评论排行榜