¡¾jsp¡¿jspÒ³Ãæ±í¸ñºÍ±íÍ·µÄÆ´½Ó
×öÁËÒ»¸öСģ¿é ÐèÒª ÔÚjspÒ³ÃæÉÏ°´ÕÕExcel±¨±í¸ñʽÏÔʾ±íÍ· ËäÈ»²»¸´ÔÓ µ«ÊǵÚÒ»´Î×ö Áô¸ö¼ÍÄî
ÕâЩ¶«Î÷¸ßÊÖµ±È»ÊDz»ÐèÒªÁË µ«ÊǶÔÓÚû×ö¹ýµÄ ¿ÉÄÜ»á¸øÄãÒ»µãµãÊÕ»ñ
ҪעÒâµÄÊÇ ±íÍ·µÄrowspanºÍcolspan ºáÊúҪƥÅä ²»È»ÏÂÃæÔÙÌí¼Ó ±í¸ñ»áÂÒ ÓÐɶ²»Çå³þµÄ »¶ÓÁôÑÔ
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../../include_taglib.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></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 href="../../../css/css.css" mce_href="css/css.css" rel="stylesheet" type="text/css"></head>
<SCRIPT src="../../../js/setTime.js" mce_src="js/setTime.js" type=text/javascript></SCRIPT>
<mce:script language="javascript"><!--
function check_delete() {
if (confirm("ÄãÈ·ÈÏҪɾ³ýÂð£¿")) {
return true;
}
return false;
}
// --></mce:script>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" >
<table id="table5" width="100%" height="24" border="0" cellpadding="0" cellspacing="0" background="../../../images/main_27.gif">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" background="../../../images/main_25.gif">
<tr>
<td width="6"><img src="../../../images/main_24.gif" mce_src="images/main_24.gif" height="24"></td>
<td valign="bottom" class="txtglow1">µ÷¶ÈÉú²úÈÕ±¨¡¡<c:out value="${requestScope.reportdate}"></c:out>¡¡ </td>
<td width="4"><img src="../../../images/main_26.gif" mce_src="images/main_26.gif" height="24"></td>
</
Ïà¹ØÎĵµ£º
ѧϰËÑË÷ÒýÇ棬£¬·¢¾õjspµ÷ÓÃjava´óÖÂÓÐ3ÖÖ·½·¨¡£
µÚÒ»ÖÖ£¬Ê¹ÓÃjavabean¡£ÀýÈç
<jsp:useBean id="mm" class="com.ReadComm" scope="page"> </jsp:useBean>
classÖÐÌîдclass·¾¶¡£
µÚ¶þÖÖ£¬Ö±½ÓimportÒýÓÃjavaÀà
±ÈÈ磺 <%@ page import="java.util.*"%>
°ÑÄãµÄÀà·Åµ½WEB-INF\classesÏ£¬ÒýµÃʱ ......
ÔÚJSPÀ»ñÈ¡¿Í»§¶ËµÄIPµØÖ·µÄ·½·¨ÊÇ£ºrequest.getRemoteAddr£¨£©£¬ÕâÖÖ·½·¨Ôڴ󲿷ÖÇé¿ö϶¼ÊÇÓÐЧµÄ¡£µ«ÊÇÔÚͨ¹ýÁË
Apache£¬SquidµÈ·´Ïò´úÀíÈí¼þ¾Í²»ÄÜ»ñÈ¡µ½¿Í»§¶ËµÄÕæʵIPµØÖ·ÁË¡£Èç¹ûʹÓÃÁË·´Ïò´úÀíÈí¼þ£¬ÓÃ
request.getRemoteAddr£¨£©·½·¨»ñÈ¡µÄIPµØÖ·ÊÇ£º127.0.0.1»ò
192.168.1.110£¬¶ø²¢²»ÊÇ¿ ......
ÐèÒª¼ÇסµÄ֪ʶµã£º
1 ÇëÇóÓ¦´ðģʽ£¬¿Í»§¶Ë·¢ËÍÇëÇ󣬷þÎñÆ÷½øÐÐÏìÓ¦
2 JSPÎļþÊÇÔÚ·þÎñÆ÷¶ËÖ´ÐеÄ
3 ·µ»Ø¸ø¿Í»§¶ËµÄ½á¹ûÊÇJSPÎļþÖ´ÐеĽá¹û£¬²»°üº¬ÈκÎJSPÓï·¨
4 ÄÚ²¿¶ÔÏóÊÇÔÚ°ÑJSPÎļþת»»ÎªJava´úÂëµÄʱºòÉú³ÉµÄ
5 Ö´ÐеIJ¢²»ÊÇJSPÎļþ±¾Éí£¬¶øÊÇJSPת»»³ÉµÄJavaÀàµÄ¶ÔÏóµÄ·½·¨£¬ËùÒÔÓÐʱºòÐÞ¸ÄJSPÎļþ² ......
a.jspÒ³ÃæÄÚÈÝ£º
%26lt;%@ page language£½"java" import£½"java.util." pageEncoding£½"GB2312"%%26gt;%26lt;form action£½"b.jsp"%26gt; name£º%26lt;input type£½text name£½name%26gt; %26lt;input type£½submit%26gt;%26lt;/form%26gt;
b.jspÒ³ÃæÄÚÈÝ£º
%26lt;%@ page language£½"java" import£½"java.util." pageE ......
±¾ÎÄ×÷ÕߣºØýÃû
ËùÊô·ÖÀࣺÍøÂç±à³Ì
¼ÓÈëʱ¼ä£º2006-1-19
µã»÷´ÎÊý£º396
<%@ page language="java" contentType="text/html" %>
<%@ page import="com.ora.jsp.util.*" %>
<html>
<body bgcolor="white">
<form action="checkbox.jsp">
<input type="checkbox" name="fr ......