File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Writing files JSP & Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Writing files JSP & Servlet" Watch "Writing files JSP & Servlet" New topic
Author

Writing files JSP & Servlet

Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
Is it possible to write a file to a local system with JSP or Servlet calls?
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
Yes, if by local you mean the system running the servlet container. Servlets don't run in any sort of sandbox, but they are sill subject to any limitations imposed by the underlying operating system, so on a Unix system (for example) you may not be able to write to files owned by another user.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Writing files JSP & Servlet