A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
How to embed a html file in a servlet ?
Joined: Jan 05, 2001
Jan 30, 2001 06:32:00
When a client requests for my
, i've to send a html file which is located in Public_html directory of Javawebserver. Other wise I want to send a html file to my client. Can anybody please reply me ?
Joined: Nov 26, 2000
Jan 30, 2001 07:15:00
Do you want to redirect the request to a html file?
If yes, then you can use
where you can pass the location of the html document in the String.
It is sorta covered in the
JavaRanch Style Guide
subject: How to embed a html file in a servlet ?
preventing direct access to html files
How to validate HTML form using servlet
send a xml file to servlet and servlet send back the xml file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014