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

JSP Êý¾Ý¿âÎÊÌâ - Java / Web ¿ª·¢

´óÏÀÃÇ°ïÎÒ¿´¿´ÎªÊ²Ã´ÌîÈë±íµ¥µÄÊý¾Ý²»ÄܲåÈëÊý¾Ý¿â
ÁíÒ»¸öÒ³ÃæÄܶÁ³öÀïÃæµÄÊý¾Ý
<%@ page language="java" contentType="text/html; charset=GBK"%>
<%@ page import="java.sql.*,javax.naming.*,javax.sql.*" %>
<html>
  <head>  
  <title>´´½¨±í²¢²åÈë¼°ÐÞ¸ÄÊý¾Ý</title>
  </head>  
  <body>
<%String Student_id= request.getParameter("Student_id");
String Student_name= request.getParameter("Student_name");
String sex= request.getParameter("sex");
String Student_class= request.getParameter("Student_class");
String Student_grade=request.getParameter("Student_grade");
  Connection con = null;
try {

// ¼ÓÔØODBCÇý¶¯
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
// ͨ¹ýÇý¶¯¹ÜÀíÆ÷£¨DriverManager£©»ñµÃÁ¬½Ó
con = DriverManager.getConnection("jdbc:odbc:mysj",
"sa","123");
out.println("<h2>´´½¨student±í³É¹¦£¡</h2><br>");
// ²åÈëÊý¾Ýµ½student±í
String Sql="insert into student(Student_id,Student_name,sex,Student_class,"  
  + "Student_grade) values ('" + Student_id + "','"
  + Student_name+"','&q


Ïà¹ØÎÊ´ð£º

¹ØÓÚAJAXºÍJSPµÄһЩСÎÊÌâ¡« - Java / Web ¿ª·¢

ÎÒJSPµÄÒ³ÃæÊÇ£º
<%@ page language="java" contentType="text/html; charset=gb2312"
  %>
<script>
function Save(){
xmlHttp=GetXmlHttpObject()
if(xmlHttp==nul ......

JAVAµç×Ӵʵ䣿 - Java / Java SE

¸÷·´óÏÀ¸ø¸ö˼·£¬²»ÊÇÔÚÏßµÄÄÇÖÖ£¬¾ÍÊÇÒ»¸ö×öÆÕͨµÄÓ¦ÓóÌÐò¡£


´Ê¿âÔõôÉú³ÉÄØ£¿

²»»á¡£

ÒýÓÃ
´Ê¿âÔõôÉú³ÉÄØ£¿
ÕÒ±¾×Öµä

ÒýÓÃ
´Ê¿âÔõôÉú³ÉÄØ£¿
Êý¾Ý¿â ºÇºÇ

ÓÃmap ¼üÖµ¶ÔÓ¦

Èç¹ûÓÃÊý¾Ý¿ ......

jspÎļþµ½µ×Òª²»Òª¼ÓNo-cache - Java / Web ¿ª·¢

ÓÃStruts2+Spring+Hibernate×öµÄÒ»¸öwebµÄERPСÏîÄ¿£¬×ܲ¿Ò»Ì¨·þÎñÆ÷£¨Êý¾Ý¿âÓëWeb·þÎñÆ÷ÔÚͬһ»ú×ÓÉÏ£©Êǵ¥¶À²¦ºÅÉÏÍøµÄ£¬Óë·Ö¹«Ë¾Ã»ÓÐÓþÖÓòÍøÏߣ¬Ó²¼þÌ«¹óÁË£¬ÆäËû¼¸¸öÊ¡Êзֹ«Ë¾¶¼À´·ÃÎÊÕâÒ»·þÎñÆ÷£¬¸Ð¾õºǫ́´ú ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ