4 Replies Latest reply on Nov 1, 2006 4:41 AM by Thomas Heute

    Including javascript source

    Priyom Sarkar Newbie


      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):
      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.