`
xxp3369
  • 浏览: 151196 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论
文章列表
/* * $Id: ActionServlet.java 264684 2005-08-30 03:08:01Z niallp $ * * Copyright 2000-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a ...
1、配置struts * 拷贝struts lib下的所有jar到WEB-INF/lib下 * 修改web.xml文件,配置ActionServlet * 提供struts-config.xml文件 3、创建登录项目 * 创建jsp页面(login.jsp,login_success.jsp,login_error.jsp) * 创建LoginActionForm.java * 创建LoginAction.java * 配置struts-config.xml文件 index.jsp <!<%@ page language="java" ...
CalAction.java package com.bjsxt.struts; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.Action; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts ...
TestServlet.java package com.bjsxt.servlet; import java.io.IOException; import java.util.List; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class TestSer ...
question.jsp <%@ page contentType="text/html;charset=gbk"%> <%@ page import="java.util.*"%> <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%> <%@ taglib uri="http://struts.apache.org/tags-html" prefix=" ...
User.java package org.lxh.myzngt.vo; public class User { /** sex property */ private String sex; /** usermail property */ private String usermail; /** userques property */ private String userques; /** userid property */ private String userid; /** realname property */ ...
web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.s ...
MD5Code.java package org.lxh.myzngt.util; public class MD5Code { /* * 下面这些S11-S44实际上是一个4*4的矩阵,在原始的C实现中是用#define 实现的, 这里把它们实现成为static * final是表示了只读,切能在同一个进程空间内的多个 Instance间共享 */ static final int S11 = 7; static final int S12 = 12; static final int S13 = 17; static final in ...
# Resources for parameter 'org.lxh.myzngt.struts.ApplicationResources' # Project MyZhiNangTuanDemo user.userid.null = <li> \u7528\u6237ID\u4e0d\u80fd\u4e3a\u7a7a\uff01 user.userpwd.null = <li> \u7528\u6237\u767b\u5f55\u5bc6\u7801\u4e0d\u80fd\u4e3a\u7a7a\uff01 user.userques.null = <li&g ...
AdminLoginFilter.java package org.lxh.myzngt.filter; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletRes ...
index.jsp <%@ page contentType="text/html;charset=gbk"%> <%@ page import="org.lxh.myzngt.util.*"%> <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%> <%@ taglib uri="http://struts.apache.org/tags-html" p ...
UserForm.java /* * Generated by MyEclipse Struts * Template path: templates/java/JavaClass.vtl */ package org.lxh.myzngt.struts.form; import javax.servlet.http.HttpServletRequest; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionForm; import org.apa ...

WebRoot

    博客分类:
  • MLDN
temp.htm <html> <head> <title>MLDN —— 我的智囊团</title> <META NAME="Generator" CONTENT="Struts + Spring + Hibernate + MySQL + Tomcat + CP"> <META NAME="Author" CONTENT="李兴华"> <META NAME="Keywords" CONTENT=&q ...
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <beans> <bean id="dataSource" class="org.springframework.jndi.JndiObjectF ...
/*==============================================================*/ /* DBMS name:      MySQL 4.0                                    */ /* Created on:     2007-6-28 15:25:46                           */ /*==============================================================*/ drop table if exists admin; dr ...
Global site tag (gtag.js) - Google Analytics