🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.help
Article #59

JSP tag problem > help!

#59
From: Shahin
Date: Sun, 26 May 2002 00:10
16 lines
2264 bytes
i've got a method in my jsp tag handler class that passes 
getPreviousOut() to a bean as a javax.servlet.jsp.JspWriter.  problem 
is, the bean's method uses apache Xalan 2 libraries, and Xalan doesn't 
appear to handle JspWriters; it writes its output to a 
javax.xml.transform.stream.StreamResult.  so consequently, i'm having 
trouble getting the results from my bean (with the xalan method) back to 
the original JSP page.

now, i'm new to this, so please bear with me :).  is there a way to put 
the contents of a StreamResult into a JspWriter?  if not, how else might 
i do this?  or could i possibly pass something else (besides a 
JspWriter) to my bean, that could in turn accept the contents of a 
StreamResult?

thanks in advance!
/ Shahin
Technical Details
Message-ID: <3CF02747.2070406@please.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn1feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!sccrnsc02.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5d71,11440b2a3a4c55e8,start
X-Google-Attributes: gidf5d71,public
X-Google-Thread: 10a146,11440b2a3a4c55e8,start
X-Google-Attributes: gid10a146,public
X-Google-Thread: fcfbb,11440b2a3a4c55e8,start
X-Google-Attributes: gidfcfbb,public
X-Google-Thread: 113ae9,11440b2a3a4c55e8,start
X-Google-Attributes: gid113ae9,public
X-Google-Thread: f74b3,11440b2a3a4c55e8,start
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2002-05-25 17:10:55 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn1feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!sccrnsc02.POSTED!not-for-mail
Message-ID: <3CF02747.2070406@please.com>
From: Shahin <reply_to_board@please.com>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0rc2) Gecko/20020512 Netscape/7.0b1
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.lang.java.help,comp.lang.java.programmer,comp.lang.java.beans,comp.lang.java,borland.public.jbuilder.java.language
Subject: JSP tag problem > help!
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 17
NNTP-Posting-Host: 12.234.174.154
X-Complaints-To: abuse@attbi.com
X-Trace: sccrnsc02 1022371854 12.234.174.154 (Sun, 26 May 2002 00:10:54 GMT)
NNTP-Posting-Date: Sun, 26 May 2002 00:10:54 GMT
Organization: AT&T Broadband
Date: Sun, 26 May 2002 00:10:54 GMT