valve

Can I use a Tomcat Valve with Jetty?

Is it possible to use a Valve for Tomcat also together with Jetty? If yes how can I set it up with jetty.xml and/or embedded? ...

jboss valve encoding problem while url rewriting

Hi all, I have an app., coded with ejb3, jsf and maven, which runs on jboss 4.2.2GA The problem I have been facing for 2 days is I cannot convert non-english characters that are added to url on runtime. For instance, there is a search textbox and a button. When a user enters a word including non-english characters, and pushes the butto...

How to configure jboss rewrite valve settings

Hi all, I am developing a web app. using struts2 and jboss url rewrite valve as you see from the title. What i want to know is which are the neccessary jboss configuration files to configure rewrite valve settings? Besides, I couldn't find any information in order to fix my non-english character problem while url rewriting. Some flags l...

Custom Tomcat Valve Configuration

Hi, I wrote a custom Tomcat valve. (I'm using Tomcat 6.0.24 and Java 1.6) Here's the XML element where I declare my valve: <Valve className="mypkg.MyValve" foo="bar"/> When I put this declaration inside server.xml's Host element. Tomcat calls the setFoo() method on my valve with the value "bar". That's what I want to happen. Ho...

Web application specific form authenticator under Tomcat 6

Hi to everyone. With your help I have successfully resolved a question that I have asked here. I have developed a custom Tomcat authenticator for the web application, and currently the authenticator and its configuration file are located in the %CATALINA_HOME%\lib\ directory. Unfortunately, the authenticator configuration file is almost...