is this what you're looking for? http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html#getRealPath(java.lang.String)
On Oct 6, 3:19 am, Andreas Kahl <[email protected]> wrote: > Hello everyone, > > I wrote a RemoteServiceServlet fetching XML from a remote Service, > XSLT-transforming it to XHTML and deliver it back to the Client. The > XSLT-Stylesheet is saved under <ProjectDir>/war/xslt/<filename>.xsl. > In Hosted Mode it can easily be read with a path/filename "xslt/ > <filename>.xsl". > But that does not work if I deploy the webapp on a Tomcat-Servlet- > Container. > > Is there a way of coding 'getTheActualDeployPathOnMySystem()+"/xslt/ > <filename>.xsl"'? > > Thanks for your advice --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
