wood burning stoves 2.0*
The moose likes Servlets and the fly likes Java Servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Java Servlets" Watch "Java Servlets" New topic
Author

Java Servlets

Joe Lopes
Greenhorn

Joined: Dec 27, 2000
Posts: 4
How to call HTML file from Servlet program.
Edgar Sanchez
Greenhorn

Joined: Oct 12, 2000
Posts: 21
You mean to include an HTML file as part of the output generated by a servlet?
Originally posted by Joe Lopes:
How to call HTML file from Servlet program.

maha anna
Ranch Hand

Joined: Jan 31, 2000
Posts: 1467
Use either .forward or .include of RequestDispatcher. A sample code is

We can forward to .html/.jsp/anyServlet resource. But the /Login/login.jsp is the virtual path of browser URL.
regds
maha anna
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Servlets
 
Similar Threads
Un-downloadable Applets
Capturing Form Data
WA #1.....word association
Export in Excel
Downloading HTML page