Hi everybody
I'm trying to include some an external css file on a page which comes from a
ForwardResolution, but it seems not to work at all, while using servlets it
does.
The structure of WEB-INF is:
* WEB-INF
JSP(folder)
CSS(folder)
stijl.css
home.jsp*
So
Hi Enrico,
The CSS path is resolved from the client-visible path of your action,
not the server path, because the resolution is done by the client
browser not the server.
So if you have an action at http://yoursite.com/yourcontext/bean that
produces a page containing link rel=stylesheet
Hi Enrico,
You need to place your CSS folder outside WEB-INF directory.
Files under WEB-INF will not be accessible from URL entered in the browser.
*The WEB-INF-directory is a protected one to hold internal configuration
data like the web.xml. Nothing inside should be delivered by HTTP access.