• 大小: 7.61MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-24
  • 语言: Java
  • 标签: 企业网站  java  源码  

资源简介

java做的企业网站(源码)java做的企业网站(源码)java做的企业网站(源码)

资源截图

代码片段和文件信息

/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package com.buysiness.admin.action;

import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.hibernate.Session;
import org.hibernate.Transaction;

import com.buysiness.dao.HibernateSessionFactory;
import com.buysiness.dao.UsersDAO;
import com.buysiness.entity.Users;
import com.buysiness.index.form.UserregForm;

/** 
 * MyEclipse Struts
 * Creation date: 04-08-2009
 * 
 * XDoclet definition:
 * @struts.action path=“/userreg“ name=“userregForm“ input=“/form/userreg.jsp“ scope=“request“ validate=“true“
 * @struts.action-forward name=“no“ path=“/errot.jsp“
 * @struts.action-forward name=“yes“ path=“/userregyes.jsp“
 */
public class AdminlogoAction extends Action {
/*
 * Generated Methods
 */

/** 
 * Method execute
 * @param mapping
 * @param form
 * @param request
 * @param response
 * @return ActionForward
 * @throws IOException 
 */
public ActionForward execute(ActionMapping mapping ActionForm form
HttpServletRequest request HttpServletResponse response) throws IOException {
try {
// String aa=request.getHeader(“referer“).toString();
// System.out.println(“tuichu“+aa);
HttpSession hs=request.getSession();

hs.removeAttribute(“username“);
hs.removeAttribute(“userid“);

response.sendRedirect(“index.do“);
} catch (Exception e) {
// TODO: handle exception

}
return null;

}
}

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

     文件        990  2009-04-21 17:00  buysiness\.classpath

     文件        534  2009-04-17 06:07  buysiness\.myhibernatedata

     文件        300  2009-04-21 17:00  buysiness\.mymetadata

     文件        262  2009-03-29 02:03  buysiness\.mystrutsdata

     文件       1512  2009-03-29 02:09  buysiness\.project

     文件        369  2009-03-29 03:07  buysiness\.settings\.svn\entries

     文件          2  2009-03-29 03:06  buysiness\.settings\.svn\format

     文件        330  2009-03-29 03:06  buysiness\.settings\.svn\text-base\org.eclipse.jdt.core.prefs.svn-base

     文件        330  2009-03-29 02:01  buysiness\.settings\org.eclipse.jdt.core.prefs

     文件        993  2009-04-17 22:18  buysiness\.svn\entries

     文件          2  2009-03-29 03:06  buysiness\.svn\format

     文件        990  2009-03-29 03:06  buysiness\.svn\text-base\.classpath.svn-base

     文件        534  2009-04-17 22:18  buysiness\.svn\text-base\.myhibernatedata.svn-base

     文件        300  2009-03-29 03:06  buysiness\.svn\text-base\.mymetadata.svn-base

     文件        262  2009-03-29 03:06  buysiness\.svn\text-base\.mystrutsdata.svn-base

     文件       1512  2009-03-29 03:06  buysiness\.svn\text-base\.project.svn-base

     文件        365  2009-03-29 03:07  buysiness\src\.svn\entries

     文件          2  2009-03-29 03:06  buysiness\src\.svn\format

     文件       1177  2009-03-29 03:06  buysiness\src\.svn\text-base\hibernate.cfg.xml.svn-base

     文件        241  2009-03-29 03:07  buysiness\src\com\.svn\entries

     文件          2  2009-03-29 03:06  buysiness\src\com\.svn\format

     文件        274  2009-04-17 22:18  buysiness\src\com\buysiness\.svn\entries

     文件          2  2009-03-29 03:06  buysiness\src\com\buysiness\.svn\format

     文件        275  2009-04-18 01:22  buysiness\src\com\buysiness\admin\.svn\entries

     文件          2  2009-04-17 22:18  buysiness\src\com\buysiness\admin\.svn\format

     文件       3616  2009-04-19 06:25  buysiness\src\com\buysiness\admin\action\.svn\entries

     文件          2  2009-04-17 22:18  buysiness\src\com\buysiness\admin\action\.svn\format

     文件       1859  2009-04-19 00:26  buysiness\src\com\buysiness\admin\action\.svn\text-base\AdminlogoAction.java.svn-base

     文件       2105  2009-04-19 06:25  buysiness\src\com\buysiness\admin\action\.svn\text-base\adminpassAction.java.svn-base

     文件       2385  2009-04-19 06:25  buysiness\src\com\buysiness\admin\action\.svn\text-base\AdminuppassAction.java.svn-base

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

评论

共有 条评论