You could use the servlet to instantiate a bean. The bean is then placed
into the request, and the call is then forwarded to the jsp page. In the jsp
page you can then retrieve the bean and transform the xml. There is an
opensource stylesheet tag that performs the transformation already available
from jakarta taglibs, http://www.jakarta.apache.org.

Justy


----- Original Message -----

> Ganesh,
>
> > 1. How to send XML String from Servlet to JSP?
>
> session.putAttribute("XML", strXML);
>
> > 2. How to retreieve the XML sent by Servlet?
>
> session.getAttribute("XML", strXML);
>
> It's at least one way. :-)
>
> == Ross ==
>
> Ross W. Lambert, CTO
> WebWolves, LLC
> voice: (509) 886-2049
> e-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> web: www.webwolves.com <http://www.webwolves.com>
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> 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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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