Letractively / jcatapult

Automatically exported from code.google.com/p/jcatapult
0 stars 0 forks source link

JCatapult MVC WebappTestRunner fails for JSP taglibs in FTL files #68

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If a FTL result uses a JSP tag library the WebappTestRunner fails. My guess
is that the JSP tag library support in FreeMarker (which is monstrously
annoying), is getting all of the JAR files from the WEB-INF/lib directory
using something like this:

servletContext.getResources("WEB-INF/lib")

rather than searching the classpath. This is obviously incorrect, but we
need to support it. Therefore, the MockServletContext needs to be updated.

Original issue reported on code.google.com by bpontare...@gmail.com on 1 Aug 2008 at 11:26

GoogleCodeExporter commented 8 years ago
Fixed this by adding support to MockServletContext for getResource* methods and 
also
added support to the MockHttpServletRequest to support incoming headers.

Fixed in revision 1511 and 1512

Original comment by bpontare...@gmail.com on 4 Aug 2008 at 7:16

GoogleCodeExporter commented 8 years ago
Oops forgot to close.

Original comment by bpontare...@gmail.com on 4 Aug 2008 at 7:17

GoogleCodeExporter commented 8 years ago

Original comment by leafkn...@gmail.com on 10 Sep 2008 at 8:15