0 Replies Latest reply on Feb 6, 2006 8:33 AM by Peter Westlin

    How to access a CSS-file if JSP is in WEB-INF/classes?

    Peter Westlin Newbie

      I have moved all my JSP's from "web root" to WEB-INF/classes. I use Webwork2 and this is the preferred way to prevent user to access views directly in a MVC2 framework.
      My problem is that my JSP's can't find my CSS-file, foo.css that is also located i WEB-INF/classes. Before I moved the JSP's from "web root" I had no problems.

      Directory structure:
      "web root"

      In my head tag:
      < link REL="stylesheet" TYPE="text/css" href="shoppinglist.css" >

      Any suggestions of I can solve this?