cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] GETsnippets Fri Aug 8 17:00:03 2003
Date Fri, 08 Aug 2003 15:00:03 GMT
Page: http://wiki.cocoondev.org/Wiki.jsp?page=GETsnippets , version: 9 on Fri Aug  8 14:27:09
2003 by 131.234.154.180

+ !Java
+ ''String return ""''
+ {{{
+ 	private String getParameter(String input)
+ 	 {
+ 	   if(input == null || input.equals(""))
+ 		 return "";
+ 	   else return input;
+ 	 }
+ 
+ 	   private String getNull(String input)
+ 	 {
+ 	   if(input == null || input.equals(""))
+ 		 return "0";
+ 	   else return input;
+ 	 }
+ }}}
+ 



Mime
View raw message