Re: URL Landing on a folder

Splash Forums Rewrite Users URL Landing on a folder Re: URL Landing on a folder

#22688

I did some research on this. The guys on tomcat-users wrote that this behavior has been implemented because it is “required by the HTTP spec”. I don’t fully understand why. But it seems like most of the containers implement something similar.

See:

http://tomcat.10.n6.nabble.com/How-to-prevent-Tomcat-redirect-my-request-td2122751.html

So I guess the only option for you would be to either append the trailing slash to your virtual URL (the path() part of your join) or you simply rename the directory in your webapp to something else to prevent the name clash.

Christian