Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Another newbie-9.x-user question


You certainly can define pages to show for a particular error. Documentation on that can be found at: 


On Wed, Jan 25, 2017 at 11:55 AM, John English <john.foreign@xxxxxxxxx> wrote:
On 25/01/2017 17:22, Chris Walker wrote:

All you have to do in that case is specify the directory location. In
the example below I set a context of //chris/ using the //chris/
directory in the webapps folder of my /${jetty.base}/:

    <Configure id="chrisApp" class="org.eclipse.jetty.webapp.WebAppContext">
      <Set name="contextPath">/chris</Set>
      <Set name="war"><Property name="jetty.webapps"

Yet another question: having done this, and added some virtual host settings (including a for testing), all seems well, except for one thing: when I try to access, it correctly does not access the webapp, but all I get back is a blank page: no 404 message, although the 404 shows up in the request log. Is there something else I need to configure to make something visible happen here? In particular, can I serve up a static page of my choice?

John English
jetty-users mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top