T4 Possible to manual initialize tapestry

2008-10-29 Thread J W
Hi, I was wondering whether it's possible to manually initialize tapestry instead of declaring the ApplicationServlet inside web.xml? I've tried to comment out , but it still gets initialized during the web server startup time. Besides, is it possible to manually point tapestry to a different l

T4 how to get a real path out of the current context

2008-04-02 Thread J W
Hi all, I'm trying to arrange all the uploaded files into a folder outside of the current context path. And to do that, I setup a virtual path by creating an upload.xml under Tomcat: Now any file under the D:/uploadfile can be accessed from http://localhost:8080/upload/anyfile once tomcat ser