File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes static HTML output Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "static HTML output" Watch "static HTML output" New topic
Author

static HTML output

Fabio Fonseca
Greenhorn

Joined: Jan 19, 2006
Posts: 29
Hello guys,

What you think is the best solution to output 'real', static html files in a application?

What I want to do is the following: As soon a .jsp page is processed, it's content would be saved in a html file and then be sent to the apache, to serve it as static html.

Nowadays we're using Tomcat to serve the jsp's, but our database is suffering because of the increasing in audience we're having these days. Tomcat too is suffering a bit, mostly I have to restart it every week or so. Will Apache handle it all alright?

Thanks in advance! you guys rule!
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

I would, first, address the problems with your app that are causing the need for a daily Tomcat reboot.
Have you profiled your app to see where the bottlenecks are?


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: static HTML output