diff --git a/src/java/org/thdl/lex/LexLogger.java b/src/java/org/thdl/lex/LexLogger.java index b2ceedf..e652566 100644 --- a/src/java/org/thdl/lex/LexLogger.java +++ b/src/java/org/thdl/lex/LexLogger.java @@ -70,8 +70,8 @@ public class LexLogger LOGGER.debug( "Query Entry: " + query.getEntry() ); LOGGER.debug( "Query QueryComponent: " + query.getQueryComponent() ); LOGGER.debug( "Query UpdateComponent: " + query.getUpdateComponent() ); - LOGGER.debug( "Query Results, " + query.getResults() + "\n" ); + debugComponent( UserSessionManager.getInstance().getSessionUser( ses ) ); } @@ -113,16 +113,17 @@ public class LexLogger * * @param component Description of the Parameter */ - public static void debugComponent( ILexComponent component ) + public static void debugComponent( Object component ) { try { LOGGER.debug( "Describing: " + component ); + String label = component instanceof ILexComponent ? ( (ILexComponent) component ).getLabel() : component.toString(); Iterator it = BeanUtils.describe( component ).entrySet().iterator(); while ( it.hasNext() ) { Map.Entry entry = (Map.Entry) it.next(); - LOGGER.debug( component.getLabel() + " property: " + entry.getKey() + " = '" + entry.getValue() + "'" ); + LOGGER.debug( label + " property: " + entry.getKey() + " = '" + entry.getValue() + "'" ); } } catch ( Exception e ) diff --git a/src/jsp/index.jsp b/src/jsp/index.jsp index b131577..77477d3 100644 --- a/src/jsp/index.jsp +++ b/src/jsp/index.jsp @@ -1,23 +1,13 @@ <%@ page buffer="12kb" autoFlush="true" import="org.thdl.lex.*" errorPage="/jsp/error.jsp" %> -
THDL Tibetan Dictionary Home Page
+
THDL Tibetan Collaborative Dictionaries Home Page
Last Updated: January 23, 2003

Search Dictionary

-

-Spotlight
-At present there is only one word — thod rgal. -Over the coming weeks David Germano will be entering further Buddhist terminology, -and opening up the Encyclopedia portion with extended descriptions. -Other projects on the horizon: -Frances Garrett's Medical Terminology glossary and Materia Medica database, -Matthew Kapstein's Classical Literary terminology glossary, -Nicolas Tournade's Colloquial Lhasan terminology glossary. -Last updated: January 22, 2003. -

+
diff --git a/src/jsp/jsp/menu.jsp b/src/jsp/jsp/menu.jsp index b274139..db10044 100644 --- a/src/jsp/jsp/menu.jsp +++ b/src/jsp/jsp/menu.jsp @@ -7,7 +7,7 @@ -

THDL Dictionary Server: Main Menu

+

THDL Tibetan Collaborative Dictionaries: Main Menu

diff --git a/src/jsp/login.jsp b/src/jsp/login.jsp index 91d6681..e475fa8 100644 --- a/src/jsp/login.jsp +++ b/src/jsp/login.jsp @@ -2,7 +2,7 @@ <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>

-Please login to use Lex the Dictionary Server +Please login to use the THDL Tibetan Collaborative Dictionaries
Message
@@ -25,7 +25,7 @@ Password:

-If you are not a dictionary contributor please proceed here. +If you would just like to browse the dictionary without contributing please proceed here.