文件名称:SSI 源码 例子
文件大小:7.07MB
文件格式:ZIP
更新时间:2016-04-17 08:08:04
SSI 源码 实例 例子
其中一个action 里面有整个框架的搭建和源码 package com.icss.action; import com.icss.po.Employee; import com.icss.service.BaseService; import com.opensymphony.xwork2.ActionSupport; public class EmployeeAction extends ActionSupport { public Employee emp; private BaseService employeeService; @Override public String execute() throws Exception { System.out.println(emp.getEmployeeName() + "|" + emp.getEmployeePassword()); // empyloeeService.save(emp); return SUCCESS; } public void setEmp(Employee emp) { this.emp = emp; } public void setEmployeeService(BaseService employeeService) { this.employeeService = employeeService; } }
【文件预览】:
12_test2_ssi
----.project(1KB)
----WebContent()
--------WEB-INF()
--------index.jsp(642B)
--------META-INF()
----src()
--------struts-2.3.dtd(4KB)
--------employee.sql(1KB)
--------struts.xml(516B)
--------applicationContext.xml(166B)
--------com()
--------SqlMapConfig.xml(670B)
----.settings()
--------org.eclipse.wst.jsdt.ui.superType.container(49B)
--------org.eclipse.wst.common.project.facet.core.xml(345B)
--------org.eclipse.jdt.core.prefs(395B)
--------org.eclipse.wst.jsdt.ui.superType.name(6B)
--------org.eclipse.wst.common.component(466B)
--------.jsdtscope(503B)
----build()
--------classes()
----.classpath(834B)