Hi Jan, I'm using 9.3.8.v20160314.
Yes that's true, it comes with the default distribution and I could use this one. However I also have the same question for, say, the tiles taglib for example, and a few others. Thanks Ben On Tue, May 10, 2016 at 4:28 PM, Jan Bartel <[email protected]> wrote: > Benjamin, > > You don't say what version of jetty you are using, but jetty has provided > the jstl jars for many releases now. All you have to do is enable the jstl > module. > > Jan > > On 11 May 2016 at 09:14, Joakim Erdfelt <[email protected]> wrote: > >> The technique you want ... >> >> First: setup a proper ${jetty.base} >> Second: don't ever modify/change/edit/delete/rename any content in >> ${jetty.home} >> Third: keep the directories separate, not nested within each other. >> >> If you want arbitrary libs to exist in the server classpath, enable the >> "ext" module for your ${jetty.base} and put them in your >> ${jetty.base}/lib/ext/ directory. >> >> Test if you have the server classpath setup correctly by ... >> >> $ cd /path/to/my/jettybase >> $ java -jar /path/to/my/jettyhome/start.jar --list-config >> >> >> >> Joakim Erdfelt / [email protected] >> >> On Tue, May 10, 2016 at 3:34 PM, Benjamin Jaton <[email protected] >> > wrote: >> >>> Hello, >>> >>> I have an existing embedded jetty and I would like to have the >>> jstl-1.2.jar shared instead of having it inside each war. >>> >>> So I am setting the jetty.home property to /path/to/folder/ >>> and I put the jar in /path/to/folder/*lib/web/jstl-1.2.jar * >>> >>> Then I set this: >>> >>> webAppContext.setAttribute("org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern", >>> >>> ".*/jstl-1.2.jar$"); >>> >>> >>> https://www.eclipse.org/jetty/documentation/9.2.7.v20150116/configuring-webapps.html >>> >>> However I still get this error in my logs: >>> >>> org.apache.jasper.JasperException: /WEB-INF/jsp/login.jsp (line: 1, >>> column: 1) The absolute uri: http://java.sun.com/jsp/jstl/core cannot >>> be resolved in either web.xml or the jar files deployed with this >>> application >>> >>> I tried to use ".*/.*/jstl-1.2.jar" and the full path of the jar without >>> success. >>> I tried to switch to DEBUG but I couldn't see anything about scanning >>> the jars (just the o.e.j.a.AnnotationParser ones) >>> >>> Any idea? >>> >>> Thanks, >>> Ben >>> >>> _______________________________________________ >>> jetty-users mailing list >>> [email protected] >>> To change your delivery options, retrieve your password, or unsubscribe >>> from this list, visit >>> https://dev.eclipse.org/mailman/listinfo/jetty-users >>> >> >> >> _______________________________________________ >> jetty-users mailing list >> [email protected] >> To change your delivery options, retrieve your password, or unsubscribe >> from this list, visit >> https://dev.eclipse.org/mailman/listinfo/jetty-users >> > > > > -- > Jan Bartel <[email protected]> > www.webtide.com > *Expert assistance from the creators of Jetty and CometD* > > > _______________________________________________ > jetty-users mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/jetty-users >
_______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
