aspose file tools
The moose likes JSP and the fly likes how to Create a .html file from JSP at Web Server Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply Bookmark "how to Create a .html file from JSP at Web Server" Watch "how to Create a .html file from JSP at Web Server" New topic
Author

how to Create a .html file from JSP at Web Server

Prafulla N. Patil
Ranch Hand

Joined: Mar 20, 2006
Posts: 106
how to Create a .html file from JSP at Web Server

output of JSP is a HTML page which we want to store on web server as HTML file for later use.

Kindly help as it is required to save the .html file

earlier post of same type are not giving any clear idea

can anyone explain with code example
[ October 10, 2007: Message edited by: Prafulla N. Patil ]

Thanks, Prafulla Patil
SCJP, SCWCD
Prafulla N. Patil
Ranch Hand

Joined: Mar 20, 2006
Posts: 106
no reply from anyone ???/
no one knows about this in whole javaranch?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56549
    
  14

Originally posted by Prafulla N. Patil:
no one knows about this in whole javaranch?

Have you considered that your question might be too vague for anyone to understand waht it is that you are asking?

Please look through the information at the Smart Questions link below.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35443
    
    9
You can use a library like Jakarta HttpClient (or even just the java.net.HttpUrlConnection class) to access the JSP URL, and save the output of the call.


Android appsImageJ pluginsJava web charts
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Why do you want to do this?
If the pages are static, why make them JSPs in the first place?
If there is dynamic data and you save the output in a static file, people won't be seeing up to date versions.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to Create a .html file from JSP at Web Server
 
Similar Threads
Is it possible to create a folder on the web server from a servlet?
Create HTML file from JSP on Web Server
how to get server path in MDB
Create a .html file from JSP at Web Server
fiel upload