LayoutRenderTag.java refuses to work with JSP-less deployment
-------------------------------------------------------------
Key: STS-405
URL: http://mc4j.org/jira/browse/STS-405
Project: Stripes
Issue Type: Bug
Components: Tag Library
Affects Versions: Release 1.4.3
Environment: JBoss 4.2.0-GA
Reporter: Martin Buechler
Assigned To: Tim Fennell
While doing live deployment of our stripes-powered webapp to JBoss we encounter
a
showstopper caused by stripes' LayoutRenderTag. Since we deploy an exploded
ear, containing only JSP-generated class files, no JSP's and do not want
precomiling as you maybe
want in an integration or development environment, threre is IMHO no need to
rely on the fact that there is somewhere in the file sytem the source JSP lying
around.
In line 109 of
http://stripes.svn.sourceforge.net/viewvc/stripes/tags/1.4.3/stripes/src/net/sourceforge/
stripes/tag/layout/LayoutRenderTag.java
URL target = request.getSession().getServletContext().getResource(this.name);
stripes is checking for the physical presence of the JSP. Maybe one should also
check for an existing servlet mapping, as it is available when pre-compiled and
pre-loaded JSP servlets are engaged, before throwing that exception. For now I
patched stripes, but would realy see that included in a future release.
Besides I consider stripes as a real alternative to struts and fun to use.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development