kgb,
i think u cant read files which have session
variables bla bla things
other wise it also get the dynamic part also
the best option for u is to use pseudo-session in that case that is variable
are stored in text files look into
www.onjava.com/pub/a/onjava/2001/03/01/pseudo_sessions.html but i think if u
try to read a jsp from protected dir (with ht access)it will give error (i
still did'nt sol for it oops)
hope this helps
manu
----- Original Message -----
From: Sebastian Cremers
To: [EMAIL PROTECTED]
Sent: Friday, March 23, 2001 8:54 AM
Subject: AW: how to save output of jsp to html file before it returned to
client?


hi,

how about saving all the output in a string before sending it back to the
client?

regards,

sebastian

-----Ursprüngliche Nachricht-----
Von: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]Im Auftrag von hua ge
Gesendet: Donnerstag, 22. März 2001 16:48
An: [EMAIL PROTECTED]
Betreff: how to save output of jsp to html file before it returned to
client?


hello,
I been frustrating with saving a jsp output to an html file before it send
back to client. how can I implement it?

I heard servlet2.3 javax.servlet.ServletResponseWrapper class can make it
happen by making your own outputStream. anyone has experience on it?
can someone post a sample code on it?

I also tried around with other approach by open URL connection on that jsp
page, and write the jsp content to a html file. but my problem is I can only
catch the static part on that jsp , the dynamic part I can't.

really need your help.

thanks


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to