Fixed Logout bug that caused an error page.

This commit is contained in:
travismccauley 2003-12-15 19:04:55 +00:00
parent 03920cfc6c
commit e23553d627
4 changed files with 9 additions and 6 deletions

View file

@ -105,7 +105,7 @@
<servlet-class>org.thdl.lex.LogoutServlet</servlet-class>
<init-param>
<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>
</servlet>

View file

@ -1,11 +1,12 @@
<%@ page buffer="12kb" autoFlush="true" import="org.thdl.lex.*" errorPage="/jsp/error.jsp" %>
<jsp:include page="jsp/header.jsf" />
<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="label">THDL Tibetan Collaborative Dictionaries Home Page</div><!--END label-->
<div id="message">Last Updated:October 18, 2003</div><!--END message--> --%>
<div id="columnSingle">
<h2>Dictionary Welcome Page</h2>
<p>
<a href="/lex/action?cmd=menu">Search Dictionary</a>
<jsp:include page="jsp/navLinks.jsf" />
</p>
</div><!--END columnSingle-->

View file

@ -12,7 +12,7 @@
</li>
<c:choose>
<c:when test="${ sessionScope.visit.user.guest }">
<c:when test="${ sessionScope.visit.user.guest || empty sessionScope.visit }">
<li>
| <a href="/lex/login.jsp">Login</a>
</li>

View file

@ -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" />
<div id="columns">
@ -8,7 +10,7 @@ Log out of THDL Tibetan Collaborative Dictionaries</div>
<div class="content">
<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>
<form action='<%= response.encodeURL( request.getContextPath() + "/logout" )%>' method="post">