-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
These views are referenced in the `UrlMappings`.
- Loading branch information
Showing
3 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
examples/misc-functional-test-app/grails-spring-security-group/grails-app/views/error.gsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<title>Grails Runtime Exception</title> | ||
</head> | ||
<body> | ||
<g:if test="${Throwable.isInstance(exception)}"> | ||
<g:renderException exception="${exception}" /> | ||
</g:if> | ||
<g:elseif test="${request.getAttribute('javax.servlet.error.exception')}"> | ||
<g:renderException exception="${request.getAttribute('javax.servlet.error.exception')}" /> | ||
</g:elseif> | ||
<g:else> | ||
<ul class="errors"> | ||
<li>An error has occurred</li> | ||
<li>Exception: ${exception}</li> | ||
<li>Message: ${message}</li> | ||
<li>Path: ${path}</li> | ||
</ul> | ||
</g:else> | ||
</body> | ||
</html> |
9 changes: 9 additions & 0 deletions
9
examples/misc-functional-test-app/grails-spring-security-group/grails-app/views/index.gsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<title>Welcome to Grails</title> | ||
</head> | ||
<body> | ||
<h1>Welcome to Grails</h1> | ||
</body> | ||
</html> |
12 changes: 12 additions & 0 deletions
12
examples/misc-functional-test-app/grails-spring-security-group/grails-app/views/notFound.gsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<title>Page Not Found</title> | ||
</head> | ||
<body> | ||
<ul class="errors"> | ||
<li>Error: Page Not Found (404)</li> | ||
<li>Path: ${request.forwardURI}</li> | ||
</ul> | ||
</body> | ||
</html> |