-
Publishing HTML
Hi everyone,
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
Thank You
Yours Sincerely
Richard West
-
Hi,
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.
http://jvftp.sourceforge.net/
Cheers
Graham
-
Hi everyone,
I was reading the java api and they have a packages called
sun.net.ftp.*;
import sun.net.*;
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?
Please respond
Thank You
Your Sincerely
Richard West
-
Yes, that is correct.
FTP stands for file transfer protocol and is a standard method for transferring files.
Cheers
Graham
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks