tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ole Ersoy <ole.er...@gmail.com>
Subject StandardContext start,SEVERE: Error filterStart When Including HttpServletRequestWrapper in Filter in 6.0.14
Date Sat, 02 Feb 2008 20:53:16 GMT
Hi,

I'm getting a:

org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart

When inluding an HttpServletRequestWrapper in a filter.  The code compiles fine and the filter
part causing the ruckus looks like this:

		HttpServletRequestWrapper wrapper = 
			new HttpServletRequestWrapper((HttpServletRequest)servletRequest) 
			{
			   public java.lang.String getParameter(java.lang.String name) 
			   {
			      if ("foo".equals(name)) 
			      {
			         return "bar";   
			      }
			      else 
			      {
			         return super.getParameter(name);   
			      }
			   }
			};
Thoughts?

Thanks,
- Ole









---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message