aspose file tools*
The moose likes Applets and the fly likes handle getParameter() with no value in Param tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "handle getParameter() with no value in Param tag" Watch "handle getParameter() with no value in Param tag" New topic
Author

handle getParameter() with no value in Param tag

Rajeev Kashyap
Greenhorn

Joined: Sep 07, 2004
Posts: 19
getParameter methods will correctly handle PARAM tags which have name properties, but do not have a value property
Jeff Bosch
Ranch Hand

Joined: Jul 30, 2003
Posts: 805
Hi, Rajeev -

Are you asking a question, or posting perhaps a response to someone else's question?


Give a man a fish, he'll eat for one day. Teach a man to fish, he'll drink all your beer.
Cheers, Jeff (SCJP 1.4, SCJD in progress, if you can call that progress...)
Rajeev Kashyap
Greenhorn

Joined: Sep 07, 2004
Posts: 19
Sorry,
I wanted to ask
How getParameter methods will correctly handle PARAM tags which have name properties, but do not have a value property.
Jeff Bosch
Ranch Hand

Joined: Jul 30, 2003
Posts: 805
If you have a parameter name but no value, it will return null. (Be sure to test for null after getting the parameter and before using the String you store the parameter value in!)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: handle getParameter() with no value in Param tag