Hi! Remy,
For TC5.5.3
I put the context in conf\context.xml as follows
<!-- The contents of this file will be loaded for each web application -->
<Context path="" docBase="ROOT" debug="0">
<!-- Default set of monitored resources -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<WatchedResource>META-INF/context.xml</WatchedResource>
<!-- Uncomment this to disable session persistence across Tomcat
restarts -->
<!--
<Manager pathname="" />
-->
<Valve className="com.oreilly.tomcat.valves.BadInputFilterValve"
deny="\x00,\x04,\x08,\x0a,\x0d"/>
</Context>
TC5.5.3 starts no errors, but when I accessed it http://localhost:8080, a blank
page
Appears. If I take out the above context, I can the page, something wrong with
how do
I move the conf\server.xml context into the TC5.5.3 file?
David
-----Original Message-----
From: Remy Maucherat [mailto:[EMAIL PROTECTED]
Sent: Friday, November 26, 2004 3:31 PM
To: Tomcat Users List
Subject: Re: How to add a request filter for TC5.5.3? It was working for
TC5.0.29!
On Fri, 26 Nov 2004 15:14:27 -0800, David Lee <[EMAIL PROTECTED]> wrote:
> Dear Folks,
>
> I have a test request filter on TC5.0.29. It is defined in server.xml
> as follows and it works:
>
> conf\server.xml:
>
> <Context path="" docBase="ROOT" debug="0"> <Valve
> className="com.oreilly.tomcat.valves.BadInputFilterValve"
> deny="\x00,\x04,\x08,\x0a,\x0d"/>
> </Context>
>
> How do I move this context into TC5.5.3, I tried to put it into
> conf\context.xml file and I saw the errors when I started TC5.5.3. I
> struggle for a while and still don't know how to do it?
The Valve API was slightly changed in 5.5. This is likely what causes the
errors you see.
--
xxxxxxxxxxxxxxxxxxxxxxxxx
R�my Maucherat
Developer & Consultant
JBoss Group (Europe) S�RL
xxxxxxxxxxxxxxxxxxxxxxxxx
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]