wjw465150 / run-jetty-run

Automatically exported from code.google.com/p/run-jetty-run
0 stars 0 forks source link

web.xml, web-jetty.xml configuration of the webapp #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have a webapp (apache solr) that comes bundled with a web.xml. The
default looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
  <filter>
    <filter-name>SolrRequestFilter</filter-name>
    <filter-class>org.apache.solr.servlet.SolrDispatchFilter</filter-class>

 I'm trying to override the filter-class, but no joy. I've tried putting
this fragment into web-jetty.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
  <filter>
    <filter-name>SolrRequestFilter</filter-name>
    <filter-class>mimo.AuthSolrDispatchFilter</filter-class>

Any help appreciated. Ehm.. in case it's not obvious.. I have no idea what
all of this does...

Thanks!

Original issue reported on code.google.com by miiim...@gmail.com on 18 May 2010 at 4:21

GoogleCodeExporter commented 9 years ago
Problem solved. Please ignore

Original comment by miiim...@gmail.com on 18 May 2010 at 5:33

GoogleCodeExporter commented 9 years ago

Original comment by tonylovejava on 11 Mar 2011 at 3:27