In your pom.xml, add a context handler to the jetty plugin:
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<configuration>
<contextPath>/</contextPath>
<contextHandlers>
<contextHandler
implementation="org.mortbay.jetty.handler.ContextHandler">
<contextPath>/myimages</contextPath>
<resourceBase>/the/path/to/myimages</resourceBase>
<handler
implementation="org.mortbay.jetty.handler.ResourceHandler"></handler>
</contextHandler>
</contextHandlers>
</configuration>
</plugin>
You will have to change resourceBase to your real path, of course.
Hth,
Lutz
On Sun, Oct 12, 2008 at 8:05 AM, Angelo Chen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Sorry if this is not related to Tapestry.
>
> I use jetty:run to test my web app and it works well, one issue that I can't
> solve is, in the standard tomcat deployment my app has to refer to
> webapps/myimages, myimages is actually a linked directory in Linux, how to
> define something like this when using jetty:run?
>
> Thanks,
> --
> View this message in context:
> http://www.nabble.com/t5%3A-using-jetty-tp19938977p19938977.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]