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

·Â°Ù¶ÈajaxËÑË÷Ìáʾ£¨jsp£©

<%@ page language="java" import="java.util.*" pageEncoding="GB2312"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>index</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="styles.css">
-->
  <style type="text/css">
  body{
   font-size:0.75em;
   border:0;
   margin:250px 0 0 0;
   padding:0;
   }
  #content{
   width:450px;
   margin:auto;}
  
  #key{
   width:300px;
   margin:0;
   padding:4px 0 0 5px;
   }
  
  .key_abnormal{
   border-bottom:1px solid white;
   border-left:1px solid #8298BF;
   border-top:1px solid #8298BF;
   border-right:1px solid #8298BF;
   }
   .key_normal{
   border-bottom:1px solid #8298BF;
   border-left:1px solid #8298BF;
   border-top:1px solid #8298BF;
   border-right:1px solid #8298BF;
   }
  
  #search_suggest{
   margin:0;
   padding:0;
   width:300px;
   height:auto;
   border:1px solid black;
   }
  
  .suggest_hidden{
   display:none;
   }
  .item_normal{
   width:100%;
   overflow:hidden;
   padding-left:5px;
   paddi


Ïà¹ØÎĵµ£º

ajax±à³Ì½çÃæ²¼¾Ö¼°½çÃæÔªËØÃüÃûÌå»á

1¡¢Çø¿éµÄÏÔʾÓëÒþ²Ø
      ÔÚ½øÐÐajax±à³Ìʱ£¬¾­³£»áÓõ½div±êÇ©¶ÔÒ³ÃæÔªËؽøÐв¼¾Ö£¬´óÖ·½·¨ÊÇ£¬°Ñ½çÃæ·Ö×ö¼¸´ó¿é£¬ÓÐʱºòÐèÒª¸ù¾Ýµã»÷²Ëµ¥ÏÔʾÏàÓ¦µÄ¿é¼°Òþ²ØÆäËû¿é£¬Õâʱ¿É¼òµ¥ÉèÖÃdiv.style.displayΪblock½øÐÐÏÔʾ£¬div.style.dispalyΪnone½øÐÐÒþ²Ø¡£
2¡¢½çÃæÔªËØÃüÃû
  &nb ......

·þÎñÓÚajaxµÄ¿ØÖÆÆ÷·½·¨

´Ë·½·¨ÓÃjspÄÚÖöÔÏóoutÊä³öµ½xmlÎļþÖÐ
public void ajaxEditorList() throws IOException{
  HttpServletResponse response = ServletActionContext.getResponse();
  //System.out.println("ddddddddddddddddddddddd;;;");
  int unitid=Integer.parseInt(request.getParameter("unit ......

ÓÃjavabeanÔÚJSPÒ³ÃæÖÐʵÏÖ½ø¶ÈÌõЧ¹û


public class TaskBean extends Thread{   
  
public TaskBean(){   
}   
  
private int percent=0;   
private boolean complete=false;   
  
public synchronized&nb ......

ASP¡¢JSPÓëPHP Äã»áÑ¡Ë­

 Ä¿Ç°£¬×î³£ÓõÄÈýÖÖ¶¯Ì¬ÍøÒ³ÓïÑÔÓÐASP(Active   Server   Pages),JSP(Java   Server   Pages),  
  PHP   (Hypertext   Preprocessor)¡£    
   
  ¼ò   ½é    
   
  ¡¡¡¡ASPÈ«ÃûActive   Server & ......

Ajax£ºÓµ±§JSON£¬ÈÃXML×ß¿ª


Ajax(Asynchronous JavaScript and XML)˵µ½µ×¾ÍÊÇÒ»ÖÖä¯ÀÀÆ÷Òì²½¶ÁÈ¡·þÎñÆ÷ÉÏXMLÄÚÈݵļ¼Êõ¡£ÏÖÔڵļ¼Êõ·²ÊǸúXML³¶ÉϹØϵ£¬ÔÙ¼ÓÉϸö¸ÅÄî×ö»Ï×Ó£¬¾ÍÏñ½ð×°ÁËÒ»Ñù£¬×§µÃ²»ÐС£ÃÅÍâ µÄÈË¿´µÃºÜÊÇÈÈÄÖ£¬ÃÅÀïµÄÈËÒ¡Ò¡Í·²»ÍâÈçÊÇ¡£XMLÄØ£¬¿çƽ̨µÄг±ÓïÑÔ£¿ÆäʵXML£½TXT¡£
XMLÖ»ÊÇ·ûºÏºÜ¶à¹æ·¶µÄÎı¾¡£Ëü±¾Éíʲô¶¼²»ÊÇ£¬Ö ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ