diff --git a/YACOSWeb/WebContent/WEB-INF/decorators/main.jsp b/YACOSWeb/WebContent/WEB-INF/decorators/main.jsp
index 73e6b1e..d479402 100644
--- a/YACOSWeb/WebContent/WEB-INF/decorators/main.jsp
+++ b/YACOSWeb/WebContent/WEB-INF/decorators/main.jsp
@@ -8,6 +8,7 @@
+
diff --git a/YACOSWeb/WebContent/WEB-INF/jsp/errors/403error.jsp b/YACOSWeb/WebContent/WEB-INF/jsp/errors/403error.jsp
new file mode 100644
index 0000000..a96909b
--- /dev/null
+++ b/YACOSWeb/WebContent/WEB-INF/jsp/errors/403error.jsp
@@ -0,0 +1,10 @@
+<%@ include file="/WEB-INF/decorators/include.jsp"%>
+
+
+
+
+
+File doesn't exist.
+
+
+
\ No newline at end of file
diff --git a/YACOSWeb/WebContent/WEB-INF/jsp/errors/404error.jsp b/YACOSWeb/WebContent/WEB-INF/jsp/errors/404error.jsp
new file mode 100644
index 0000000..00031c1
--- /dev/null
+++ b/YACOSWeb/WebContent/WEB-INF/jsp/errors/404error.jsp
@@ -0,0 +1,10 @@
+<%@ include file="/WEB-INF/decorators/include.jsp"%>
+
+
+
+
+
+Error : page not found
+
+
+
\ No newline at end of file
diff --git a/YACOSWeb/WebContent/WEB-INF/jsp/login.jsp b/YACOSWeb/WebContent/WEB-INF/jsp/login.jsp
index 5cf6f42..28e468d 100644
--- a/YACOSWeb/WebContent/WEB-INF/jsp/login.jsp
+++ b/YACOSWeb/WebContent/WEB-INF/jsp/login.jsp
@@ -30,9 +30,13 @@
-
-
+
+ Logout
+
+
+
+
Welcome: <%= SecurityContextHolder.getContext().getAuthentication().getName() %>
diff --git a/YACOSWeb/WebContent/WEB-INF/web.xml b/YACOSWeb/WebContent/WEB-INF/web.xml
index f0e36e3..dfe6267 100644
--- a/YACOSWeb/WebContent/WEB-INF/web.xml
+++ b/YACOSWeb/WebContent/WEB-INF/web.xml
@@ -42,20 +42,6 @@
lazyLoadingFilter
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter
-
-
-
- sitemesh
-
- com.opensymphony.module.sitemesh.filter.PageFilter
-
-
-
-
- sitemesh
- /*
-
-
@@ -72,6 +58,21 @@
/*
+
+
+
+ sitemesh
+
+ com.opensymphony.module.sitemesh.filter.PageFilter
+
+
+
+
+ sitemesh
+ /*
+
+
+
org.springframework.web.context.ContextLoaderListener
@@ -91,11 +92,22 @@
-
SessionService
/*
+
+
+
+ 403
+ /WEB-INF/jsp/errors/403error.jsp
+
+
+
+
+ 404
+ /WEB-INF/jsp/errors/404error.jsp
+
\ No newline at end of file
diff --git a/YACOSWeb/WebContent/images/favicon.png b/YACOSWeb/WebContent/images/favicon.png
new file mode 100644
index 0000000..8800593
Binary files /dev/null and b/YACOSWeb/WebContent/images/favicon.png differ
diff --git a/YACOSWeb/src/org/yacos/web/PCmember/form/FormPreference.java b/YACOSWeb/src/org/yacos/web/PCmember/form/FormPreference.java
index cadaa16..b7db9a2 100644
--- a/YACOSWeb/src/org/yacos/web/PCmember/form/FormPreference.java
+++ b/YACOSWeb/src/org/yacos/web/PCmember/form/FormPreference.java
@@ -19,4 +19,4 @@ public class FormPreference {
{
this.preferences = preferences;
}
-}
+}