For static resources such as CSS and JavaScript files, put them
in your WebContent folder but not in WEB-INF, such as
WebContent/css/stilj.css. Then use
<link rel="stylesheet" type="text/css"
href="${pageContext.request.contextPath}/css/stijl.css"/>

Cheers,
Freddy
http://www.fdaoud.com

On Tuesday, September 13, 2011 11:42 PM, "Enrico Iorio"
<writetoenr...@gmail.com> wrote:

  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 basically home.jsp and the CSS folder are parallels, a
  simple relative url from the home.jsp page should work:
    <link rel="stylesheet" href="css/stijl.css" type="text.css"
  />
  But it does not,
  I have also tried this way:
    <link rel="stylesheet" type="text/css"
  href="${pageContext.request.contextPath}/WebContent/WEB-INF/js
  p/css/stijl.css"/>
  But nothing,
  Do you know if this is an url-based issue?
  Thank you, any help would be appreciated, i've never worked
  with Stripes before
  --
  Enrico Iorio
--------------------------------------------------------------------------
----
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1

_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to