From: Colin C. <co...@bu...> - 2006-03-14 12:03:28
|
I am still lost with how to configure an embedded HTTP server. I'm guessing the method has changed since Jetty5; as there is no HTTPServer or SocketLlistener class; and I could find nothing in the Wiki to indicate how to do this. Is there a description anywhere on how to implement this on the jetty 6? Sorry for the beginner questions! Colin ps. Is this the right list for this, or should it be on the Jetty-dev list? On 11/03/2006, at 9:47 AM, Greg Wilkins wrote: > > > Colin Canfield wrote: >> I am just starting trying to embed Jetty 6 into an application >> but I'm >> having trouble working out which jar files to include. The >> examples in >> the tutorial don't match the current Javadoc or any handler >> classes I >> can find. At this stage I'm just looking at HttpHandler before >> adding >> my own handler for the real integraton, but I can't find the class >> anywhere! >> >> The example WAR files deliver so it must be there somewhere; >> presumably >> it has been refactored and the docs just haven't quite caught up >> yet? >> Which jar files do I need for just a minimal server; apart from >> jetty.jar and servlet-api....jar ? > > Sorry the doco is a little bit behind. I recommend the wiki, as > all the > info there is jetty6 and we are putting effort into adding more > content. > > http://docs.codehaus.org/display/JETTY/Jetty+Wiki > > As for dependencies, all you need to run servlets is the servlet > jar and > the jetty jar. Add the jars you find in lib/jsp if you want jsp as > well. > > Ditto for all the other subdirectories of lib, which add various > features. > > cheers > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the > live webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Jetty-support mailing list > Jet...@li... > https://lists.sourceforge.net/lists/listinfo/jetty-support |