You really shouldn't perform file I/O (or anything else that requires Java code) inside of JSP pages; it's considered bad design. Move that code to a backing bean or a servlet; then you can write all the Java code you need w/o complications.
Joined: Aug 12, 2008
So I should use servlet to I/O to file. Tnx.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com