Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
I agree. Here's the link:
subject: How to embed a html file in a servlet ?
How to validate HTML form using servlet
preventing direct access to html files
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