Maybe http://stackoverflow.com/questions/5069433/static-content-with-maven-jetty-plugin
will help, it shows how to configure it from Maven, but that context handler can also be registered from code, see also http://www.eclipse.org/jetty/ Cheers, Sergey On Thu, May 5, 2011 at 8:48 PM, bertuz <[email protected]> wrote: > Hi everyone, > I've found this page that answers perfectly my needs: > > https://cwiki.apache.org/confluence/display/CXF20DOC/Standalone+HTTP+Transport > > in other words: I need to add some static page to the embedded jetty > server of my service! > So, to be short, the page I linked above has really too little > information to solve my problem! I studied Jetty, I understand every > step perfectly, but I can't reproduce that in my code because the > classes don't match at all and so forth. For example: I can't find in the > library any Handler class! > So: is it maybe out of date? May someone help me with this? Any piece > of suggestion is welcome. > > Thanks, > Matteo > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/static-pages-with-embedded-jetty-Where-can-I-find-better-doc-tp4373909p4373909.html > Sent from the cxf-user mailing list archive at Nabble.com. >
