You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Yannis Tsakonikos <jt...@forthnet.gr> on 2000/12/08 08:59:31 UTC
Re: Question...(Tomcat and JSSI)
In the documentation Tomcat-Apache HOWTO it says :
"Tomcat doesn't support JSSI Until someone writes an Interceptor to handle
them, the easiest way is to convert your .jhtml files to .jsp files. Just
replace:
<servlet name=myServlet>
<param name=aParam value=aValue>
</servlet>
with
<jsp:include page="/servlet/myServlet" flush="true" >
<jsp:param name="aParam" value="aValue" />
</jsp:include> "
Apart from changing the file extension to .jsp and rewrite the tag
according to the above what else is needed for it to work? I tried it and
it doesnot even try to load the page giving an error message of 'page not
found'. Has anyone written an interceptor for the above task? Is the
ApacheJSSI.jar module needed for this? Thanks.
Yannis. :-)
>On Thu, 7 Dec 2000 jon@latchkey.com wrote:
>
> >
> > s/SSI/JSP/
> >
> > :-)
> >
> > (if you can't read a regex, that says: use JSP, it does the same thing as
> > SSI)
>
>Indeed.. if anyone wants, I've got a small script 'ssi2jsp.py' that goes
>through a directory, and for each file x.html with an SSI include, creates
>an equivalent x.jsp.
>
>--Jeff
>
> >
> > -jon
> >
> > > Hi,
> > >
> > > I only discovered Tomcat a couple weeks ago but I must say I'm pretty
> > > excited about it - nice piece of work. I'm running apache and Tomcat
> > > on a Caldera Linux install. I've got a simple question.
> > >
> > > Can Tomcat do a simple server-side include, or is that better left to
> > > Apache?
> > >
> > > Basicly, I discovered that the Apache I've got at the moment doesn't
> > > seem to want to do a server-side include, so rather than start
> > > re-building it, I began to wonder if this is something Tomcat is
> > > intended to handle. If Tomcat is intended to handle a simple
> > > server-side include, how is this configured?
> > >
> > > Thanks!
> > >
> > > ---
> > > Jeff Sexton
> > > ODS Health Plans
> > > jsexton@odshp.com
> >
> >
> > --
> > Scarab -
> > Java Servlet Based - Open Source
> > Bug/Issue Tracking System
> > <http://scarab.tigris.org/>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: general-help@jakarta.apache.org
> >
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: general-help@jakarta.apache.org
Re: Question...(Tomcat and JSSI)
Posted by Jeff Turner <je...@socialchange.net.au>.
Depends what you mean by SSI. I'm referring to mod_include SSIs:
<!--#element attribute=value attribute=value ... -->
I suspect this is what the original poster meant.
--Jeff
On Fri, 8 Dec 2000, Yannis Tsakonikos wrote:
> In the documentation Tomcat-Apache HOWTO it says :
>
> "Tomcat doesn't support JSSI Until someone writes an Interceptor to handle
> them, the easiest way is to convert your .jhtml files to .jsp files. Just
> replace:
> <servlet name=myServlet>
> <param name=aParam value=aValue>
> </servlet>
> with
> <jsp:include page="/servlet/myServlet" flush="true" >
> <jsp:param name="aParam" value="aValue" />
> </jsp:include> "
>
> Apart from changing the file extension to .jsp and rewrite the tag
> according to the above what else is needed for it to work? I tried it and
> it doesnot even try to load the page giving an error message of 'page not
> found'. Has anyone written an interceptor for the above task? Is the
> ApacheJSSI.jar module needed for this? Thanks.
>
> Yannis. :-)
>
>
> >On Thu, 7 Dec 2000 jon@latchkey.com wrote:
> >
> > >
> > > s/SSI/JSP/
> > >
> > > :-)
> > >
> > > (if you can't read a regex, that says: use JSP, it does the same thing as
> > > SSI)
> >
> >Indeed.. if anyone wants, I've got a small script 'ssi2jsp.py' that goes
> >through a directory, and for each file x.html with an SSI include, creates
> >an equivalent x.jsp.
> >
> >--Jeff
> >
> > >
> > > -jon
> > >
> > > > Hi,
> > > >
> > > > I only discovered Tomcat a couple weeks ago but I must say I'm pretty
> > > > excited about it - nice piece of work. I'm running apache and Tomcat
> > > > on a Caldera Linux install. I've got a simple question.
> > > >
> > > > Can Tomcat do a simple server-side include, or is that better left to
> > > > Apache?
> > > >
> > > > Basicly, I discovered that the Apache I've got at the moment doesn't
> > > > seem to want to do a server-side include, so rather than start
> > > > re-building it, I began to wonder if this is something Tomcat is
> > > > intended to handle. If Tomcat is intended to handle a simple
> > > > server-side include, how is this configured?
> > > >
> > > > Thanks!
> > > >
> > > > ---
> > > > Jeff Sexton
> > > > ODS Health Plans
> > > > jsexton@odshp.com
> > >
> > >
> > > --
> > > Scarab -
> > > Java Servlet Based - Open Source
> > > Bug/Issue Tracking System
> > > <http://scarab.tigris.org/>
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: general-help@jakarta.apache.org
> > >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: general-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org
>