On 02.12.2003 12:17, Stefano Mazzocchi wrote:

From a logical view the new behaviour of Jetty makes sense, at least for consistency:

/           D:\cocoon-2.1\build\webapp
/images     D:\cocoon-2.1\build\webapp\images
/WEB-INF    D:\cocoon-2.1\build\webapp\WEB-INF

while it was "D:\cocoon-2.1\build\webapp\" until now.


that's probably why they fixed it.

Shall we remove all trailing path separators?


what is the behavior of tomcat? that is considered the reference implementation.

Unfortunately "D:\cocoon-2.1\build\webapp\". So it's more a simple root + accessor:

root = "D:\cocoon-2.1\build\webapp"

accessor        value
/              D:\cocoon-2.1\build\webapp\
/images        D:\cocoon-2.1\build\webapp\images
/WEB-INF       D:\cocoon-2.1\build\webapp\WEB-INF

Hmm, also not that illogical.

I suggest to always remove the trailing path separator in the RealPathModule. Any comments?

Joerg



Reply via email to