users@glassfish.java.net

Re: Is there a portable way to create files from a servlet ?

From: Chris Fleischmann <Chris.Fleischmann_at_Sun.COM>
Date: Tue, 06 May 2008 16:21:52 +1000

On top of that, you could look at something like iText
http://www.lowagie.com/iText/ to generate PDF documents from your
Servlet (for example:
http://itextdocs.lowagie.com/tutorial/general/webapp/index.php) and send
back to the client.

Chris



glassfish_at_javadesktop.org wrote:
> First you'll have to modify the server.policy to allow local file access from the web application (or you could brute-force disable the security manager). Disabling the security manager is not recommended, but if you're just prototyping, it's quick to do.
>
> Then you should be able to write files to the appserver's filesystem.
> [Message sent by forum member 'madgame' (madgame)]
>
> http://forums.java.net/jive/thread.jspa?messageID=272882
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>

-- 
<http://au.sun.com/sunnews/events/2008/horizons/index.jsp> 	
*Chris Fleischmann*
Solution Architect
Software Practice
*Sun Microsystems Australia*
Level 7, 476. St. Kilda Road
Victoria  3004 Australia
Phone +61 3 9869 6452
Mobile +61 409 527 930
Email chris.fleischmann_at_sun.com
LinkedIn Chris Fleischmann 
<http://www.linkedin.com/profile?viewProfile=&key=3766742&fromSearch=0&sik=1207356751600&split_page=1&rd=in&authToken=3GTuIJ0lU7cX84G8EZNAa0i4digkljnQldgkUVcA54d3oRcPsTdz8Od3sSdzsP&authType=NAME_SEARCH&goback=%2Esrp_1_1207356751600_in>