[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.technology.equinox] Re: Help with JSP and JSTL examples
|
Hi Johannes,
I suspect the problem is that you haven't added TLDs to "your" JSP bundle.
Jasper (the underlying implementation) searches for TLDs in your
ServletContext. Here's a bit more info --
http://tomcat.apache.org/tomcat-5.5-doc/jasper/docs/api/org/apache/jasper/compiler/TldLocationsCache.html
In the OSGi world, your bundle provides the ServletContext, so typically
this means your JSP bundle still must define its TLDs.
You still import the various JSTL classes that provide the implementation,
but also place your TLDs in a path where Jasper will look.
I'd take a look and imitate what the jsp-examples or jstl-examples bundles
do in /web/WEB-INF/tld/.
HTH
-Simon
"Johannes" <ridcully560@xxxxxxxxx> wrote in message
news:ef5q3a$pr7$1@xxxxxxxxxxxxxxxxxxxx
> Hello,
>
> following the comments on
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=140430
> I was able to run the examples projects, and to build an own projekt with
> some simple JSPs. After that, I tries to include some JSTL-tags, but they
> didn't work. In the org.eclipse.equinox.jsp.jstl.examples_1.0.0 there are
> a lot of files that seem to me like precompiled JSPs (am I right there?),
> but there's now build-script or similar to compile such files from my own
> JSPs.
>
> Or are those precompiled files just the basis to make JSTL work in the
> project - like some kind of library?
>
> Johannes