|Redirecting Requests to Root Path Entry Point [message #1258376]
||Thu, 27 February 2014 10:13
| Tiburon T
Registered: October 2011
We recently upgraded to Rap 2.3 and are happy to use the root path entry point.
We have only one minor problem with it. When the application is deployed as WAR, it is not possible to access it on a URL without a trailing slash. Instead a white page is shown.
http://localhost:8080/example -> white page
http://localhost:8080/example/ -> our app
When we look at the source code of the white page it turns out to be the regular starting page of RAP, including the JS libs, setting our page title and so on.
We tried redirecting the request in the web.xml by creating a servlet mapping like this, which unfortunately does not help.
We also tried to configure an empty entry point, which is not allowed.
Is it possible to redirect the request somehow?
[Updated on: Thu, 27 February 2014 10:14]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03435 seconds