Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Embedded: Deploying servlets w/ Jetty 7

Thanks Michael,
I think need to rephrase my question: Can I set/add a context after
starting the server?

Any pointers are welcome.
TIA

On Tue, Jan 25, 2011 at 5:07 PM, Michael Gorovoy <michael@xxxxxxxxxxx> wrote:
> Phil, you should review Embedding Jetty tutorial, that should have answers
> to most of your questions.
>
> -Michael
>
> On Tue, Jan 25, 2011 at 11:01 AM, Philipp Walther <philippwalther@xxxxxxxxx>
> wrote:
>>
>> Hi all
>>
>> I'm trying to do something rather simple using jetty 7 in my rather
>> trivial application:
>>
>> How do I add new contexts (long time ago since I last did this, so I'm
>> not sure this is the correct term) after I started the jetty server?
>> All I want to do is that I can start jetty and after starting it,
>> adding "paths" that gets handled by servlets.
>>
>> I do not want to use any WAR files and the like, only
>> Handlers/Servlets/HttpServlet/etc classes within my JVM..
>>
>> I see there is a ContextFactory, ContextHandler etc. but I don't know
>> how these work together - I suspect it's got something to do with the
>> LifeCycle, but I don't know (yet) how to use that..
>>
>> Anybody care to help?
>>
>> Thanks a lot in advance
>>
>>
>> Phil
>> _______________________________________________
>> jetty-users mailing list
>> jetty-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
>
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
>


Back to the top