• Post Reply Bookmark Topic Watch Topic
  • New Topic

creating and writing to files on server  RSS feed

 
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: 18531
61
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!