Originally posted by raul manzano:
any one knows how can i generate pdf from a jsp if the xml source is generate for another jsp??
can anyone help me?any source code of a example??
The Apache FOP package comes up with a example
servlet(FopServlet.java), see the docs folder to get the source code. Its basically converts a given xml+xsl into a PDF or a give fo into a PDF.
If you want this to be done in a JSP, then you can better write a
java bean for doing this server side process.
All you have to do is add the neccessary jar files in to the lib directory of your web apps and write the servlet or javabean.
The example code got everything to help you.
Hope this helps
Regards
Balaji