Send me your diffs & I'll check them in. You can contact me on ICQ(11843516)/AIM(farkas24)/Y!(scott_farkas) if you need to discuss anything.

Scott

Philipp Meier wrote:
On Tue, Jan 28, 2003 at 07:50:56PM +1100, Scott Farquhar wrote:

- Getting the templates (using servletPath).
Some servlet containers have problems with getRealPath(). We can always bundle default templates in the jar (a plus), but how do we access the templates? Rickard seems to do it with his WebWorkVelocityServlet - but I'm not sure how.

Thread.currentThread().getContextClassLoader().getResourceAsStream("/path/relative/to/web/roo")
should do the trick. I recently changed my local version of the
XSLTServlet to access the xslt stylesheets in this way. Could someone
please give me cvs access again, then I could check in my improvements.

-billy.

--

ATLASSIAN - http://www.atlassian.com
Expert J2EE Software, Services and Support
-------------------------------------------------------
Need a simple, powerful way to track and manage issues?
Try JIRA - http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to