• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can I write to the file system from a servlet?

 
Dave Schick
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've got a requirement to write to a public drive at our company (writing out xml files). I want to run this application on a local server as a servlet. What are my options? Will I be able to write to a file system from the server? Thanks.
 
Ananth Chellathurai
Ranch Hand
Posts: 349
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dave,

Yes, if you have enough permissions set for the path. You would require write access granted for your webserver.

Regards
Ananth Chellathurai
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!