What i do is open a URLConnection to "http://localhost/myPage.jsp", the only
way i found to do it. The only problem with that approach is if you need to
share some session info with another sesion, my solution is that instead of
calling the JSP directly i call a servlet that reads that additional info
from a singleton, that servlet places the info in the request object and
redirects to the JSP.

lee
Lee Elenbaas
ViryaNet
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
http://www.viryanet.com/


-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Stefano Andreani
Sent: Monday, June 26, 2000 2:06 PM
To: [EMAIL PROTECTED]
Subject: Calling a JSP engine "offline"


How can I call a JSP engine and put his output in a file, or a stream
without sending it to the client? I can't find a solution because the only
way to run a JSP engine seems to be sending it an http request, and the Jsp
page output goes in a stream of the http response.

Thanks.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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".
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