Skip to content
Snippets Groups Projects
Commit 96de7528 authored by Barbara B. Frosik's avatar Barbara B. Frosik
Browse files

Added users_last_update table, changed script to add record, added...

Added users_last_update table, changed script to add record, added pagenotfound web page and modified web.xml configuration to display this page when resources are not found
parent c84f796e
No related branches found
No related tags found
No related merge requests found
......@@ -182,7 +182,8 @@ DM_DB_TABLES="\
user_system_role \
policy_type \
policy_property \
allowed_policy_value
allowed_policy_value \
users_last_update
"
for dbTable in $DM_DB_TABLES; do
dbFile=populate_$dbTable.sql
......
......@@ -23,8 +23,12 @@
</welcome-file-list>
<error-page>
<exception-type>javax.faces.application.ViewExpiredException</exception-type>
<location>/login.xhtml</location>
<location>/views/login.xhtml</location>
</error-page>
<error-page>
<exception-type>com.sun.faces.context.FacesFileNotFoundException</exception-type>
<location>/views/pagenotfound.xhtml</location>
</error-page>
<security-constraint>
<display-name>Restrict Private Files</display-name>
<web-resource-collection>
......
<!--<?xml version='1.0' encoding='UTF-8' ?>-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html">
<h:body>
<h1>Page not found</h1>
</h:body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment