log JSP output to file -


I am not a java man and I have got some JSP code from a friend for testing purposes. All succession / fallier information is being output in the browser, but the problem is - I am not requesting. So

Is there an easy way to copy the default output of JSP / redirect to a file on the server, but still the request is terminating?

Create a JSP custom body tag that can capture its body content after body body Processed You will send a cover with jsp to the capture tag and the real jespe will be passed as a parameter.

Example:

  & lt; Mytags: capture filename = "file html" & gt; & Lt; Jsp: include page = "& lt;% = request.getParameter (" realpage ")%>" /> & Lt; / Mytags: Capture & gt;  

Checkout online tag library:

On this library, I found "Postprocessor taglib". GetContentString which can be used in your case.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -