stackoverflow trying to run jsp scripting
-----------------------------------------
Key: SLING-19
URL: https://issues.apache.org/jira/browse/SLING-19
Project: Sling
Issue Type: Bug
Components: Scripting
Reporter: Edgar Poce
Priority: Minor
the method HttpServletAdapter.service() runs an endless loop
proposed patch
Index:
/home/epoce/hd2/projects/sling/trunk/scripting-core/src/main/java/org/apache/sling/scripting/HttpServletAdapter.java
===================================================================
---
/home/epoce/hd2/projects/sling/trunk/scripting-core/src/main/java/org/apache/sling/scripting/HttpServletAdapter.java
(revision 578464)
+++
/home/epoce/hd2/projects/sling/trunk/scripting-core/src/main/java/org/apache/sling/scripting/HttpServletAdapter.java
(working copy)
@@ -48,7 +48,7 @@
Object oldResponse = Util.replaceAttribute(request,
Util.ATTR_RENDER_RESPONSE, response);
try {
- this.service(request, response);
+ this.service((HttpServletRequest) request, (HttpServletResponse)
response);
} catch (IOException ioe) {
// forward
throw ioe;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.