croniccoder
Programmer
I am new to struts. I am trying to create a conditional statement within a jsp page.
<html:text maxlength="128" property="streetName">
streetName is a string that is being displayed in the text box. I want to create a conditional that if the streetName length is greater than 4, then display the background in #FFCCFF, else display the backgroun in #FFFFFF.
I've tried this many ways, but can't figure it out. Any help would be greatly appreciated.
<html:text maxlength="128" property="streetName">
streetName is a string that is being displayed in the text box. I want to create a conditional that if the streetName length is greater than 4, then display the background in #FFCCFF, else display the backgroun in #FFFFFF.
I've tried this many ways, but can't figure it out. Any help would be greatly appreciated.