Try this:
<jsp:include getProperty name='company' property="descUrl"/>
or something like it my syntax is surely off.
John Walstra <[EMAIL PROTECTED]>
09/25/2002 11:56 PM
Please respond to "Tomcat Users List"
To: "Tomcat Users List" <[EMAIL PROTECTED]>
cc:
Subject: Re: Server side include
Well it works, sort of. It's not processing of my JSP tags in a SSI paqe.
They
just end up in the document. I turned on debugging to 5 in web.xml for
SSI,
but it hasn't printed any errors. Any clue?
On Thursday 26 September 2002 1:27 am, John Walstra wrote:
> Doh! I missed that section. I uncommented it and it works now.
>
> Thanks,
> John
>
> On Thursday 26 September 2002 1:04 am, Robert L Sowders wrote:
> > You are on the right track with naming the file .shtml. Since you
have
> > not told me what your configuration is, it is hard to give you a
> > definitive answer.
> >
> > Are you using Tomcat as a stand-alone web server or are you using an
> > Apache/Tomcat mix? Which versions of each would also help.
> >
> > Let's assume that you are using Tomcat 4.1.12 as a stand alone web
server
> > and have correctly renamed the jars and uncommented the correct
section/s
> > in conf/web.xml.
> >
> > If the container servlet is being loaded but the contents of .shtml
files
> > are being displayed instead of rendered then check in the conf/web.xml
> > file and make sure the following is uncommented;
> >
> > <!-- The mapping for the SSI servlet -->
> > <!--
> > <servlet-mapping>
> > <servlet-name>ssi</servlet-name>
> > <url-pattern>*.shtml</url-pattern>
> > </servlet-mapping>
> > -->
> >
> > If that's not it then I'm running out of answers.
> >
> > rls
> >
> >
> >
> >
> >
> >
> > John Walstra <[EMAIL PROTECTED]>
> > 09/25/2002 08:09 PM
> > Please respond to "Tomcat Users List"
> >
> >
> > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > cc:
> > Subject: Re: Server side include
> >
> > I've already done that. And if I name my give my file an .shtml
extension
> > I
> > just get the document source. The logs shows it's loading ..
> >
> > 2002-09-25 21:35:30 StandardWrapper[/jkw:ssi]: Loading container
servlet
> > ssi
> >
> >
> > I've put ...
> >
> > <!--#include file="cnet.html" -->
> > <!--#config timefmt="%A %B %d, %Y" -->
> > <!--#echo var="DATE_LOCAL" -->
> >
> > and gotten nothing.
> >
> > On Wednesday 25 September 2002 9:27 pm, Robert L Sowders wrote:
> > > Look in the conf/web.xml file. Instructions are there on how to
turn
> > > it on.
> > >
> > > rls
> > >
> > >
> > >
> > >
> > >
> > > John Walstra <[EMAIL PROTECTED]>
> > > 09/25/2002 07:07 PM
> > > Please respond to "Tomcat Users List"
> > >
> > >
> > > To: Tomcat Mailing List <[EMAIL PROTECTED]>
> > > cc:
> > > Subject: Server side include
> > >
> > > I'd like to user server side includes in my JSP. I've renamed
> > > servlets-ssi.renametojar to servlets-ssi.jar and uncommented
> > > the SSI area in my web.xml.
> > >
> > > I've placed ...
> > >
> > > <!--#include virtual="<jsp:getProperty name="company"
> > > property="descUrl"/>"
> > > -->
> > >
> > > into my JSP, but it doesn't include the document. It however does
place
> >
> > an
> >
> > > HTML comment.
> > >
> > > <!--#include virtual="cnet.html" -->
> > >
> > > which is not really what I want.
> > >
> > > It doesn't look like it's processing my JSP. Do I have to have an
> > > .shtml extension? If so, can I change that?
--
John Walstra
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
I want to read my new poem about pork brains and outer space ...
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>