<%@page import="javabean.db_conn"%> <%@page import="java.sql.ResultSet"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ include file="verify_login.jsp" %><%--包含验证登陆代码--%> "/> 用户个人信息 <%! String user_name,p_id,p_work,p_sex;%> <% db_conn conn=new db_conn(); String sql="select * from p_inf where p_tel='"+session.getAttribute("user_id")+"'"; ResultSet res=conn.executeQuery(sql); if(res.next()) { user_name=res.getString(2); p_id=res.getString(1); p_work=res.getString(5); p_sex=res.getString(4); } %>
  • 个人资料