JspÖеıäÁ¿
ÔÚÉùÃ÷Jsp±äÁ¿Ê±£¬±äÁ¿µÄÊý¾ÝÀàÐÍ¿ÉÒÔÊÇJavaÓïÑÔÔÊÐíµÄÈκÎÊý¾ÝÀàÐÍ
1.ÔÚ±ê¼Ç·û<%! %>Ö®¼äÉùÃ÷µÄ±äÁ¿ÊÇÈ«¾Ö±äÁ¿£¬ÕâЩ±äÁ¿ÊDZ»ËùÓÐÓû§¹²ÏíµÄ£¬ÈκÎÒ»¸öÓû§¶Ô´Ë±äÁ¿µÄ²Ù×÷¶¼»áÓ°Ïìµ½ÆäËûÓû§¶ÔËü
µÄʹÓã»ÒòΪȫ¾Ö±äÁ¿µÄÄÚ´æ¿Õ¼äÊÇÖ±µ½·þÎñÆ÷¹Ø±Õºó²ÅÊͷŵÄ
2.ÔÚ±ê¼Ç·û<%%>Ö®¼äÉùÃ÷µÄ±äÁ¿ÊǾֲ¿±äÁ¿£¬ËüÖ»ÓÐÔÚµ±Ç°JspÒ³ÃæÖвÅÓÐЧ
×¢Ò⣺Èç¹ûÏëÔÚÿ¸öJspÒ³ÃæÖж¼Óõ½Ò»Ð©ÏàͬµÄJsp±äÁ¿£¬¿ÉÒÔÊÂÏȽ«ÕâЩ±äÁ¿ÉùÃ÷ºÃ£¬²¢½«ËüÃÇд³ÉÒ»¸öµ¥¶ÀµÄÎļþ£¬È»ºóÓÃ<%@
include%>»ò<jsp:include>Ö¸ÁÎļþ¼ÓÔؽøÀ´
Ïà¹ØÎĵµ£º
1.ÔÚJSPÖÐÉú³É¶¯Ì¬XML
¿ÉÒÔʹÓÃJSPÉú³ÉXML,ʹÓÃCSS»òÕßXSLת»»ºÍÏÔʾXML;
Ö»ÒªÔÚ¾²Ì¬µÄXMLÎĵµÄ£°åÖмÓÈëJava´úÂëºÍJSP±ê¼Ç£¬XML¾Í¿ÉÒÔÓо²±ä¶¯£¬²úÉú¶¯Ì¬µÄÄÚÈÝ£¬Éú³ÉXMLÎĵµµÄ·½·¨ºÜ¼òµ¥£¬Ö»ÐèÒªÔÚÎļþÖÐʹÓÃÖ¸Áîcontenttype,Èç<%@ page contenttype="text/xml"%>£»
ÔÚXMLÎĵµÖÐͬÑù¿ÉÒÔʹ ......
Ò»¡¢page ¶ÔÏó
page¶ÔÏó´ú±íJSP±¾Éí£¬¸ü׼ȷµØ˵Ëü´ú±íJSP±»×ªÒëºóµÄServlet£¬Ëü¿ÉÒÔµ÷ÓÃServletÀàËù¶¨ÒåµÄ·½·¨¡£
¶þ¡¢config ¶ÔÏó
config ¶ÔÏóÀï´æ·Å×ÅһЩServlet ³õʼµÄÊý¾Ý½á¹¹¡£
config& ......
http://www.ajaxbbs.net/post/extjs/10.html
ÓйØExtGridµ¼³öExcelµÄʵÏÖ·½Ê½£¬ÍøÉÏÒѾÓкܶ࣬¹Ù·½Ò²¸ø³öÁËÒ»¸ö·½°¸£¬´úÂë²»ÊǺÜÍêÉÆ£¬²»¹ýÒѾÓиßÈ˶ÔÕâ¸ö½øÐÐÁËÐÞÕý¡£¾ßÌåʵÏÖ·½Ê½¼°´úÂëÎÒÕâÀï¾Í²»ÔÙ¶à˵ÁË£¬´ó¼Ò¿ÉÒԲο´£º
http://www.dojochina.com/index.php?q=node/1254
£¬¸½¼þ£º
gridToExcel.js.txt
Æä»ù± ......
Ó¦ÓÃJSP£¬XMLºÍCSS¼¼ÊõʵÏÖµ¯³öʽ²Ëµ¥µÄ¹¤³Ì¿ò¼Ü¡£
×ۺϲÉÓÃJSP£¬JavaBean£¬XML£¬XSL£¬CSS£¬JavaScript¶àÏî¼¼ÊõµÄÓŵ㡣
ÔÚJSPÖÐʹÓÃXMLÎĵµ£¬XML¶¨ÒåÊý¾Ý¸ñʽ£¬ÔÚJSPÖÐÖ±½ÓÉú³ÉXMLÎļþ£¬ËüÓëJavaBean½»»¥£¬JavaBean¸ºÔð¶ÁÈ¡´æ´¢²Ëµ¥ÏîµÄÎļþ¡£
XSLʵÏÖXMLµ½HTMLµÄת»¯£¬CSSÎļþ¸ºÔðÑùʽµ¥µÄ¶¨Ò壬¶øJavaS ......
δµÇ½£¬½ûÖ¹·ÃÎÊÈκÎÒ³Ã棬×Ô¶¯Ìøתµ½µÇ½ҳ
package com.catalogeasy.filter;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax. ......