incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r934083 - /sling/trunk/bundles/scripting/jsp-taglib/src/main/java/org/apache/sling/scripting/jsp/taglib/EvalTagHandler.java
Date Wed, 14 Apr 2010 18:14:37 GMT
Author: cziegeler
Date: Wed Apr 14 18:14:36 2010
New Revision: 934083

URL: http://svn.apache.org/viewvc?rev=934083&view=rev
Log:
SLING-1479 : Add JSP Tag for new script resolution - improve error message

Modified:
    sling/trunk/bundles/scripting/jsp-taglib/src/main/java/org/apache/sling/scripting/jsp/taglib/EvalTagHandler.java

Modified: sling/trunk/bundles/scripting/jsp-taglib/src/main/java/org/apache/sling/scripting/jsp/taglib/EvalTagHandler.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/jsp-taglib/src/main/java/org/apache/sling/scripting/jsp/taglib/EvalTagHandler.java?rev=934083&r1=934082&r2=934083&view=diff
==============================================================================
--- sling/trunk/bundles/scripting/jsp-taglib/src/main/java/org/apache/sling/scripting/jsp/taglib/EvalTagHandler.java
(original)
+++ sling/trunk/bundles/scripting/jsp-taglib/src/main/java/org/apache/sling/scripting/jsp/taglib/EvalTagHandler.java
Wed Apr 14 18:14:36 2010
@@ -111,7 +111,7 @@ public class EvalTagHandler extends TagS
         }
 
         if (servlet == null) {
-            throw new JspException("Could not find script " + script);
+            throw new JspException("Could not find script '" + script + "' referenced in
jsp " + scriptHelper.getScript().getScriptResource().getPath());
         }
 
         try {



Mime
View raw message