On 23/11/2011 18:06, Benson Margulies wrote: > I'm launching Tomcat 7 via the API. > > One of the uses of this is that I can launch from Eclipse and > 'live-edit' my static files, without tangling myself up in the Eclipse > JEE facilities, which I have never succeeded in using very well. > > Now, I want to meld some shared content into the webapp. In the maven > build, I use the maven 'overlay' concept. For live development, I'm > looking to do the same thing. > > Essentially, I want to map in a directory of additional static > resources into the Context. I see addResourceJarUrl, and I wonder what > it does with a file:/ url, though the comment in the javadoc about > META-INF/resources suggests that I'd need to conform to that directory > structure. (and reading the code in BaseDirContext confirms this). > > Is 'addAlias' the way to go here?
What is the shared content? Static files? p > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > -- [key:62590808]
signature.asc
Description: OpenPGP digital signature