File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Problem in servlet wrt browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem in servlet wrt browser" Watch "Problem in servlet wrt browser" New topic
Author

Problem in servlet wrt browser

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi,
I have a jsp page that contains a BLOB object for binary data. The enctype of the form containing the BLOB object is
declared as : enctype="multipart/form-data".
There is also a program that parses the form and stores the
parameters in hash table.
The problem is:
In case of the browser being Internet Explorer there is no
problem but in case of the browser being Netscape Navigator
there is a null pointer exception on Post.
Actually in the latter case the "contenttype" parameter of
the form comes as null. But the same does not happen
in case of Internet Explorer.
I would like to know the cause of contenttype being finite
in IE and null in NetscapeNavigator.


Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
"Nilanjan B",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks.

Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in servlet wrt browser