?? 602537cc1419001e136682f9a6412c6b
字號:
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="com.cric.onlineshopclothes.dao.CustomerLoginDAO "%>
<%@ page import="com.cric.onlineshopclothes.javabean.Customer "%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
int uid=Integer.parseInt((String)session.getAttribute("uid"));
CustomerLoginDAO loginDAO1=new CustomerLoginDAO();
Customer customer1=new Customer();
customer1=loginDAO1.getUserByUid(uid);
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'index.jsp' starting page</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
This is my JSP page123. <br>
value="<%=customer1.getCId() %>"
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -