• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem creating files from JSP

 
Jay Ashar
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all...I have this code in JSP which creates the file on the server

When is compile this code from java class and just try to run it using java filename it creates the file fine, but problem is when I do the same thing from JSP its not creating any files nor is it hsowing any errors. Does anybody had a problem like this before?? I also tried calling java class from JSP page but its still not creating any files.
Thanks in advance.
 
danny liu
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check the account that Tomcat is running under.
if it is a system account, you can write or delete a file on the server
Dan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic