Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating a html Form stand alone java program

 
sri kris
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do i create a html file from stand alone java program.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HTML is just text - you can use the classes in the java.io package to create whichever HTML content you desire. You won't be able to use Struts (or any other web framework) to help generate the file if the code is not running in a servlet container, though.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic