jspÁ¬½ÓÊý¾Ý¿â
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<%@ page contentType="text/html; charset=gb2312" language="java"
import="java.sql.*"%>
<%
/*********************
********* JDBC_ODBCÁ¬½Ó SQL Server Êý¾Ý¿â£¬²»ÐèÒªÉèÖÃÊý¾ÝÔ´
********* Date: 2005.8
********* Email:fanwsp@126.com
********* Author: DreamTime [ÃÎÏëÄ껪]
********* ÓÐÈκλ¶ÓÌá³öÖ¸Õý
****************************/
//Çë¸ù¾ÝÐèÒª£¬Ñ¡ÔñÒ»ÖÖ·½·¨£¬È¥µôÏàÓ¦µÄ·½·¨µÄ×¢ÊÍ£¬²¢×¢ÊÍÆäËüûÓÐʹÓõÄ
//ÒÔϼ¸ÏîÇë×ÔÐÐÐÞ¸Ä
String server="localhost"; //SQL Server ·þÎñÆ÷µÄµØÖ·
String dbname="test"; //SQL Server Êý¾Ý¿âµÄÃû×Ö
String user="sa"; //SQL Server Êý¾Ý¿âµÄµÇ¼Óû§Ãû
String pass="chfanwsp"; //SQL Server Êý¾Ý¿âµÄµÇ¼ÃÜÂë
String port="1433"; //SQL Server ·þÎñÆ÷µÄ¶Ë¿ÚºÅ£¬Ä¬ÈÏΪ1433
/***** ·½·¨1£º *******
* ÓÃnet.sourceforge.jtds.jdbc.Driver
* (http://jtds.sourceforge.net/) &n
Ïà¹ØÎĵµ£º
ÎÒÃÇʹÓÃGoogleÌṩµÄiframeÈÃjspÒ³ÃæǶÈëµ½flexÖÐ
Ê×ÏÈ£¬Çëµ½http://code.google.com/p/flex-iframe/ÏÂÔØiframe µÄswc°ü
µÚ¶þ²½£¬°Ñswc°ü·ÅÈëflex_libsÖУ¬Èç¹û²»ÊÇwebÏîÄ¿¾Í·ÅÈëlibÏÂ
µÚÈý²½£¬´´½¨Ò»¸ömxmlÎļþ
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/ ......
1. RequestDispatcher.forward()
ÊÇÔÚ·þÎñÆ÷¶ËÆð×÷ÓÃ,µ±Ê¹ÓÃforward()ʱ,Servlet engine´«µÝHTTPÇëÇó´Óµ±Ç°µÄServlet or JSPµ½ÁíÍâÒ»¸öServlet,JSP »òÆÕͨHTMLÎļþ,Ò²¼´ÄãµÄformÌá½»ÖÁa.jsp,ÔÚa.jspÓõ½ÁËforward()Öض¨ÏòÖÁb.jsp,´ËʱformÌá½»µÄËùÓÐÐÅÏ¢ÔÚ b.jsp¶¼¿ÉÒÔ»ñµÃ,²ÎÊý×Ô¶¯´«µÝ. µ«fo ......
¸´Ñ¡¿òµÄʹÓü°JSP¶ÔÊý¾ÝµÄ´¦Àí
<!--
Description: HTML±íµ¥¸´Ñ¡¿ò¼°JSP´¦Àí²âÊÔ
Author: pxzl
Date: 2009-08-05 15:12:43
-->
<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
<%
String[] cheArray1=request.getParameterValues("chkbox1");
String[] cheArray2=req ......
֮ǰ,д¹ýÒ»¸öDownload.jspÎļþ,Äܽâ¾öÏÂÔØÎļþÂÒÂëÎÊÌâ(ÖîÈç:DOC,XSLÎļþµÈµÈ).
ºóÀ´·¢ÏÖ,Óö¼ûÖÐÎÄÃûµÄÎļþµÄʱºò,ÎļþÏÂÔؽ«»á±¨´í~~~~
½ñÌì,ͨ¹ý¸ÄдÔDownload.jspÎļþÒÑÍêÈ«½â¾öÁËÕâ¸öÎÊÌâ~
Ä¿Ç°,°ÑÒ»ÕûÌ×µÄÎļþÉÏ´«ÏÂÔصķ½·¨¸øÌù³öÀ´~~~ÒÔ±ã´ó¼Ò½è¼ø!~!~!~!~!
×÷Õß:¹Å°£¼°·¨ÀÏ
------------------------ ......
¡¡ÏÖÔÚÓкöà³õѧjspµÄÍøÓѾ³£»áÎÊÊý¾Ý¿âÔõôÁ¬½Ó°¡£¬ÔõôÀϳö´í°¡£¿ËùÒÔÎÒ¼¯ÖеÄÔÚÕâдƪÎÄÕ¹©´ó¼Ò²Î¿¼£¬ÆäʵÕâÖÖ°ÑÊý¾Ý¿âÂ߼ȫ²¿·ÅÔÚjspÀïδ±ØÊǺõÄ×ö·¨£¬µ«ÊÇÓÐÀûÓÚ³õѧÕßѧϰ£¬ËùÒÔÎÒ¾ÍÕâÑù×öÁË£¬µ±´ó¼Òѧµ½Ò»¶¨³Ì¶ÈµÄʱºò£¬¿ÉÒÔ¿¼ÂÇÓÃMVCµÄģʽ¿ª·¢¡£ÔÚÁ·Ï°ÕâЩ´úÂëµÄʱºò£¬ÄãÒ»¶¨½«jdbcµÄÇý¶¯³ÌÐò·Åµ½·þÎñÆ÷µÄÀà ......