Hi Ken,
Thanks for your reply...
In my project, I'm not adding JS file as/in a tile. I'm doing it as follows
JSPX file
Code:
<spring:url value="/resources/js/some.js" var="some_url" />
<script type="text/javascript" src="${some_url}"></script>
JS file - some.js
Code:
var test = "${some_url}";
I have also added spring tag support in this jspx file.
Other than scriplet. Is there any way we can do the same..?
Or Other wise I would have to set a hidden variable in jspx and then use that in JS file...
Thanks,
Aditya