⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 171.html

📁 关于jsp的一些好文章 主要介绍一些关于JSP的应用技巧方面的东西
💻 HTML
字号:

<STYLE type=text/css>
<!--
body,td { font-size:9pt;}
hr { color: #000000; height: 1px}
-->
</STYLE>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD><TITLE>FAQ汇萃 >> Tomcat >> How do I configure Tomcat to use JSSI for .jhtm/.jhtml pages?</title>
</head>
<body >

<p><IMG SRC="../image/jsp001_middle_logo.gif" WIDTH="180" HEIGHT="60" BORDER=0 ALT=""></p>

<table width=100% bgcolor="#cccccc" align=center cellpadding="2" cellspacing="0" border=1 bordercolorlight="#000000" bordercolordark="#FFFFFF">
<tr bgcolor="#EFF8FF"><td>
<a href=../list_thread.php?int_attribute=1>FAQ汇萃</a>
>> <a href=../list_thread.php?forumid=11&int_attribute=1>Tomcat</a>
>> How do I configure Tomcat to use JSSI for .jhtm/.jhtml pages? [<a href=../forum/showthread.php?goto=newpost&threadid=171>查看别人的评论</a>]<br>

<hr><p>由 webmaster 发布于: 2001-01-30 10:44</p><p><img src="images/icons/icon2.gif" alt="Arrow" border=0> </p><p><a href="http://java.apache.org/jservssi/" target=_blank>http://java.apache.org/jservssi/</a> - the JServ JSSI servlet should do the trick.
<br>
<br>From: "Craig R. McClanahan" &lt;Craig.McClanahan@eng.sun.com&gt;
<br>To: tomcat-user@jakarta.apache.org
<br>Subject: Re: how to use jssi with tomcat
<br>
<br>Shilpa Kulkarni wrote:
<br>
<br>&gt; hello all,
<br>&gt;
<br>&gt; i want to use &lt;servlet&gt; tag to include the contents of the servlet in my
<br>&gt; page.
<br>&gt; with apache server, u can use Apache JSSI to do this along with Apache
<br>&gt; Jserv.
<br>&gt;
<br>&gt; with tomcat, how do i use JSSI to include &lt;servlet&gt; tags in my jsp.
<br>&gt;
<br>
<br>It would be technically feasible for a servlet or RequestInterceptor that
<br>does this to be created -- or perhaps JSSI could be adapted to work under
<br>Tomcat.  Any such contributions would be gratefully accepted.
<br>
<br>
<br>From: "Mike Bremford" &lt;mikeb@paperx.com&gt;
<br>To: &lt;tomcat-user@jakarta.apache.org&gt;
<br>Subject: RE: how to use jssi with tomcat
<br>Date: Fri, 15 Sep 2000 16:50:47 +0100
<br>
<br>If there is a RequestInterceptor for this, I would love to hear of it too!
<br>
<br>In the meantime, you can always convert them to JSP's: Just change the lines
<br>
<br>&lt;servlet name=myServlet&gt;
<br>  &lt;param name=aParam value=aValue&gt;
<br>&lt;/servlet&gt;
<br>
<br>into
<br>
<br>&lt;jsp:include page="/servlet/myServlet" flush="true" &gt;
<br>  &lt;jsp:param name="aParam"  value="aValue" /&gt;
<br>&lt;/jsp:include&gt;
<br>
<br>(examples shamelessly stolen from an earlier discussion - see
<br><a href="http://www.metronet.com/~wjm/tomcat/FromFeb11/msg00018.html" target=_blank>http://www.metronet.com/~wjm/tomcat/FromFeb11/msg00018.html</a> )
<br></p></td>
  </tr>
</table>
<p>
<CENTER><a href="../forum/newreply.php?action=newreply&threadid=171">点这里对该文章发表评论</a></CENTER>
<p>该文章总得分是 <font color=red>0</font> 分,你认为它对你有帮助吗?
				[<a href=javascript:void(0) onclick=window.open("../forum/codeVote.php?threadid=171&intVote=4","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>非常多</a>](<font color=red>0</font>) 
				[<a href=javascript:void(0) onclick=window.open("../forum/codeVote.php?threadid=171&intVote=2","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>有一些</a>](<font color=red>0</font>) 
				[<a href=javascript:void(0) onclick=window.open("../forum/codeVote.php?threadid=171&intVote=1","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>无帮助</a>](<font color=red>0</font>) 
				[<a href=javascript:void(0) onclick=window.open("../forum/codeVote.php?threadid=171&intVote=-1","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>是灌水</a>](<font color=red>0</font>) </p>

<script language="javascript" src="../include/read_thread_script.php?threadid=171"></script>

<p><CENTER>
Copyright &copy; 2001 - 2009 JSP001.com . All Rights Reserved <P>

<IMG SRC="../image/jsp001_small_logo.gif" WIDTH="85" HEIGHT="30" BORDER=0 ALT="">
</CENTER></p>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -