aspose 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
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
 
 
subject: Writing files JSP & Servlet