Hi Peter.
I usually have "css", "html" and "images" directories inside "context"
at the same level as "WEB-INF". Depending on how your web.xml is set up,
Tomcat will then usually serve these files as e.g.
http://localhost/tapestryappname/html/index.html
That's assuming your Tapestry app is located at:
http://localhost/tapestryappname/app
You can then put a link in your templates etc with:
<a href="html/index.html"> ... </a>
Cheers,
Nick.
Peter Dawn wrote:
guys,
we have diff depts working on diff files. the other dept has generated
a bunch of plain vanilla html content files which i need to
incorporate within my tap web app. now i have created a separate
folder and have put all files within it. now within my web app, i am
trying to incorporate, on a button click, it should open up a window
with the files.
now i am trying to reference these files but am having no luck. so
essentially within my tap html file i have,
window.open('c:/apache/tomcat/webapps/a/help/index.html'). but however
this is not working.
so i guess my question is how can i reference some external files from
within tapestry w/o letting tapestry let them render them, just accept
them as is. so does anyone know how to do this.
pls help. thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]