[
https://issues.apache.org/jira/browse/SLING-2617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507507#comment-13507507
]
David Collie commented on SLING-2617:
-------------------------------------
I am out of office until Thursday 6th December. Please call me on my mobile
and leave a message if you have an urgent issue.
If you are an ESM Customer of mine, please contact your Solution Account
Manager or LiveCycle Advantage contact (if any), who will be able to route your
issue accordingly.
You can also call me on the mobile number I have previously supplied to you.
Please ensure you leave a message if I cannot answer at that time, and I will
get back to you as soon as I can.
Alternatively, you can visit the Adobe Support Portal to log issues against
your registered products: http://www.adobe.com/go/supportportal
Kind regards -- David
> jsp:setProperty causes "the type JasperException cannot be resolved"
> compilation error
> --------------------------------------------------------------------------------------
>
> Key: SLING-2617
> URL: https://issues.apache.org/jira/browse/SLING-2617
> Project: Sling
> Issue Type: Bug
> Components: Scripting
> Affects Versions: JCR Classloader 3.1.8
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
> Fix For: JCR Classloader 3.1.10
>
>
> The following script causes a compilation error, "The type
> org.apache.sling.scripting.jsp.jasper.JasperException cannot be resolved" -
> I'll attach the stack trace.
> Without the jsp:setProperty statement the script compiles without error.
> export PORT=8080
> cat <<EOL > /tmp/foo.jsp
> <jsp:useBean id="date" scope="page" class="java.util.Date" />
> <jsp:getProperty name="date" property="time"/>
> <jsp:setProperty name="date" property="time" value="1234"/>
> <jsp:getProperty name="date" property="time"/>
> All good!
> EOL
> curl -u admin:admin -X MKCOL http://localhost:$PORT/apps/foo
> curl -u admin:admin -T /tmp/foo.jsp http://localhost:$PORT/apps/foo/foo.jsp
> curl -u admin:admin -Fsling:resourceType=foo http://localhost:$PORT/apps/foo
> curl -u admin:admin http://localhost:$PORT/apps/foo.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira