This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
Scriptlets -> Time and Space Complexity
Do you have elegant way of nullpointer exceptions
difference
is servlet and jsp same?
attributes and listener hfsj question 10