Aloha Mark,
try using
<jsp:forward page="test.xml" />
if you need to pass addidtional parameters use:
<jsp:forward page="test.xml">
<jsp:param name="foo" value="bar" />
</jsp:forward>
Friday, September 14, 2001, 9:30:15 AM, you wrote:
MSK> I'd like to "include" an XML page request with esql query string and
MSK> "report type" (i.e. html, pdf, csv, etc.) as a "<jsp:include>" in a current
MSK> JSP page which already has my page security and other stuff.
MSK> Currently, in my JSP I have:
MSK> <jsp:include page="test.xml" flush="true" />
MSK> I'm getting the message:
MSK> "java.lang.IllegalStateException: Writer is already being used for this
MSK> request"
MSK> which from reading previous posts relates to the OutputStream (servlet) vs.
MSK> Writer (tomcat) incompatibility (only one can control the "writing").
MSK> My stand-alone XML file does what I want by outputting in HTML or PDF
MSK> (depending
MSK> on a form choice from the previous page that "calls" it and <xsp:pi> an
MSK> appropriate stylesheet filename), but I have concerns about the XML file
MSK> being able to be called without any "checking" to ensure the website visitor
MSK> is "authorized" to view the page (this is for an online app). Otherwise,
MSK> wouldn't they be able to just put it in the URL and view it (although they
MSK> would have to know what parameters to "feed" it to get it to work right)?
MSK> The other thing is once I've "committed" the output type to a "JSP" page,
MSK> can
MSK> I tell the the output to be a PDV or a CSV to be downloaded?
MSK> Thanks!
MSK> Mark
MSK> ---------------------------------------------------------------------
MSK> Please check that your question has not already been answered in the
MSK> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
MSK> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
MSK> For additional commands, e-mail: <[EMAIL PROTECTED]>
--
Mahalo,
Russell mailto:[EMAIL PROTECTED]
Chief Mentor
4Charity - Changing the world,
one click at a time.
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>