Redirect to URL with trailing slash doesn't occur in Websphere 8.5.5 -
is an application that works on WAS7. It has a war module placed on the reference path "Foo / Bar" (compound one). This war module is accessible through the URL like this: Localhost: 9080 / Foo / Bar
Then I posted the same application on 8.5.5. The same URL is trying to reach the war module with localhost: 9080 / Foo / bar (trailing without slash) and the "bare" page is obtained without CSS and JS files. However, when I try to use the module through the following URL localhost: 9080 / foo / bar / CSS and JS (with trailing slash) are picked correctly.
I could figure it out so far, that everything was done on 7 because there was no trailing slash behind the slash on the back side of the url. And it seems that this is normal behavior, the question is why do not I have the same behavior as 8.5.5? Is there a way to configure it?
For some time I debug webpiece classes and I get a property that I believe That is the answer to my question: So now I hope to redirect works, but I'm confused with the fact that I am using some non-documentary feature ... com.ibm.ws.webcontainer.redirectcontextroot . The bad news is that it can not be mentioned in the documents related to WebConnector's webcontent custom property.
Comments
Post a Comment