[jboss-user] [JBoss Portal] - Including javascript source

priyom do-not-reply at jboss.com
Tue Oct 31 09:59:36 EST 2006


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982095#3982095

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982095



More information about the jboss-user mailing list