the example is very simple, what i wrote is what i mean to say

The output is a jsp already displayed on a browser, but i need it not in a
browser but contained in a String variable.


>From: "Galbreath, Mark" <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>         Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Getting the output of a JSP
>Date: Mon, 24 Jun 2002 20:33:56 -0400
>
>What output?  Your question doesn't make any sense.  You already have the
>name being displayed as you say you want it.  If you just want to keep the
>format for use somewhere else, put Name in session scope:
>
>String XXX = "<html><body>" + session.getAttribute( "Name") +
>"</body></html>";
>
>Mark
>
>-----Original Message-----
>From: Iv�n Escobedo [mailto:[EMAIL PROTECTED]]
>Sent: Monday, June 24, 2002 7:17 PM
>
>How can i set a String variable with the output of a JSP already loaded or
>processed.
>
>Here's the jsp page:
>
>Example.JSP
>
><html>
><body>
>Hello <%= request.getAttribute("Name") %>
></body>
></html>
>
>So, i need this process to load and retrieve the JSP output:
>
>String XXX = SomeProcess(Example.jsp?Name=ij)
>
>So, finally XXX will contains:
>
>XXX = "<html><body>Hello ij</body></html>"
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html




_________________________________________________________________
Env�e y reciba su correo de Hotmail desde el m�vil: http://mobile.msn.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to