admin 管理员组

文章数量: 887021


2023年12月17日发(作者:under是上面还是下面)

String sql = "select * from user order by id desc";conn = n();try {st = Statement();rs = eQuery(sql);while(()){user = new User();il(ing("email"));rname(ing("username"));swd(ing("passwd"));(("sex"));(("id"));(user);}} catch (SQLException e) {// TODO Auto-generated catch tackTrace();}finally{ll(conn, st, rs);}return list;}public User getUserById(int id){User user = null;Connection conn = null;PreparedStatement ps = null;ResultSet rs = null;String sql ="select * from user where id=?";conn =n();try {ps = eStatement(sql);(1, id);rs = eQuery();while(()){

user = new User();il(ing("email"));rname(ing("username"));swd(ing("passwd"));(("sex"));(("id"));}} catch (SQLException e) {// TODO Auto-generated catch tackTrace();}finally{ll(conn, ps, rs);}return user;}<%@ page language="java" import=".*" pageEncoding="UTF-8"%><%@ taglib prefix="c" uri="/jstl/core_rt" %><%String path = textPath();String basePath = eme()+"://"+verName()+":"+verPort()+path+"/";%>

My JSP '' starting page