diff options
| author | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-11-16 10:29:28 +0100 |
|---|---|---|
| committer | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-11-16 10:29:28 +0100 |
| commit | 6df322a7475686908bb7634fdfab85182f46d336 (patch) | |
| tree | bbd2f0953c89a8c545d572021332789d5f658477 /WebContent/LoginSuccess.jsp | |
| parent | be337434a721178cc3efeb468e873b571855b605 (diff) | |
| download | FIT-master.tar.gz FIT-master.zip | |
Diffstat (limited to 'WebContent/LoginSuccess.jsp')
| -rw-r--r-- | WebContent/LoginSuccess.jsp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/WebContent/LoginSuccess.jsp b/WebContent/LoginSuccess.jsp index e144166..32255f0 100644 --- a/WebContent/LoginSuccess.jsp +++ b/WebContent/LoginSuccess.jsp @@ -1,5 +1,6 @@ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> +<jsp:useBean id="user" class="de.fhswf.in.inf.fit.aufgabe5.model.Account" scope="session"/> <!DOCTYPE html> <html> <head> @@ -7,7 +8,7 @@ <title>Welcome</title> </head> <body> - <h1>Welcome <%= session.getAttribute("username") %></h1> + <h1>Welcome <jsp:getProperty property="username" name="user"/> </h1> <a href="LoginFormWithJpaAndJsp.jsp">Retry</a> </body> </html>
\ No newline at end of file |
