P
priyom
Hi,
I want to display a page (say home.html) through a portlet using
PortletRequestDispatcher.
The page has a lot of javascript which is there in a file say abc.js
I've included the following snippet in my static page(home.html):
<script type="text/javascript" src = "abc.js"></script>
Both the files are kept in the same directory.
The page is being rendered fine but the problem is: the javascript file
is not found.
If required, the html page can be changed to a jsp page but the
javascript code needs to reside in a different file.
Is there any specific way to refer to static data within portlet
context?
Any pointers would be highly appreciated.
Thanks in advance.
Priyom
I want to display a page (say home.html) through a portlet using
PortletRequestDispatcher.
The page has a lot of javascript which is there in a file say abc.js
I've included the following snippet in my static page(home.html):
<script type="text/javascript" src = "abc.js"></script>
Both the files are kept in the same directory.
The page is being rendered fine but the problem is: the javascript file
is not found.
If required, the html page can be changed to a jsp page but the
javascript code needs to reside in a different file.
Is there any specific way to refer to static data within portlet
context?
Any pointers would be highly appreciated.
Thanks in advance.
Priyom