Modified LexActionServlet to set System property java.awt.headless to true as recommended by the good Mr. David Chandler

This commit is contained in:
dubtraxis 2003-10-23 00:33:49 +00:00
parent 15815f20c8
commit 26f03259cf

View file

@ -75,6 +75,7 @@ public class LexActionServlet extends HttpServlet
Global global = new Global( recentItems, refreshDelay );
config.getServletContext().setAttribute( LexConstants.GLOBAL_CONTEXT_ATTR, global );
LexLogger.debugComponent( global );
System.setProperty( "java.awt.headless", "true" );
}