Static Contents

"Mico Siahaan" <[email protected]> Mon, 14 May 2007 08:44:39 +0700
Newsgroups gmane.comp.python.webware
Message-ID <[email protected]>
Dear all,

I am making a website using Webkit + Cheetah Template. I want the
directory structure to be like this:

web:
    | - application (this directory was made using MakeAppWorkDir.py)
          |- Lib
          |- MyContext
    |- templates
    |- css
    |- images
    |- flash

In short, I want to separate between Servlet and templates and static
contents. But now, my problem is I can't do it. Let say I have
template :

<img src="/images/someimage.jpg">

Then webware will try to feed someimage.jpg from
web/application/MyContext/images/. This is not what I want.

Can you give me tips how to accomplish it?

thanks and best regards,

-- 
Mico Siahaan
---
Mobile: +62-8121025010
Email: [email protected]
Blog: www.tentangmico.info/blog

Visit our shop: http://www.immanuelbookstore.com

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/