• Post Reply Bookmark Topic Watch Topic
  • New Topic

creating and writing to files on server

 
mohan kannan
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to create or write to .txt file on the server using jsp bean class.
I am able to create/open/ write to .txt file
using jsp bean on local system
But the same bean is not working properly when uploaded on to the server
JsP Server is tomcat
mohan
 
Tim Holloway
Bartender
Posts: 18408
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most likely because you're using a relative path instead of an absolute one. A lot of people run into this problem. Try using the "search" feature of this forum and you'll see it discussed at length.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!