File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of RabbitMQ in Depth this week in the Open Source forum!
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: 38
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: 62746
    
  68

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: 38
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Capturing the response in a HTML file