With the latest version of Pax Web you might not need to embed the taglibs anymore since I added the bundles which are imported to the jasper classloader. This way it should be possible to get a hold on those extra taglibs, unless the bundles which do contain those aren't imported :)
regards, Achim P.S. Lukasz we should put this somewhere in the karaf manual / howto for a broader audience. 2011/3/31 Łukasz Dywicki <[email protected]>: > Hi all, > I found my old project. From details provided by steam it looks like there is > no all required imports: > > In my example I had following packages imported: > > Core spring dependency > org.springframework.context, > org.springframework.context.support, > > Spring DM web stuff > org.springframework.osgi.web.context.support, > > Servlet and mvc > org.springframework.web.context, > org.springframework.web.servlet, > org.springframework.web.servlet.handler, > org.springframework.web.servlet.i18n, > org.springframework.web.servlet.view, > org.springframework.web.servlet.view.document, > org.springframework.web.servlet.view.json, > org.springframework.web.servlet.view.feed, > org.springframework.web.servlet.view.tiles2, > org.springframework.web.servlet.theme, > org.springframework.web.servlet.tags, > org.springframework.web.servlet.tags.form, > org.springframework.web.servlet.mvc, > org.springframework.web.servlet.mvc.annotation, > > If you use json features in Spring WebMVC > org.codehaus.jackson, > org.codehaus.jackson.map, > > > If you wish to use tiles > org.apache.tiles, > org.apache.tiles.preparer, > org.apache.tiles.renderer.impl, > org.apache.tiles.evaluator, > org.apache.tiles.context, > org.apache.tiles.renderer, > org.apache.tiles.definition, > org.apache.tiles.startup, > org.apache.tiles.jsp.context, > org.apache.tiles.jsp.taglib, > org.apache.tiles.servlet.context, > > The jstl stuff > javax.servlet.jsp.jstl.core, > javax.servlet.jsp.jstl.fmt, > > Jstl implementation > org.apache.taglibs.standard, > org.apache.taglibs.standard.tlv, > org.apache.taglibs.standard.tei, > org.apache.taglibs.standard.tag.rt.core, > org.apache.taglibs.standard.tag.rt.fmt, > org.apache.taglibs.standard.tag.common.core, > org.apache.taglibs.standard.tag.common.fmt, > org.apache.taglibs.standard.functions, > > In past version of pax-web I needed to embed taglibs and put them to web.xml. > Maybe it is not required now: > <Embed-Dependency>*;scope=runtime|provided;inline=META-INF/*.tld|META-INF/tld/* > > Some of these imports are not necessary, but you have them by default in > spring bundles so it will work anyway. > > Best regards, > Lukasz > >> Hi Lukasz, >> >> that would be great :) >> >> regards, Achim >> >> 2011/3/31 Łukasz Dywicki <[email protected]>: >>> Hello, >>> First of all you need to change your context class to OsgiWebAppContext >>> instead standard class. After that most of the errors dissapear. >>> I did some small test about 3 months before and it is pretty standard setup >>> - Spring 3 + Spring WebMVC. >>> >>> If you have some additional errors please share it. We may include Spring >>> WebMVC demo in futher Karaf releases. >>> >>> Best regards, >>> Lukasz >>> >>>> Hi, >>>> >>>> which kind of errors did you get ? >>>> >>>> Regards >>>> JB >>>> >>>> On 03/31/2011 04:22 AM, stream wrote: >>>>> Hi. >>>>> As subject, i've tried a long time for this integration. >>>>> but, always get various error, someone could give me guideline or a >>>>> example >>>>> thinks >>> >>> > >
