On Tuesday 26 July 2005 07:31, Alan Chandler wrote:
...
> My setup is linux, running apache2 with jkmod connecting to tomcat sitting
> behind (but on the same machine).  I am currently serving content
> exclusively from Apache - as a set of ip based virtual hosts to allow
> separate internal and external web sites for my house.
>
...>
> 1) I think I would prefer that standard stuff like stylesheets and the
> image for the header page is served directly from apache rather than
> tomcat. I assume the library component refered to above would therefore
> have a <context-asset> item somewhere in the library specification but
> where can I physically locate these assets in the filesystem, and which
> namespace do I use to refer to them?

If one of my component class files has the following

  @Asset("/styles/chandler.css")
  public abstract IAsset getStylesheet();


if I then put in my .application file

 <meta key="org.apache.tapestry.asset.URL" value="/syles />
 <meta key="org.apache.tapestry.asset.dir" value="?" />  

can the ? be replaced with something like /var/www/chandlerfamily/styles which 
is then mapped into the http:/mysite.com/styles

and how do I get tapestry to copy the file there? 

-- 
Alan Chandler
http://www.chandlerfamily.org.uk

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

Reply via email to