Women in Technology

Hear us Roar



Article:
  Dynamically Creating PDFs in a Web Application
Subject:   Exception in thread "main"
Date:   2003-08-15 02:36:27
From:   anonymous2
When I tryed to execute the exemple : PDFServlet whith technique B this error was appeared : Exception in thread "main".
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Exception in thread "main"
    2003-10-06 06:08:06  anonymous2 [View]

    This means you've tried to run PDFServlet's main method by running 'java PDFServlet'.
    The servlet PDFServlet can not be run directly, it must be placed inside a servlet container like Tomcat, and it must be called from your web-browser (as in http://localhost:8080/projectName/servletName ).

    Hope this helps,
    Fabricio.