Please solve this : java.awt.Headless Exception
843806Jun 30 2007 — edited Jul 2 2007Hi Guys
When i call my program from servlet to bean (Swing component) then this exception will be thrown [It was not occur in local but occured only in onLine)
Please solve the problem
Please i am in a trouble so, pls solve and help me
and the exception is
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
java.awt.Window.<init>(Window.java:310)
java.awt.Frame.<init>(Frame.java:419)
java.awt.Frame.<init>(Frame.java:384)
javax.swing.JFrame.<init>(JFrame.java:150)
com.maan.Mail.DAO.JTableSwingpdf.<init>(JTableSwingpdf.java:144)
com.maan.Mail.controller.SendingQuote.doPost(SendingQuote.java:85)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
Regards
muthu2007
Message was edited by:
muthu2007