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

Reply via email to