• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

reading and write a HTML file

 
Ikasari Widiyanto
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I would like to know how to create a HTML file in jsp. because I'm doing program that can create e-cards for christmas. There must be image and music in the html file. I'm not sure how to do this. Can someone help me by providing me with links or sample code would be the best. Thanks..
 
Ben Wood
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ikasari,

Are you sure you want to write a file? The idea behind JSP is that it will dynamically generate the HTML for your page and send it to the browser, the file you write is the JSP script and the way it presents the HTML then depends on the user inputs.
 
Joe Ess
Bartender
Posts: 9313
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The J2EE tutorial is the place to start. Specifically the chapters on Java Servlets and JavaServer pages. As this has little to do with IO, I'm going to move it to the Servlets Forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic