http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2296 *** shadow/2296 Fri Jun 22 17:31:48 2001 --- shadow/2296.tmp.24499 Fri Jun 22 17:31:48 2001 *************** *** 0 **** --- 1,63 ---- + +============================================================================+ + | Calling Fop through a servlet | + +----------------------------------------------------------------------------+ + | Bug #: 2296 Product: Fop | + | Status: NEW Version: all | + | Resolution: Platform: PC | + | Severity: Critical OS/Version: Windows NT/2K | + | Priority: Other Component: pdf renderer | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + Hi I am using latest Fop 19. I am able to convert my .fo files to .pdf easily + by using fop.bat file. I am trying to create a servlet which can provide the + functionality of converting any file (chosen by user through browser., + mainly .fo) to pdf. I found an example FopServlet that accomplishes the + purpose. But I am not able to compile the FopServlet.java to .class file. It + did not compile and the following are the error I got. + + + D:\manik\fop19\docs\examples\embedding>javac FopServlet.java + FopServlet.java:59: Class org.xml.sax.InputSource not found in import. + import org.xml.sax.InputSource; + ^ + FopServlet.java:60: Class org.xml.sax.XMLReader not found in import. + import org.xml.sax.XMLReader; + ^ + FopServlet.java:62: Class org.apache.fop.apps.Driver not found in import. + import org.apache.fop.apps.Driver; + ^ + FopServlet.java:63: Class org.apache.fop.apps.Version not found in import. + import org.apache.fop.apps.Version; + ^ + 4 errorsD:\manik\fop19\docs\examples\embedding>javac FopServlet.java + FopServlet.java:59: Class org.xml.sax.InputSource not found in import. + import org.xml.sax.InputSource; + ^ + FopServlet.java:60: Class org.xml.sax.XMLReader not found in import. + import org.xml.sax.XMLReader; + ^ + FopServlet.java:62: Class org.apache.fop.apps.Driver not found in import. + import org.apache.fop.apps.Driver; + ^ + FopServlet.java:63: Class org.apache.fop.apps.Version not found in import. + import org.apache.fop.apps.Version; + ^ + 4 errors + + + I tried to build the fop by the calling build.bat(d:\manik\fop19\build.bat) in + the command line. The build was successfull., but still javac FopServlet.java + was not sucessfull. Please let me know, how i can call successfully create the + class FopServlet.class and call it through a servlet (running from jakarta + tomcat server). + + Please help us ASAP. + + Thanks + Manik \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]