You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Brian Wert <bw...@neo.lrun.com> on 1998/08/05 12:31:19 UTC

mod_jserv/2786: JServSSI not displaying rest of HTML page after tag pair

>Number:         2786
>Category:       mod_jserv
>Synopsis:       JServSSI not displaying rest of HTML page after <servlet>tag pair
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Aug  5 03:40:00 PDT 1998
>Last-Modified:
>Originator:     bwert@neo.lrun.com
>Organization:
apache
>Release:        1.3.0
>Environment:
Linux 2.0.32, Mod_Jserv 0.9.11
>Description:
This is a Simple servlet that displays some HTML and and IP address of the machine caling the servlet.  When this servlet is included in a page with the <servlet> tag pair, the rest of the HTML on the .jhtml page does not display in the browser.

Here is the HTML for the URL Below:

<html>
<head>
<title>Java Servlet SSI Example</title>
</head>
<body>
<h2 align="center"><font face="Arial">Java Servlet Server Side Include Example Page</font>
&nbsp;&nbsp; <img src="images/alug.jpg" alt="alug.jpg (5955 bytes)" align="middle"></h2>

<hr>

<p><font face="Arial">This example file includes an additional tag
&lt;servlet&gt;&lt;/servlet&gt;.&nbsp; The Apache Web server is configured to re
cognize the .jhtml extension, and will perform a Server Side Include on the page if the special &lt;servlet&gt; tag is in the web page when it is served to the user.</font></p>

<p><font face="Arial">&nbsp;</font></p>

<p><strong><font face="Arial">Here is the SSI</font></strong></p>
<servlet code="TestWebServlet.class">
</servlet>

<p>&nbsp;</p>

<p><font face="Arial">Here's some more HTML after the servlet.</font></p>

<p>&nbsp;</p>
</body>
</html>
>How-To-Repeat:
SSI = http://alug.adg.org/servlet_ssi_example_page.jhtml
Servlet only = http://alug.adg.org/servlets/TestWebServlet
>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]