Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to open a HTML document from a servlet? [new user]

843841May 31 2005 — edited May 12 2009
I'am new in Java. I would like to send HTML files to Web browser clients from Java Servlets. I don't want to write le HTML code in the servlet. That is to say reading HTML directly. Is it possible and someone can help me with the code?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 9 2009
Added on May 31 2005
3 comments
652 views