1 Attachment(s)
How can i use resources like css or java script in a JSP-view (Spring 3 Portlet MVC)
Hey,
I develop a portlet application on Websphere 7. And I use the Spring 3.1 MVC-Portlet framework.
Everything is fine except the css includes.
JSP-File:
Attachment 4944
I put the css directory on the root path. Because i know the the WEB-INF directory is not readable (public perspective).
In the jsp file i have to set the css path.
PHP Code:
<link rel="stylesheet" type="text/css" href="/css/formular.css" /> -->????
Is that all?
I get the follow server response:
Code:
"A WebGroup/Virtual Host to handle /css/formular.css has not been defined."
How can i fix it?
Thanks
Alex