This works very well, thanks!!!

Lutz Hühnken wrote:
> 
> 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.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/t5%3A-using-jetty-tp19938977p20045848.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]

Reply via email to