aspose file tools*
The moose likes Servlets and the fly likes reading and write a HTML file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "reading and write a HTML file" Watch "reading and write a HTML file" New topic
Author

reading and write a HTML file

Ikasari Widiyanto
Greenhorn

Joined: May 31, 2004
Posts: 29
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

Joined: Aug 14, 2001
Posts: 342
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.


SCJP 1.4, www.gsi3d.org.uk
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8927
    
    9

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: reading and write a HTML file