Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-dev] Regression Issue with Slash for getResourceAsStream

Hello,

Seems there is a regression issue with getResourceAsStream, it works well with Jetty 8.x when the path include double slash, but it doesn’t work for 9.x.

For example, when run on Jetty 8.x, you can get the file inputstream with servletContext.getResourceAsStream("/WEB-INF//test/test.html" , but you will get null for 9.x.

WDYT?

--

Best Regards,
-------------
Young Gu | Senior Software Engineer | http://www.infor.com

Back to the top