• 大小: 29.16M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-02-01
  • 语言: Java
  • 标签: 实例  框架  SSH框架  

资源简介

ssh框架实例

资源截图

代码片段和文件信息

package com.hysd.action;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;

import org.apache.struts2.ServletActionContext;
import org.springframework.stereotype.Controller;

import com.hysd.domain.Emp;
import com.hysd.service.EmpService;
import com.opensymphony.xwork2.ActionSupport;

@Controller
public class LoginAction extends ActionSupport {

private static final long serialVersionUID = 1L;

@Resource
private EmpService empService;

private String empname;
private String password;

public String login() {

System.out.println(“提交的请求参数如下:“);
System.out.println(“empname:“ + empname);
System.out.println(“password:“ + password);

int eid = 0;
try {
eid = Integer.parseInt(empname);
} catch (Exception ex) {

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       5530  2014-10-14 21:37  S2316S411H436\.classpath

     文件       1338  2014-10-12 15:20  S2316S411H436\.project

     文件        522  2014-09-24 22:07  S2316S411H436\.settings\.jsdtscope

     文件       1009  2014-10-12 15:20  S2316S411H436\.settings\com.genuitec.eclipse.j2eedt.core.prefs

     文件        598  2014-10-12 15:21  S2316S411H436\.settings\org.eclipse.jdt.core.prefs

     文件        566  2014-10-12 15:20  S2316S411H436\.settings\org.eclipse.wst.common.component

     文件        398  2014-09-24 22:07  S2316S411H436\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2014-09-24 22:07  S2316S411H436\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2014-09-24 22:07  S2316S411H436\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件       3692  2014-10-15 11:57  S2316S411H436\doc\db_mysql.sql

     文件       3647  2014-10-15 11:57  S2316S411H436\doc\db_oracle.sql

     文件       1117  2014-10-12 16:18  S2316S411H436\doc\readme.txt

     文件     489984  2014-10-15 14:29  S2316S411H436\doc\项目介绍.doc

     文件     445288  2014-09-24 22:49  S2316S411H436\lib\h436\antlr-2.7.7.jar

     文件     423876  2014-09-24 22:51  S2316S411H436\lib\h436\c3p0-0.9.2.1.jar

     文件     313898  2014-09-24 22:49  S2316S411H436\lib\h436\dom4j-1.6.1.jar

     文件    1006424  2014-09-24 22:50  S2316S411H436\lib\h436\ehcache-core-2.4.3.jar

     文件      40140  2014-09-24 22:51  S2316S411H436\lib\h436\hibernate-c3p0-4.3.6.Final.jar

     文件      75324  2014-09-24 22:49  S2316S411H436\lib\h436\hibernate-commons-annotations-4.0.5.Final.jar

     文件    5254140  2014-09-24 22:49  S2316S411H436\lib\h436\hibernate-core-4.3.6.Final.jar

     文件     135516  2014-09-24 22:50  S2316S411H436\lib\h436\hibernate-ehcache-4.3.6.Final.jar

     文件     113371  2014-09-24 22:49  S2316S411H436\lib\h436\hibernate-jpa-2.1-api-1.0.0.Final.jar

     文件      76551  2014-09-24 22:49  S2316S411H436\lib\h436\jandex-1.1.0.Final.jar

     文件     714194  2014-09-24 22:49  S2316S411H436\lib\h436\javassist-3.18.1-GA.jar

     文件      57183  2014-09-24 22:49  S2316S411H436\lib\h436\jboss-logging-3.1.3.GA.jar

     文件      11558  2014-09-24 22:49  S2316S411H436\lib\h436\jboss-logging-annotations-1.2.0.Beta1.jar

     文件      27717  2014-09-24 22:49  S2316S411H436\lib\h436\jboss-transaction-api_1.2_spec-1.0.0.Final.jar

     文件     581295  2014-09-24 22:51  S2316S411H436\lib\h436\mchange-commons-java-0.2.3.4.jar

     文件        914  2014-10-14 21:51  S2316S411H436\lib\h436\readme.txt

     文件      25496  2014-09-24 22:50  S2316S411H436\lib\h436\slf4j-api-1.6.1.jar

............此处省略204个文件信息

评论

共有 条评论