You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2012/01/11 11:35:45 UTC
DO NOT REPLY [Bug 52450] New: Add setter for entityResolver in
jasper's ParserUtils
https://issues.apache.org/bugzilla/show_bug.cgi?id=52450
Bug #: 52450
Summary: Add setter for entityResolver in jasper's ParserUtils
Product: Tomcat 7
Version: 7.0.23
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Jasper
AssignedTo: dev@tomcat.apache.org
ReportedBy: akurtakov@gmail.com
Classification: Unclassified
Created attachment 28138
--> https://issues.apache.org/bugzilla/attachment.cgi?id=28138
Patch
In some cases (e.g. OSGi web modules) jasper.jar and dtds will be in different
classloaders making the need for setting up custom entity resolver so dtds can
be retrieved. A simple patch is attached.
This is already added in Glassfish's jasper fork and Jetty project is making
use of it. Applying the patch will allow using Tomcat's Jasper in Jetty instead
of Glassfish's one. See
http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-osgi/jetty-osgi-boot-jsp/src/main/java/org/eclipse/jetty/osgi/boot/jasper/WebappRegistrationCustomizerImpl.java?id=306947b1420beed76c772e546eb3120b3bf4b112#n181
for details about the change and why it was needed.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 52450] Add setter for entityResolver in jasper's
ParserUtils
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52450
Mladen Turk <mt...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Mladen Turk <mt...@apache.org> 2012-01-11 11:05:18 UTC ---
Patch applied. Thanks!
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org