aspose file tools*
The moose likes JSP and the fly likes How to write to a file(located at URL) using JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "How to write to a file(located at URL) using JSP" Watch "How to write to a file(located at URL) using JSP" New topic
Author

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

nagini Burela
Greenhorn

Joined: Apr 23, 2011
Posts: 8
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

Joined: Oct 21, 2008
Posts: 1107

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

Joined: Nov 02, 2011
Posts: 35

Dear Nagini, your post is not clear. Will you elaborate on your post.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to write to a file(located at URL) using JSP