Meaningless Drivel is fun!*
The moose likes Cattle Drive and the fly likes Servelts - 4a : ServletData question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Servelts - 4a : ServletData question" Watch "Servelts - 4a : ServletData question" New topic
Author

Servelts - 4a : ServletData question

Jeremy Medford
Ranch Hand

Joined: Jan 16, 2007
Posts: 44
Hi,

I'd like to verify if there are any Parameters in servletData being passed into a doAction method. Is it just a matter of checking what getParameter or getParameters returns? Do these return NULL if they don't contain the Parameter(s)?


Thanks,

Jeremy
Carol Murphy
village idiot
Bartender

Joined: Mar 15, 2001
Posts: 1194
Jeremy, it's been a long time since I did these assignments, but I believe the answer to your first question is yes, but you have to do more than just "check" what is in the parameter. And I think the answer to the second question is also yes, because the parameters are strings, so if they aren't there then they would be null.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servelts - 4a : ServletData question
 
Similar Threads
Why an inner class?
Bogging down a bit.....
sending parameters with a link
cookie questions
I'm not being forward!