I've deployed Test.war file on Openshift and my application test-sliwa.rhcloud.com/Test run OK. When I deploy ROOT.file application test-sliwa.rhcloud.com doesn't run in right way - first page is ok, but when I try to link to other pages I have 404 error.
Asked
Active
Viewed 220 times
0
1 Answers
0
The problem was in source code in links declared. It's better to declare domain-relative URL like:
<a href="<%= response.encodeUrl(request.getContextPath() + "/Controller?action=login") %>">
instead of:
<a href="Test/Controller?action=login")">}
in index.jsp file.

andzia sliwa
- 1
- 1
Login
About
– andzia sliwa Nov 28 '15 at 08:15