RE: help

"Peyathevar, Santhi {PBG}" <[email protected]> Tue, 10 Jun 2003 11:40:48 -0500
Newsgroups gmane.comp.java.mvc.devel
Message-ID <[email protected]>
Is there a way to display  the input field as empty?
 
 < html:text  name=" valObj " property=" price " >
 
 Net Price 

  
I have a double "price" field in my value object.
JSP uses the value object, defined as a bean in the JSP page.
 
i do not want the value to be displayed, if it is zero.
If i use logic:equal, the field itself is not displayed.
 
1.we could have a parallel String field in my Value Obj - just for display
purpose.
2.we  could write scriplets
 
Is there any other way?
Santhi