Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] "jsp" folder created on startup

I just migrated my app from jetty 6 to 7.

Everything went well, except there is one minor issue i'm not sure how to fix.

The app does not use JSP, and I get the warning:

2009-11-02 12:12:00,546 INFO org.eclipse.jetty.util.log - jetty-7.0.0.v20091005
2009-11-02 12:12:00,709 INFO org.eclipse.jetty.util.log - NO JSP
Support for , did not find org.apache.jasper.servlet.JspServlet

this is fine, BUT it also creates a folder "jsp" when it starts.

Anyway I can disable that?

I am starting jetty with a webapp context that is programatically loaded:

WebAppContext ctx = new WebAppContext();
    if( ctx.getMimeTypes() == null ) {
      ctx.setMimeTypes( new MimeTypes() );
    }
    WebXmlConfiguration cfg = new WebXmlConfiguration() {
      @Override
      protected Resource findWebXml(WebAppContext context) throws
IOException, MalformedURLException
      {
        String v =
ConfigClass.class.getPackage().getName().replace('.', '/')+"/web.xml";
        System.out.println( "Loading: "+v );
        return Resource.newClassPathResource( v );
      }
    };
    cfg.preConfigure( ctx );
    cfg.configure( ctx );
    cfg.postConfigure( ctx );


thanks for any pointers...

ryan


Back to the top