Use the extender pattern to discover TLDs in any started bundle
---------------------------------------------------------------
Key: PAXWEB-130
URL: http://issues.ops4j.org/browse/PAXWEB-130
Project: Pax Web
Issue Type: New Feature
Components: JSP Support
Reporter: Alin Dreghiciu
Assignee: Alin Dreghiciu
In an web app (war) usually the tag libraries are discovered by looking in the
the WEB-INF and any subdirectories + all jars in the lib directory for tld
files. Actually the implementations search all the jars available in the class
path for a tld files. In a normal flat class path this works well and such
standard library tags are usually provided by the web container and war files
are not required to include them.
In OSGi env. this is not the case, so to be discovered one will have to include
the tag libraries inside the bundle itself. This is because the tld files are
included in META-INF directory and this directory is not for import//export.
A solution can be that the JSP support bundle to act as an extender and search
the tlds in any started bundles. Then the apps will not have to include the tag
lib in the bundle or war.
Also this will make war deployment without any change success rate much higher.
(e.g. ServiceMix)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general