cc怎么连接mysql cc怎么连接carplay

java 连接mysql查询你需要写的是从数据库中取数据
%@ page language="java" import="java.util.*,com.snowice.imple.*,com.snowice.entity.*" pageEncoding="gbk"%
%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
html
head
style type="text/css"
a:link {
font-size: 20pt;
color: #FFFFF;
text-decoration: none;
}
a:visited {
font-size: 20pt;
color: #FFFFF;
text-decoration: none;
}
a:hover {
font-size: 20pt;
color: #FFFFF;
text-decoration: none;
}
a:active {
font-size: 20pt;
color: #FFFFF;
text-decoration: none;
}
/style
base href="https://www.04ip.com/post/%=basePath%"
title中国移动通信_建议查询/title
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="https://www.04ip.com/post/styles.css"
--
style type="text/css"
!--
.STYLE2 {
font-size: 36px;
font-family: "宋体";
color: #0033CC;
}
.cssTable {
border: 1px solid #FFCC00;
}
.STYLE10 {
font-size: 24px;
color: #0000FF;
}
.STYLE16 {color: #333333; font-weight: bold; }
.STYLE25 {font-size: 16px}
.STYLE29 {
font-size: 14px;
color: #333333;
}
.STYLE31 {color: #333333; font-weight: bold; font-size: 24px; }
.STYLE32 {color: #333333}
.STYLE24 { color: #0000FF;
font-weight: bold;
}
.STYLE37 {color: #333333; font-family: "宋体";}
--
/style
/head
body
%
UserImple ui = new UserImple();
Users r = ui.findRegister(session.getAttribute("user").toString());
System.out.println("-=="+r.getAnything());
%
table width="1023" border="0" cellpadding="0" cellspacing="0"
!--DWLayoutTable--
tr
td width="141" height="38" /td
td width="173" rowspan="2" valign="top"img src="/images/defaultpic.gif" //td
td width="396" valign="top"span class="STYLE2"中国移动客服网欢迎您cc怎么连接mysql!/span/td
td width="313" /td
/tr
tr
td height="36" /td
td /td
td /td
/tr
/table
table width="1023" border="0" cellpadding="0" cellspacing="0"
!--DWLayoutTable--
tr
td width="140" height="90" /td
td width="672" valign="top"img src="/images/defaultpic.gif" //td
td width="211" valign="top"table width="211" height="89" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFCC" class="cssTable"
!--DWLayoutTable--
tr
td width="209" height="51"span class="STYLE25"欢迎您cc怎么连接mysql:%=session.getAttribute("user") %/span/td
/tr
tr
td align="center"label
a href="https://www.04ip.com/post/login.jsp"退出/a
/label/td
/tr
/table/td
/tr
/table
table width="1023" border="0" cellpadding="0" cellspacing="0"
!--DWLayoutTable--
tr
td width="140" height="13" /td
td width="883" valign="top" bgcolor="#0033CC"!--DWLayoutEmptyCell-- /td
/tr
/table
table width="1023" border="0" cellpadding="0" cellspacing="0"
!--DWLayoutTable--
tr
td width="138" height="15" /td
td width="173" rowspan="5" valign="top"table width="100%" border="0" cellpadding="0" cellspacing="0"
!--DWLayoutTable--

推荐阅读