Skip to Content
0
Former Member
Sep 14, 2006 at 11:54 AM

What does the JspUtil.removeNull() do?

18 Views

Hi,

I would like to know what the following statement does:

JspUtil.removeNull(item.getProduct())

It is used in the JSP as follows:

<input type="text" size="15" name="product[<%= line %>]" <%= readonly %> value="<%= JspUtil.removeNull(item.getProduct()) %>">

The item.getProduct() returns a String object. What exactly does the JspUtil.removeNull() do?

Thanks & Regards,

Shalini