context « jetty « Java Enterprise Q&A





1. How to set the path of web app in META-INF/context.xml in Jetty?    stackoverflow.com

I know how to do it in Tomcat configuration but how to do the same in Jetty server?

2. How to prevent Jetty from showing context related information    stackoverflow.com

I am using Jetty to deploy a production website. Let's assume my website is foo.com When I point my browser to a context which does not exist (say foo.com/notavailable), Jetty shows ...

3. Reloading context in jetty    stackoverflow.com

I have a question related to context reloading. What I do: 1) start jetty 2) put war1.war in /webapps --> that fires a new /war1 context and it works. 3) put war2.war in /webapps ...

4. Tell Jetty to reload on webapp change, not context.xml change    stackoverflow.com

I have jetty running with some context.xml:

<?xml version="1.0"  encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
      <Set name="war">path/to/webapp</Set>
      <Set ...

5. Overriding context paths in Jetty    stackoverflow.com

I'm trying to use two web apps with Jetty. The first I named root and installed in the webapps directory, and it is properly handling all requests. The second has a ...

6. Removing old contexts in IntelliJ deployment    stackoverflow.com

Using the jetty plugin with intellij idea 10.5: Deploying a new webapp picks up old wars since the IDE doesn't seem to clear old contexts (or have an eclipse WTP-like ide integration). ...

7. How can I map multiple contexts to the same war file in Jetty?    stackoverflow.com

Is it possible to map multiple contextPaths to one WAR file in Jetty? For example

${jetty.home}/webapp/bookstore.war
And then I'd like to have two different contexts pointing to this war. The reason being some ...