ops4j / org.ops4j.pax.web

OSGi R7 Http Service, Whiteboard and Web Applications (OSGi CMPN Release chapters 102, 140 and 128) implementation using Jetty 9, Tomcat 9 or Undertow 2.
https://ops4j1.jira.com/wiki/display/paxweb/Pax+Web
Other
144 stars 183 forks source link

The jsp-config/jsp-property-group/include-prelude doesn't work, web.xml isn't parsed correctly [PAXWEB-847] #1134

Closed ops4j-issues closed 9 years ago

ops4j-issues commented 9 years ago

Freeman Fang created PAXWEB-847

If I have the jsp tag headers in an seperate file and I wanna all jsp files in my war to pick up the tag headers automatically, so I use something like

+  <jsp-config>
+    <jsp-property-group>
+      <url-pattern>*.jsp</url-pattern>
+      <include-prelude>/WEB-INF/jspf/headertags.jspf</include-prelude>
+    </jsp-property-group>
+  </jsp-config>

but this doesn't work in 4.1.x(it works in previous version), so that my script in the page like c:out not recognized.


Affects: 4.1.2 Fixed in: 6.0.0 Votes: 0, Watches: 1


Referenced issues

relates to:

ops4j-issues commented 9 years ago

Achim Nierbeck commented

A first fix has been done with PAXWEB-842

ops4j-issues commented 9 years ago

Achim Nierbeck commented

fixed on trunk with correct web.xml parsing.
https://github.com/ops4j/org.ops4j.pax.web/commit/52e636a3096263ff6b495e2df58cf545645f55fd