Hi Mike, Ndele,
Below is a piece of codes i use to test the servlet:
try
{
OutputStream os = new BufferedOutputStream(new
FileOutputStream("C:\\tmp\\WL-out.txt"));
InputStream is = req.getInputStream();
int b;
while((b=is.read())!= -1)
os.write(b);
is.close();
os.close();
}
catch(Exception e)
{
}
and it writes out fine WITHOUT any junk!
Regards,
Dovan
--- "Sutton, Ndele" <[EMAIL PROTECTED]>
wrote:
> i ran into the same thing using WL 6.1 sp3. i think
> it has something to do
> with the way that
> weblogic.servlet.internal.ServletInputStreamImpl
> class
> handles chunking. due to time constraints, i
> abondoned WL and went back to
> slide. i have been meaning to open a support case
> with BEA, i just haven't
> gotten around to it. my eventual goal is to move
> back to WL, so let me know
> what you find.
>
> -- ndele
>
> > -----Original Message-----
> > From: dovan nguyen [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, October 14, 2002 11:01 AM
> > To: Slide Users Mailing List
> > Subject: Re: putMethod adds some junks characters
> >
> >
> > Hi Mickael,
> >
> > I've tried to deploy slide.war onto Tomcat and it
> > works fine....
> >
> > I definitely suspect it's WL 7.0...
> >
> > I will try your suggestion today.
> >
> > Thanks,
> > Dovan
> >
> > --- Michael Smith <[EMAIL PROTECTED]> wrote:
> > > dovan nguyen wrote:
> > > >
> > > > Hi all,
> > > >
> > > > I have already asked the question but I still
> have
> > > no
> > > > clue of the problem...
> > >
> > > This problem (still) looks like a bug in WL7.
> I've
> > > tested the client,
> > > and it definately works correctly, and the
> webdav
> > > servlet never deals
> > > with HTTP/1.1 chunking directly, so it couldn't
> be a
> > > bug there. Perhaps
> > > you could write a simple test servlet to run in
> your
> > > servlet container
> > > that implements doPut() and writes the input
> stream
> > > from the
> > > HttpServletRequest directly to a file - then, if
> > > that file has those
> > > bogus extra characters, it'd definately be a
> server
> > > bug.
> > >
> > > Michael
> > >
> > > --
> > > To unsubscribe, e-mail:
> > >
> <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > >
> >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Faith Hill - Exclusive Performances, Videos & More
> > http://faith.yahoo.com
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>