Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to write to a file(located at URL) using JSP

 
nagini Burela
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am writing a web application in which the user enters the data that has to be stored in a text file (located at URL).
I am unable to see the data which is entered by the user when I hit the URL where file is located.
How do I write the data into the URL using JSP?
Please help me out regarding this.
 
Wendy Gibbons
Bartender
Posts: 1111
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok, I am a little bit confused by your question, so as it is a couple of days old I will give the best generic answer I can.

You can only write a file on the server where your website is hosted. anything else is called hacking.

here is a question...
the user is typing data into your form, and you want to save this as a file somewhere?
or the user is entering the location of a file you want to upload to your server?


 
Kiran Yadav
Ranch Hand
Posts: 35
Eclipse IDE Firefox Browser Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Nagini, your post is not clear. Will you elaborate on your post.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic