Alexander Klimetschek wrote:
On Mon, Jan 5, 2009 at 11:18 AM, Scott Taylor <[email protected]> wrote:
P.S. I suspect that this question might be strictly a EcmaScript question
and not have much to do with how Sling uses it. If so I apologize for
posting it here. Can some kind soul post a good link to a site explaining
EcmaScript in a webapplication. (Eg. how do you read http parameters, get
access to request and response object, etc...)
Have a look at
http://cwiki.apache.org/confluence/display/SLING/Scripting+variables
Regards,
Alex
Thanks for the link Alex. I believe I just have to ensure all links to
my own web application are preceded
with <%=request.contextPath%>. Eg. <a
href="<%=request.contextPath%>/mynode">mynode</a>
/Scott