I am running Jboss portal 2.6. I want to include JS and css files in jsp. So I use:
<portlet:defineObjects/>
<%
String cssPath =
renderResponse.encodeURL(renderRequest.getContextPath()+"/WEB-INF/html/my.css");
String jsPath =
renderResponse.encodeURL(renderRequest.getContextPath()+"/WEB-INF/html/my.js");
%>
this results in
But the css is not getting downloaded. Any idea? I think the URL i am generating for css
file is not correct. My files are in WEB-INF/html directory
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082491#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...