cofactor
asked on
How do I import this library
How to import jquery library in a jsp pop up been opened by window.open.
I have the jquery.js location : webapps/js/jquery.js folder
and pop up jsp location: webapps/pages/savework/pop _up.jsp
How do I import this jquery library in the pop up jsp page ?
what to write ? The following does not work in pop up jsp
<script type="text/javascript"
src="${pageContext.request .contextPa th}/js/jqu ery.js"></ script>
I have the jquery.js location : webapps/js/jquery.js folder
and pop up jsp location: webapps/pages/savework/pop
How do I import this jquery library in the pop up jsp page ?
what to write ? The following does not work in pop up jsp
<script type="text/javascript"
src="${pageContext.request
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What is the full absolute path ?
I will presume that "webapps" is the folder in your web server that contains your web apps. If this is true, then instead of using
>${pageContext.request.con
you could try using
<%=application.getRealPath
>and pop up jsp location: webapps/pages/savework/pop
I don't think this will work. You will probably have to put pop_up.jsp inside of a web app.