Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HttpServletRequest getParameterMap()  RSS feed

 
Linwood Hayes
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is it possible for getParameterMap() to return null under certain condition ?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66188
151
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!