Skip to content

Commit 5ca062c

Browse files
committed
Added cross references for 404 page.
No functional changes.
1 parent 695e784 commit 5ca062c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/main/java/ru/mystamps/web/SiteMap.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public final class SiteMap {
4747
// defined at src/main/resources/spring/DispatcherServletContext.xml
4848
public static final String RESTORE_PASSWORD_PAGE_URL = "/password/restore.htm";
4949

50+
// see also error-page definition at src/main/webapp/WEB-INF/web.xml
5051
public static final String NOT_FOUND_PAGE_URL = "/error/404.htm";
5152

5253
private SiteMap() {

src/main/webapp/WEB-INF/web.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
</jsp-property-group>
3333
</jsp-config>
3434

35+
<!--
36+
see also src/main/java/ru/mystamps/web/SiteMap.java with
37+
mapping controller to location
38+
-->
3539
<error-page>
3640
<error-code>404</error-code>
3741
<location>/error/404.htm</location>

0 commit comments

Comments
 (0)