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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
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: 61191
    
  66

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41809
    
  62
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.


Ping & DNS - my free Android networking tools app
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://aspose.com/file-tools
 
subject: how to Create a .html file from JSP at Web Server