Hi,

I have a web app running in tomcat, in the app context I have a symbolic
link to a directory in the file system so that I can refer to files in that
directory as: http://localhost:8080/myapp/pic_dir/picture001.jpg

When I use maven jetty:run, I can do it as following:

<plugin>
    <groupId>org.mortbay.jetty</groupId>
    <artifactId>maven-jetty-plugin</artifactId>
    <configuration>
                <contextPath>/</contextPath> 
                <contextHandlers> 
                        <contextHandler
implementation="org.mortbay.jetty.handler.ContextHandler"> 
                  <contextPath>/pic_dir</contextPath> 
                  <resourceBase>/Users/guest/pic_dir</resourceBase> 
                  <handler
implementation="org.mortbay.jetty.handler.ResourceHandler"></handler> 
                        </contextHandler> 
                </contextHandlers>
        </configuration>
</plugin>

now I'd like to use maven tomcat:run for testing, it works, but I can't
refer to /myapp/pic_dir/picture001.jpg, what is the equivalent way of doing
this under tomcat plug in? 

Thanks,

Angelo
-- 
View this message in context: 
http://www.nabble.com/Maven-Tomcat-plug-in%3A-using-a-symbolic-link-in-tomcat%3Arun-tp21897563p21897563.html
Sent from the mojo - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to