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
This information will be available in the java file and on the website (when next updated). You need the appropriate jars in the classpath - servlet_2_2.jar - fop.jar - sax api
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed