GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Tech FAQs  >  Programming  >  JSP

 Print  |  
Question:  The wrapper function like
<%!
String blanknull(String s) {
return (s == null) ? "" : s;
}
%>
then use it inside your JSP form, like
<input type="text" name="shoesize"
value="<%=blanknull(shoesize)% >" >
prevents the word__________ from apperaring in an HTML page.


Answer: Skill/Topic: Programming Constructs
A) Null


August 08, 2006 01:12:00 #1
 parthibanathan   Member Since: Visitor    Total Comments: N/A 

RE: The wrapper function like <%! String ...
 
null
     

 

Back To Question