• Post Reply Bookmark Topic Watch Topic
  • New Topic

HttpServletRequest getParameterMap()  RSS feed

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is it possible for getParameterMap() to return null under certain condition ?
 
Author and ninkuma
Marshal
Posts: 66483
160
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What conditions are you thinking about?

Even in the case of no request parameters, you'd get an empty map.

To be honest, I don't remember what happens in the event of a multipart request, but that should be easy to test.
 
There's a way to do it better - find it. -Edison. A better tiny ad:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!