>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: [EMAIL PROTECTED] >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> <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 <servlet></servlet>. 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 <servlet> tag is in the web page when it is served to the user.</font></p> <p><font face="Arial"> </font></p> <p><strong><font face="Arial">Here is the SSI</font></strong></p> <servlet code="TestWebServlet.class"> </servlet> <p> </p> <p><font face="Arial">Here's some more HTML after the servlet.</font></p> <p> </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 <[EMAIL PROTECTED]> 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! ]
