The problem here is specific to maven, and how you get the equivalent of those lib/jsp classes .
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=330418 for the resolution with the developers. On Wed, Nov 17, 2010 at 2:11 AM, David Parks <[email protected]> wrote: > Funny, I've been trying to figure out how to turn JSP support off. I think > it's on by default, take a look at this question: > > http://stackoverflow.com/questions/4131505/jetty-automatically-loads-jsp-sup > port-how-can-that-be-turned-off > > Specifically I noticed this log (which I don't fully understand myself), > that seems to indicate that JSPs will be processed (though in my case I > don't use JSPs): > > (the log was too cluttered to post to plain text so you can see it nicely > formatted on stackoverflow if you want). > > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Nick Fenwick > Sent: Wednesday, November 17, 2010 1:30 PM > To: JETTY user mailing list > Subject: Re: [jetty-users] JSP support when launching from the API > > On 11/17/2010 05:37 AM, Benson Margulies wrote: >> I've been asked to turn on JSP support for our application that uses >> the full embedded API with 7.1.2. I'm stumped. All the doc I can find >> talks about using start.jar, but I'm not using start.jar. What's the >> equivalent in terms of handlers and webapps and such? > > I run an embedded Jetty (a JettyMain class with a main method that > instantiates an instance of Server and calls start() on it) and I don't seem > to do any magic to make JSP's work. Perhaps it's your classpath? > I add all .jar files from the jetty lib dir to my classpath, i.e. > $JETTY_HOME/lib/*.jar - this is done by an ant <path> directive that uses a > <fileset> to gather every .jar in the lib dir. I don't provide any command > line arguments or java VM directives to enable JSP support. > > What happens when you request a jsp? i.e. > http://localhost/contextroot/something.jsp > > Nick > _______________________________________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users > > _______________________________________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users > _______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
