how do i generate a .html file using java?
i need 2 read from a file file and display an applet in a web browser.
So i need to include the main() and cannot run an external .html file.
Please help.

>how do i generate a .html file using java?
Using classes of java.io package.

>i need 2 read from a file file and display an applet in a web browser.
use java.net.URL class.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.