Palanisamy Easwaran wrote:
>
> Hi,
>
> I am using Websphere 3.0 application server , I have problem in
> uploading files
> using MultipartRequest class which is not a problem with JWS2.0.
>
> I notice that it is not problem with getContentType().
> When it is reading the first line , the line doesn't have
> the boundary at all,
> it has some of contents of file (not even first line of file ).
>
> Have anyone encountered this kind of problem? or am I doing anything
> wrong?
I've never heard of this problem. It doesn't make any sense. Garbled
input like you describe would indicate a client problem, but if JWS2.0
works with the same client then we can eliminate that possiblity. I
suggest you snoop the exact request (a la Chapter 13), watch what the
server's doing (using println or an IDE), and look for discrepencies.
-jh-
--
Jason Hunter
[EMAIL PROTECTED]
Book: http://www.servlets.com/book
2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html
2.1 to 2.2: http://www.javaworld.com/jw-10-1999/jw-10-servletapi.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html