Scott,
    I am attaching the sample code which illustrates this bug. I took the
SnoopServlet code that is in the demo_app. And modified it to chain to a
second servlet "SnoopServlet_2" from SnoopServlet_1..
This is the scenario for testing I used.

I invoke the url : http://localhost/demo/SnoopServlet_1?test=TEST
I see the output from SnoopServlet_2. If you look at the query string you
see "Query string test=TEST ".
However if you look at the     "Request Parameters (single style) - none ";
"Request Parameters (multiple style) - none "

I am setting the content type to "chain" in SnoopServlet_1. And  have set up
the mime type as follows. This is in my web_app.properties file.
"webapp.mime-servlet.chain=SnoopServlet_2"

The problem is that the RequestParameters are not transferred to the second
servlet in the chain. even though the request parameters are there in the
querystring

Thanks
Naveen



----- Original Message -----
From: "Scott Stirling" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 23, 2000 6:44 PM
Subject: RE: Mime Type chaining does not work in Jrun3.0??


> This may be a bug. I noticed a similar problem Friday and am just reading
your
> email now.  Do you have a test case with a snippet of your
webapp.properties?
>
> Scott Stirling
>
> > -----Original Message-----
> > From: Naveen Shankar [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 18, 2000 2:17 PM
> > To: [EMAIL PROTECTED]
> > Subject: Mime Type chaining does not work in Jrun3.0??
> >
> >
> > Hi,
> >     It appears that the mime-type chaining behaves differently in
Jrun3.0.
> > Earlier  in JRUN 2.3.3 I could chain servlets by setting the mimetype in
> > mimetypeservlets.properties. And the servlet in the chain would inherit
all
> > the request parameters.
> > But now in JRUN3.0 it looks like only the first servlet in the chain
> > inherits the request parameters. These parameters are not there on the
> > second servlets request object. Is there a workaround for this??
> > Appreciate any help.
> >
> > Thanks
> > Naveen
>
> --------------------------------------------------------------------------
----
> Archives: http://www.egroups.com/group/jrun-interest/
> Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
> or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.

SnoopServlet_2.java

SnoopServlet_1.java

JRunDemoServlet.java

Reply via email to