Thank you! I'll check into that as well!

Tom
*~~~~~~~~~~~~~~~~~~~*
*Tom Hoffman*



On Wed, Jan 16, 2019 at 11:38 AM Joakim Erdfelt <[email protected]> wrote:

> When it comes to JSP and JSTL on OSGi, you might want to look at the
> jetty-osgi-boot-jsp artifact and it's hacks to OSGi to allow JSTL to
> function.
>
>
> https://github.com/eclipse/jetty.project/tree/jetty-9.4.14.v20181114/jetty-osgi/jetty-osgi-boot-jsp
>
> Joakim Erdfelt / [email protected]
>
>
> On Wed, Jan 16, 2019 at 11:35 AM Joakim Erdfelt <[email protected]>
> wrote:
>
>> 9.3.0 is very old now. (the entire 9.3.x series is on security
>> maintenance atm and isn't being updated anymore)
>>
>> There are a number of quirks throughout the 9.3.0 series related to JSTL
>> and the need (or not) for the WEB-INF/lib/ to contain the appropriate jstl
>> jar files (or not).
>> The 9.4.x series on the other hand is much cleaner in this regard.  Have
>> you tried a more recent / stable version of Jetty?
>>
>> Joakim Erdfelt / [email protected]
>>
>>
>> On Wed, Jan 16, 2019 at 11:00 AM Tom Hoffman <[email protected]>
>> wrote:
>>
>>> I'm using version jetty-9.3.0.v20150612 in an OSGI environment, with
>>> v2.5 of the Servlet specification. I've inherited a mass/mess of old Java
>>> Servlet code that works, that is replete with security issues. I'm trying
>>> to address some of the XSS issues by using JSTL. I've added the required
>>> JSTL directive at the top of the JSP files:
>>>
>>>  <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>
>>>
>>>
>>> But when I first access this jsp page, it fails and I see the following
>>> in the error log:
>>>
>>> 2019-01-08 20:44:44,606 qtp1697835528-134 WARN
>>>> org.eclipse.jetty.servlet.ServletHandler -   
>>>> org.apache.jasper.JasperException:
>>>> /jsp/applicationsChoice.jsp(1,63) PWC6188: 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
>>>>         at
>>>> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:92)
>>>
>>>
>>> I've seen many old references that suggest there was at one point in
>>> time issues with JSTL and the Jetty 9.x release. Is this old information?
>>> Can someone supply a pointer or two?
>>>
>>> *~~~~~~~~~~~~~~~~~~~*
>>> *Tom Hoffman*
>>>
>>> _______________________________________________
>>> jetty-users mailing list
>>> [email protected]
>>> To change your delivery options, retrieve your password, or unsubscribe
>>> from this list, visit
>>> https://www.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://www.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://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to