Re: Overriding JspWriter/JspFactory

2001-03-05 Thread William Brogden



Jim Cheesman wrote:
 
 Is there anyway to redirect the JSP output (in my case xml, html and wml)
 to a file?
 
 The web.xml that tomcat uses on startup has the servlet
 org.apache.jasper.runtime.JspServlet controlling the JspFactoryImpl (and
 JspWriterImpl, PageContextImpl etc.) implementations, but I'd rather not
 have to reimplement the classes in this pacakage if there is a simpler way
 to do it.
 
 Any ideas?
 
 Jim
 

I have seen suggested that you simply create another local application
which sends a request to the JSP URL (emulating a browser) 
and captures the result to file.
This has the advantage of not altering your JSP code.

WBB

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Overriding JspWriter/JspFactory

2001-03-05 Thread Jim Cheesman

At 04:21 PM 3/5/2001, you wrote:


Jim Cheesman wrote:
 
  Is there anyway to redirect the JSP output (in my case xml, html and wml)
  to a file?
 

snip

 

I have seen suggested that you simply create another local application
which sends a request to the JSP URL (emulating a browser)
and captures the result to file.
This has the advantage of not altering your JSP code.



Thanks for the idea - I guess the simplest ideas are the hardest to have...

(And that's probably what we'll end up implementing - though I'd still be 
interested to know if there's a more "technical" answer to my question...)


Cheers,
Jim





--

   *   Jim Cheesman   *
 Trabajo: [EMAIL PROTECTED] - (34)(91) 724 9200 x 2360
   Personal: [EMAIL PROTECTED] (34) 654 153 160
  Practice safe eating -- always use condiments.














-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]