Hi all

I have the following directory (partial shown) structure in my
Struts/Tiles Web-app

/webroot
/webroot/jsp
/webroot/layouts
/webroot/styles

the styles.css stylesheet is in "styles" and the layout is in ... not
surprisingly, "layouts"

What is the best way to get a reference for the CSS into my layout?
Layout code follows


-----------------
<%@ page language="java"%>

<%@ taglib uri="http://jakarta.apache.org/struts/tags-html"; prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles"; prefix="tiles" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<link rel="stylesheet" href="styles/style.css" type="text/css"
CONTENT="no-cache">
<html:html locale="true">
  <head>
    <html:base />
    <title><tiles:getAsString name="title" /></title>
  </head> 
  <body>
  <table border="1" width="600" cellspacing="5" class="arial10">
        <tbody>
        <tr>
              <td><tiles:insert attribute="header" /></td>
        </tr>
        <tr>
              <td height="80"><tiles:insert attribute="nav" /></td>
        </tr>
        <tr>
              <td><tiles:insert attribute="body" /></td>
        </tr>
        <tr>
              <td height="80"><tiles:insert attribute="footer" /></td>
        </tr>
        </tbody>
  </table>
  </body>
</html:html>

------------------

-- 
-Dave
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to