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

jsp/get/set/struts.xml´æÈ¡

get
jsp         url          ${param.serialID}
action    jsp          String commentId = ServletActionContext.getRequest().getParameter("commentId");
---------------------------------------
action    ServletActionContext.getRequest().setAttribute("searchContent", searchContent);
jsp         action      <s:property value="searchContent"></s:property>
---------------------------------------
function hanshu(num)
{
    window.location.href="<%=request.getContextPath()%>/a.action?num="+num;
}
<a href="javascript:hanshu('${param.url²ÎÊýÃû}')"></a>
=====================
post
//ʹÓÃtrim£¨£©
String.prototype.trim=function()
{
   return this.replace(/(^\s*)|(\s*$)/g, "");
}
function hanshu()
{
     var selectValue = document.getElementById("selectId").value;
     var textValue = document.getElementById("textId").value;
     //±ØÌî
    if(!selectValue)
     {
       alert("±ØÌî");
      }
     else if(selectValue.trim().length<1)
     {
         alert("³¤¶È");
      }
}
<form action="${pageContext.request.contextPath}/getAction.action" method="post" name="nameForm">
      <select name="seledtName" id="selectId">
               <option value="1">²©¿Í</option>
      </select>
      <input type="text" name="textName" id="textId"&g


Ïà¹ØÎĵµ£º

JSPÄÚÖöÔÏó

JSP½Å±¾Öаüº¬9¸öÄÚÖöÔÏó£¬Õâ9¸öÄÚÖöÔÏó¶¼ÊÇServlet API½Ó¿ÚµÄʵÀý£¬Ö»ÊÇJSP¹æ·¶½«ËüÃÇÍê³ÉÁËĬÈϳõʼ»¯£¨ÓÉJSPÒ³Ãæ¶ÔÓ¦ServletµÄ_jspService()·½·¨À´´´½¨ÕâЩʵÀý£©¡£Ò²¾ÍÊÇ˵£¬ËüÃÇÒѾ­ÊǶÔÏ󣬿ÉÒÔÖ±½ÓʹÓá£9¸öÄÚÖöÔÏóÒÀ´ÎÈçÏ£º
application£ºjavax.servlet.ServletContextµÄʵÀý£¬¸ÃʵÀý´ú±íJSPËùÊôµÄWebÓ ......

Perl½âÎöXMLÎļþʱµÄ×Ö·û¼¯±àÂëÎÊÌâ

http://stackoverflow.com/questions/1112828/cannot-decode-string-with-wide-characters-appears-on-a-weird-place
http://man.ddvip.com/web/xmlzhzn/xml_cn/xml_encoding.asp.htm
http://bbs.xml.org.cn/dispbbs.asp?boardID=8&ID=7226
http://topic.csdn.net/t/20030909/13/2240153.html
#
http://www.ezloo. ......

ʹÓÃJOX ½øÐÐJavaBeanºÍXMLµÄת»»

½ñÌìÊÔÁ˸öXMLºÍJavaBeanת»»µÄÈí¼þJOX£¬Ö®Ç°Ò»Ö±ÓÐÕâÑùµÄÐèÇ󣬵«±È½ÏÀ´±È½ÏÈ¥»¹ÊÇÕâ¸ö±È½Ï¼òµ¥ÊµÓá£ÎÒÏë³ý·ÇÎÒÓÐWSµÄÐèÇ󣬷ñÔòÏóJIBXºÍAPACHE µÄWS¹¤¾ß¶ÔÎÒÀ´Ëµ¶¼ÊÇÖØÁ¿¼¶µÄ¡£
ÏÈ¿´¿´Êä³ö½á¹û£º
<?xml version="1.0" encoding="ISO-8859-1"?>
<ApproxItem java-class="com.greatwall.csi.np.model.Approx ......

XML×Ö·û´®ºÍXMLÎĵµÖ®¼äµÄ×ÔÓÉת»»

±¾ÎÄÏµ×ªÔØ£¬½÷Ïò×ªÔØ´¦¿Õ¼äÓµÓÐÕß¼°Ô´³ö´¦ÎÄÕÂ×÷Õß±íʾ¸Ðл£¡
×ªÔØ´¦£ºhttp://henry19890701.javaeye.com/blog/481462
Ô´³ö´¦£ºhttp://www.ziliaonet.com/tech/netprogramme/XML/200605/69398.html
ÔÚ×öÒ»°ãµÄXMLÊý¾Ý½»»»¹ý³ÌÖУ¬ÎÒ¸üÀÖÒâ´«µÝXML×Ö·û´®£¬¶ø²»ÊǸñʽ»¯µÄXML Document¡£Õâ¾ÍÉæ¼°µ½XML×Ö·û´®ºÍXml Docume ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ