Re: jsp - string ?

2003-09-11 Thread Bill Barker
Can be done. This example should get you started. public class MyEmailResponse extends HttpServletResponseWrapper { Writer out; public MyEmailResponse(HttpServletResponse res) { super(res); out = new StringWriter(); } public Writer getWriter() {

Re: jsp - string ?

2003-09-11 Thread Pike
Hi Can be done. This example should get you started. that is a really nice solution ! one question public class MyEmailResponse extends HttpServletResponseWrapper { Writer out; public MyEmailResponse(HttpServletResponse res) { super(res); out = new

Re: jsp - string ?

2003-09-11 Thread Bill Barker
Pike [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Can be done. This example should get you started. that is a really nice solution ! one question public class MyEmailResponse extends HttpServletResponseWrapper { Writer out; public

jsp - string ?

2003-09-10 Thread Andoni
Hello, I have written a little method for my servlet that let's me know when something goes wrong. It sends me an email the body of which is a simple java.lang.String. This is easy as I cut mostly from a book I have ;-) Anyway, my question now is, I want to have my RequestDipatcher fill out

Re: How to get the parsed JSP string

2001-04-04 Thread Rhett Savage
if i understand correctly then one way you could accomplish that is simply by reading the output of the JSP (which you serve in the usual way) into a string using the java.net.URL class, something similar to the code below - this way any includes, interpolations, calculations that occur in the

Re: How to get the parsed JSP string

2001-04-04 Thread Eduard Witteveen
Rhett Savage [EMAIL PROTECTED] wrote: if i understand correctly then one way you could accomplish that is simply by reading the output of the JSP (which you serve in the usual way) into a string using the java.net.URL class, something similar to the code below - this way any includes,

How to get the parsed JSP string

2001-04-03 Thread Eduard Witteveen
Hello, I want to do some operations, after that the JSP page has been parsed. For this i need the get the output of the jsp page, which has been parsed, i want to use this output as input for something else. How can i archief this? * Is there a way to put more then one servlet after eachother?