diff --git a/src/java/org/thdl/lex/LexActionServlet.java b/src/java/org/thdl/lex/LexActionServlet.java index 1128c27..b6a98e3 100644 --- a/src/java/org/thdl/lex/LexActionServlet.java +++ b/src/java/org/thdl/lex/LexActionServlet.java @@ -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" ); }