Fixed Logout bug that caused an error page.
This commit is contained in:
parent
03920cfc6c
commit
e23553d627
4 changed files with 9 additions and 6 deletions
|
@ -105,7 +105,7 @@
|
||||||
<servlet-class>org.thdl.lex.LogoutServlet</servlet-class>
|
<servlet-class>org.thdl.lex.LogoutServlet</servlet-class>
|
||||||
<init-param>
|
<init-param>
|
||||||
<param-name>goodbyePage</param-name>
|
<param-name>goodbyePage</param-name>
|
||||||
<param-value>/index.jsp</param-value>
|
<param-value>http://iris.lib.virginia.edu/tibet/reference/dictionary.html</param-value>
|
||||||
</init-param>
|
</init-param>
|
||||||
</servlet>
|
</servlet>
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
<%@ page buffer="12kb" autoFlush="true" import="org.thdl.lex.*" errorPage="/jsp/error.jsp" %>
|
<%@ page buffer="12kb" autoFlush="true" import="org.thdl.lex.*" errorPage="/jsp/error.jsp" %>
|
||||||
<jsp:include page="jsp/header.jsf" />
|
<jsp:include page="jsp/header.jsf" />
|
||||||
|
|
||||||
<div id="label">THDL Tibetan Collaborative Dictionaries Home Page</div><!--END label-->
|
<%-- <div id="label">THDL Tibetan Collaborative Dictionaries Home Page</div><!--END label-->
|
||||||
<div id="message">Last Updated:October 18, 2003</div><!--END message-->
|
<div id="message">Last Updated:October 18, 2003</div><!--END message--> --%>
|
||||||
<div id="columnSingle">
|
<div id="columnSingle">
|
||||||
|
<h2>Dictionary Welcome Page</h2>
|
||||||
<p>
|
<p>
|
||||||
<a href="/lex/action?cmd=menu">Search Dictionary</a>
|
<jsp:include page="jsp/navLinks.jsf" />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</div><!--END columnSingle-->
|
</div><!--END columnSingle-->
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${ sessionScope.visit.user.guest }">
|
<c:when test="${ sessionScope.visit.user.guest || empty sessionScope.visit }">
|
||||||
<li>
|
<li>
|
||||||
| <a href="/lex/login.jsp">Login</a>
|
| <a href="/lex/login.jsp">Login</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<%@ page buffer="512kb" autoFlush="false" import="org.thdl.lex.*" errorPage="/jsp/error.jsp" %>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
|
||||||
<jsp:include page="jsp/header.jsf" flush="false" />
|
<jsp:include page="jsp/header.jsf" flush="false" />
|
||||||
|
|
||||||
<div id="columns">
|
<div id="columns">
|
||||||
|
@ -8,7 +10,7 @@ Log out of THDL Tibetan Collaborative Dictionaries</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Log out account <b><jsp:getProperty name="user" property="username" /></b>
|
Log out account <b><c:out value="${ sessionScope.visit.user.username }" /></b>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<form action='<%= response.encodeURL( request.getContextPath() + "/logout" )%>' method="post">
|
<form action='<%= response.encodeURL( request.getContextPath() + "/logout" )%>' method="post">
|
||||||
|
|
Loading…
Reference in a new issue