×¢£º
1.ÊÖ¶¯É¾³ýieÁÙʱÎļþºó¿ÉÒÔ»ñÈ¡ÐÂÊý¾Ý£»
2.Ë¢ÐÂÒ³Ãæ²»ÄÜ»ñÈ¡ÐÂÊý¾Ý£»
3.²»ÒªËµ¼ÓËæ»úÊýÔÚurlÉÏ£¬ÎÒ²»ÖªµÀ¾ßÌå¼ÓÔÚÄÄÀÎÒÂÒÊÔÁËÒ²»¹ÊDz»ÐУ»
4.Ï£ÍûµÃµ½µÄЧ¹ûÊǵã»÷¡°»ñÈ¡Êý¾Ý¡±ºó¿ÉÒÔÏÔʾxmlÀïµÄ×îÐÂÊý¾Ý£»
5.ÕýÔڸϱÏÒµÉè¼Æ£¬Ê±¼ä½ôÆÈ£¬Çë¸ßÈËÖ¸µã£¡
<%@ page contentType="text/html" pageEncoding="gb2312" %>
<%@ page language="java" import="java.util.*,upload.*" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> </title>
<script type='text/javascript' src='dwr/interface/addxml.js'> </script>
<script type='text/javascript' src='dwr/engine.js'> </script>
<script type='text/javascript' src='dwr/util.js'> </script>
<!--script type="text/javascript" src="Page.js"> </script-->
<script type="text/javascript">
//ÉèÒ»¸ö±äÁ¿
var XMLHttpReq=false;
//´´½¨Ò»¸öXMLHttpRequest¶ÔÏó
function createXMLHttpRequest(){
if(window.XMLHttpRequest){ //Mozilla
XMLHttpReq=new XMLHttpRequest();
µÚ14Õ µÄÊ÷ÐͲ˵¥µÄÀý×Ó²»ÄÜÔÚIEÖÐÕý³£ÏÔʾ£¨Ê÷µÄ½á¹¹¿ÉÒÔÕ¹¿ª£¬µ«Õ¹¿ªºóÔÙµã»÷¾Í²»ÄÜÊÕËõÁË£©£¬µ«ÄÜÔڹȸèä¯ÀÀÆ÷ÖÐʹÓã¬Óп´´ËÊéµÄÅóÓÑÄÜÖ¸µãÏÂÂð£¿
ºÃÌù ºÇ
dfgfgfgffffff
лл¡£
......
ÔÚÓÃÊ¡ÊÐÁª¶¯µÄʱºò£¬¸ù¾ÝÊ¡È¡ÊУ¬ÊÐÊÇͨ¹ýajaxÈ¡³öÀ´µÄ£¬Óúǫ́´úÂëÈ´ÎÞ·¨»ñÈ¡dropdownlistÖÐÊеÄÑ¡ÖÐÏîÖµ£¬Õâ¸ö¸ÃÔõô´¦Àí£¿
Request.Form["ÄãµÄdropdownlist id"]
Request["dropdowlist2" ......
ÎÒÏÖÔÚÓÃstruts2¿ò¼Ü,ÐèҪʹÓÃajaxʵÏÖ¾Ö²¿Ë¢Ð£¬µ«ÊÇ´ÓÈÝÆ÷Àï·µ»ØµÄÖµ²»ÖªµÀÔõô´Óstruts.xmlÅäÖÃÎļþÀïÓ³Éäµ½jspÒ³ÃæÀÒÔÇ°servletÀïдout.orint("xxxxx")¾Í¿ÉÒԵõ½~£¬µ«ÊÇÏÖÔÚÓÃstruts¾Í²»ÖªµÀÔõôР......