Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes Capturing the response in a HTML file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Capturing the response in a HTML file" Watch "Capturing the response in a HTML file" New topic
Author

Capturing the response in a HTML file

Abhishek Rath
Ranch Hand

Joined: Nov 22, 2007
Posts: 42
Hi

We have a struts based web application.The Web pages are served through the action class using struts-config.xml file.
Can it be possilbe to capture the response to a HTML file before the same gets displayed on the web page.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63211
    
  69

Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Abhishek Rath
Ranch Hand

Joined: Nov 22, 2007
Posts: 42
Hi

Thanks a lot.But though the application is struts based but we are using JAVA for everything.The servlet receives the response and then the page is rendered.Is there any way in which the response can be written to a html file.

So is it ok to keep the question in struts section or needs to be moved to java.Please revert.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Capturing the response in a HTML file
 
It's not a secret anymore!