I have a textpane with some text inside( i am using the HTMLDocument class as the default document of the textpane) and need to publish the contents of this textpane on certain webpage(www.free.com)
What i have also a button together with the textpane on a frame thus when the user clicks on that button all the contents of the textpane are publish to a certain webpage(www.free.com)
i really hope someone can show me some codings or explain to me in detail
on how this can be achieved
probabily the easiest way is to save the contents as an html file and ftp it to the web site.
here is an FTP class from sourceforge.
I was reading the java api and they have a packages called
What i read is that these ftp packages can upload a file but i do not know if the ftp you are talking about is the same as the ones used as the java ftp packages.
What i grasp that is that you saying that i must save my file as a
.html extension and upload it using a ftp client
Am i right?
Yes, that is correct.
FTP stands for file transfer protocol and is a standard method for transferring files.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center