Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] 206 responses instead of 404?

Jetty 9 is EOL (End of Life).

See: https://github.com/jetty/jetty.project/discussions/13984

If you have this problem on a supported version of Jetty (currently Jetty 12.0 or 12.1) then report back.
Note: your javax.servlet webapp will work as-is on Jetty 12, as it has a EE8 support layer for those legacy web apps.

- Joakim

On Sat, Mar 28, 2026 at 10:51 AM John English via jetty-users <jetty-users@xxxxxxxxxxx> wrote:
I have a Jetty 9.4 server which I was testing using Skipfish. This
probes the site using queries with Range: headers. I noticed from the
log that non-existent URLs were getting 206 responses instead of the
expected 404. My 404 error page is defined in the web.xml like this:

   <error-page>
     <error-code>404</error-code>
     <location>/404.html</location>
   </error-page>

No filters are being applied to plain HTML pages, so I'm at a loss as to
why this is happening. Any ideas?

--
John English


--
This email has been checked for viruses by AVG antivirus software.
www.avg.com
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jetty-users

Back to the top