- 博客(5)
- 收藏
- 关注
原创 WebRoot/login.jsp---1
http://struts.apache.org/tags-bean" prefix="bean"%>http://struts.apache.org/tags-html" prefix="html"%> Login function rechangeimg(){ try{ var rand = Math.round(Math.random()*8+1);
2010-03-18 14:50:00
472
原创 com.test.struts.action/LoginForm.java
public class LoginForm extends ValidatorForm { private String logintype; private String password; private String username; private String code; public ActionErrors validate(ActionMapping map
2010-03-18 14:46:00
338
原创 com.test.struts.action/LoginAction.java---2
try { ps = conn.prepareStatement(sql); ps.setString(1, username); ps.setString(2, password); ps.setInt(3, ilogintype); rs = ps.executeQuery(); if (rs.next()) { bln = true; } else {
2010-03-18 14:17:00
480
原创 com.test.struts.action/LoginAction.java---1
public class LoginAction extends Action { public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { LoginForm loginForm = (Lo
2010-03-18 14:16:00
463
原创 com.test.struts/ApplicationResources.properties
# Resources for parameter com.test.struts.ApplicationResources# Project testerror.username=User name is null.error.password=Password is null.error.code=Wrong Verification Codeerror.logintype=Login t
2010-03-17 17:55:00
318
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人