----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hi all - I recently ran up against an odd situation while looking
at gnujsp - but it seems more general to jserv (and perhaps apache - 
I can't test anything except apache here)

I know apache ('least this version) doesn't allow more than one
handler per page type - but the include seems to skirt this just
enough to maybe provide a possible migration path to more servlet 
use on some existing (large) sites.

Anyway - if I have a servlet which doesn't output normal page start/end
tags - and I include that servlet from a base page which uses something 
other than the jserv handler - the servlet executes fine but produces 
it's output in the correct place - but twice - not interleaved - rather, 
one set of output followed immediately by a second full instance of the 
servlet output.

This does not happen for other file types (text, html etc.)

It only happens if I use the standard SSI #include syntax (file OR 
virtual) - as in ...
      <!--#include virtual="/zone/someServlet?abc=whatever" -->

IF, on the other hand, I use the base page handler's include mechanism
instead of normal ssi syntax, only one instance of the servlet's output 
is included.

I first noticed this while looking at gnujsp - then for jserv/JSSI 
and plain old servlets as well 

using apache 1.3.6 with stronghold and neowebscript (like a tcl php) mods
jserv 1.1 (DSO for all -btw)
jsdk 2.0
jssi 1.1.2
gnujsp 1.0.0 (and 1.0.1b1)

Am I missing something fundamental here?  
--
Wishing you an "OOBA OOBA" Y2K!!!
Horace                            ...once known as "Kicker" :-)  
================================================================
Horace Vallas    hav.Software                http://www.hav.com/     
                 P.O. Box 354                        [EMAIL PROTECTED]
                 Richmond, Tx.  77406-0354        (281) 341-5035 

Thawte Web Of Trust Notary in SW Houston, Tx.
http://www.hav.com/?content=/thawteWOTnotary.htm
================================================================
...drop by and chat if I'm online       http://www.hav.com/chat/
...or pgpFone me                                 209.113.115.117   
===   ===   ===   ===   ===   ===   ===   ===   ===   ===   ====
The probability of life originating from accident is comparable 
to the probability of the Unabridged Dictionary resulting from 
an explosion in a printing factory.   - Prof. Edwin Conklin
===============================================================


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to