• Post Reply Bookmark Topic Watch Topic
  • New Topic

want to check whether the request contains ANY param values, not one specifically  RSS feed

 
Bill Brasskey
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know of a way that I can simply determine if a request contains parameters or not without checking each param individually?
What I would like to do is check the length of an array that would contain all request parameter values. I have searched around for this info, without much luck. Is there any argument I can supply the request.getParameterValues method with that will return an array containing ALL the param values on the request so I can check its length?
Any advice will be much appreciated.
[ October 11, 2004: Message edited by: Bill Brasskey ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65898
135
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you were looking you must have missed request.getParameterNames() and getParameterMap().
[ October 11, 2004: Message edited by: Bear Bibeault ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!