Hi,

Is it possible to use the JSP engine in a mode that is disconnected
from an HTTP session? The JSP mechanism seems a great way to separate
templates from code for formating purposes. For example, if I need to
create a letter to a customer it only makes sense to place the letter
in a JSP and pass it some objects to extract the customer name, address
etc. from. The question is whether I must call this thing using an HTTP
connection (which is very inconvenient and seems a performance problem)
or is there a way for me to create a fictitious request and response
and activate this as a Java program? (i.e. I have a Java program that
has all the objects - I want to call the JSP to prepare the output stream
and then extract the generated string from that call.

Is this possible, and if so can someone forward me to some sample code that
does this?

Thanks,
-Ron
([EMAIL PROTECTED])

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to