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/08/05 16:47:43 UTC
[Bug 53654] New: JSP file is always recompiled for using file based
TLD URL
https://issues.apache.org/bugzilla/show_bug.cgi?id=53654
Priority: P2
Bug ID: 53654
Assignee: dev@tomcat.apache.org
Summary: JSP file is always recompiled for using file based TLD
URL
Severity: normal
Classification: Unclassified
Reporter: xhhsld@gmail.com
Hardware: PC
Status: NEW
Version: 7.0.29
Component: Jasper
Product: Tomcat 7
Now, in Jasper codes, it only supports jar URL and relative URL, that may be
enough for common web applications. While, it is possible that the third-party
uses other protocol URL, like file: protocol based URL. So, the JSP files will
be always recompiled for each access for the target page.
The codes are located in Compiler.isOutDated() method.
Is it possible to provide more generic handlering for the URL ?
--
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
[Bug 53654] JSP file is always recompiled for using file based TLD
URL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53654
--- Comment #3 from viola.lu <vi...@gmail.com> ---
Now compile only handles taglib jar file as
jar:/file:/***.jar!/META-INF/taglib.tld or /WEB-INF/taglib.tld, but if tag lib
file exists as expanded folder for example: file:/***.jar/META-INF/taglib.tld,
Compiler.isOutDated() will return true and compile jsp always. So provide this
patch to make it can handle file:/ URL also
--
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
[Bug 53654] JSP file is always recompiled for using file based TLD
URL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53654
--- Comment #2 from viola.lu <vi...@gmail.com> ---
Created attachment 29169
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29169&action=edit
handle file:/
Pls review the patch
--
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
[Bug 53654] JSP file is always recompiled for using file based TLD
URL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53654
Konstantin Kolinko <kn...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> ---
It is hard to understand your description.
Please provide the following:
1. Small simple web application that demonstrates the issue.
2. Step-by-step instructions to reproduce the issue.
Describe what you are observing and what you are expecting.
--
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
[Bug 53654] JSP file is always recompiled for using file based TLD
URL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53654
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Mark Thomas <ma...@apache.org> ---
Thanks for the patch. It has been applied to trunk and 7.0.x and will be
included in 7.0.30 onwards.
--
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