Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

jspÒ³ÃæʵÏÖ·ÖÒ³ÏÔʾ²»Õý³£ - Java / Web ¿ª·¢

ÎҵĴúÂëÈçÏ£º
<%@ page language="java" contentType="text/html;charset=gb2312" pageEncoding="gb2312"%>
<%@ page import="java.sql.*" %>
<%@ page import="shop.javabean.DBConnection" %>
<jsp:useBean id="db" class="shop.javabean.DBConnection" ></jsp:useBean>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/shop.css"/>
<title>µêÆÌÁбí</title>
</head>
<body bgcolor="#ffffff">

<table width="745" border="0" align="center">
  <tr>
  <td width="119" >µê±ê</td>
  <td width="251">µêÃû</td>
  <td width="83">Ö÷Óª²úÆ·</td>
  <td width="63">·ÃÎÊÈËÊý</td>
  <td width="63">¿ªµêÈÕÆÚ</td>
  </tr>
<%
String tdBgColor = "";
int num = 0;//¿ØÖƵ¥Ôª¸ñÑÕÉ«
ResultSet rs = null;
String countRecord = "";
//sql2 = "select count(Remes_Id) from SReMessage where Mes_Id='"+Mes_Id+"' group by Mes_Id";
String sql0 = "select count(*) from Shop";
rs = db.executeQuery(sql0);
if(rs.next()){
countRecord = rs.get


Ïà¹ØÎÊ´ð£º

JSP/Servlet½»»¥ - Java / Web ¿ª·¢

JSPÒ³ÃæÖÐÓжà¸öradio°´Å¥
  JSPÒ³Ã潫²ÎÊýPOST¸øservlet
  
  ÒªÇóÈçÏÂ;
  1.Ñ¡ÔñÒ»¸öradio£¬µ÷ÓÃservlet servletÖиù¾Ý²ÎÊýµ÷ÓÃÆäËû½Ó¿Ú£¬³ý·ÇÑ¡ÖиÃradio²¢µã»÷JSPÖеÄʵР......

myeclipse+mysqlµÄÅäÖÃÎÊÌâ - Java / Eclipse

ÎÒÊǸöÐÂÊÖ£¬Íû¸ßÊÖ½â´ð
ÎÒÏÖÔÚÒѾ­°²×°ÁËmysql£¬Ò²ÓÐmysqlµÄjdbc¡£µ«ÎÒÔõôÅäÖú󣬲ÅÄÜÔÚMyEclipseÀï²Ù×÷mysqlÄØ£¿Çë¸ßÊÖ˵Ïêϸµã
´ò¿ªMyeclipse----window---open perspective---MyEclipse database explorer-- ......

javaÖеÄ×¢½â¿ÉÒÔÓÐÄÄЩ£¿ - Java / Java EE

È磺 @superwaring("unchecked");
Õâ¸öÀïÃ涼¿ÉÒÔÈ¡ÄÄЩֵ°¡£¬»¹ÓÐÀàËÆµÄ @superwaring±êÇ©ÓÐÄÄЩ°¡
ûÓùý¡£¡£

¿´jeeµÄapi
javax.persistenceÀï
@superwaring("unchecked");Ö»ÊǺöÂÔ ......

java synchronized - Java / Java SE

Java code:

......
synchronized(user){
int loginNum = Integer.parseInt(Main_Client_Dia.jtf2.getText().trim());
Main_Client_Dia.jtf2.setText("");
loginNum++;
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ