Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in servlet wrt browser

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic