xml 代码
- <!---->xml version="1.0" encoding="UTF-8"?>
- <!---->>
-
- <struts-config>
- <data-sources />
- <form-beans>
- <form-bean name="userLoginForm"
- type="org.perfect.struts.form.UserLoginForm" />
-
- form-beans>
-
- <global-exceptions />
- <global-forwards />
- <action-mappings>
-
-
- <action
- input="/userLogin.jsp"
- path="/userLogin"
- scope="request"
- name="userLoginForm"
- type="org.springframework.web.struts.DelegatingActionProxy"
-
- >
- action>
- action-mappings>
-
-
- <message-resources
- parameter="org.perfect.struts.ApplicationResources" />
- <plug-in
- className="org.springframework.web.struts.ContextLoaderPlugIn">
- <set-property property="contextConfigLocation"
- value="/WEB-INF/applicationContext.xml" />
- plug-in>
-
-
- struts-config>
-
xml 代码
- <!---->xml version="1.0" encoding="UTF-8"?>
- <beans
- xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
-
- <bean id="user" class="org.perfect.struts.vo.User">bean>
-
- <bean name="/userLogin" class="org.perfect.struts.action.UserLoginAction" scope="singleton">
- <property name="user">
- <ref bean="user" />
- property>
- bean>
-
- beans>
<html:form action="/userLogin">
</html:form>
- J2EE.rar (1003.4 KB)
- 描述: 这个小程序还包括了一个解决中文问题的filter.和一个log4j日志工具
- 下载次数: 3
分享到:
相关推荐
- **平台构建:** 配置Tomcat6.0为MyEclipse开发环境下的可用应用服务器,并导入Struts1.2、Spring2.0、Hibernate3.0等框架插件。 - **数据库设计:** 根据需求进行表设计,建立表与表之间的关系图,编写数据字典...
9. **Web 开发框架**:“J2EE”项目通常会用到Spring、Struts或Hibernate等,理解MVC框架的运行机制。 10. **安全与加密**:“基于Http协议的断点续传”可能需要处理数据的加密传输,了解HTTPS协议和SSL/TLS安全...
5. **Web应用开发**:如B2C电子商务系统、在线考试系统、网上售票系统等,这要求开发者熟悉Web开发框架,如Spring、Struts或Hibernate,以及MVC设计模式。 6. **移动应用与物联网**:例如掌上网络商店、手机游戏、...
- 通过基于B/S的图书管理系统项目,实习生经历了从简单的JSP到运用三大框架(Struts、Spring、Hibernate)的进化,理解了分层架构的优势,增强了实际操作和问题解决能力。 8. **职业素养**: - 在毕业设计和项目...