Excel Sheet Generation Using Marvin Beans¶
The following example is a JSP page that generates an Excel Sheet with Marvin generated structure images and structure data.
To run the examples, follow the steps below.
- Install MS Excel 2000 or higher version.
- Install Tomcat. (of course, the examples also run under other servlet servers.)
- Copy all JAR files (files with
.jarextension) of the Marvin Beans or JChem package under Tomcat'slibdirectory. - Create the
marvindirectory under Tomcat'swebapps/examples/jsp/marvin - Copy the
generate_image.jspfile from theexamples/image-generationdirectory and themolsheet.jspfile from theexamples/excelsheet-generationdirectory of Marvin Beans to Tomcat'swebapps/examples/jsp/marvin/directory. - Start Tomcat
- Open:
- Start MS Excel and open the following link: http://localhost:8080/examples/jsp/marvin/molsheet.jsp
- If you have cocoon or other XML publishing framework installed under your servlet server you can open the http://localhost:8080/examples/jsp/marvin/molsheet.jsp link from your browser.