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.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL