• Post Reply Bookmark Topic Watch Topic
  • New Topic

HttpServletRequest getParameterMap()  RSS feed

 
Ranch Hand
Posts: 108
  • 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: 66676
167
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.
 
Won't you be my neighbor? - Fred Rogers. tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!