prsubject
asked on
jsp: Start tag Option not closed error
I have a file by name daterange.inc( Dont know what this inc is. This is a code written in 2001) . I am getting an error at the following line
<OPTION <%= range.equalsIgnoreCase(" ") ? "selected" : "" %> > </OPTION>
<OPTION <%= range.equalsIgnoreCase(" ") ? "selected" : "" %> > </OPTION>
Odd. I tested it and didn't get an error. You could try putting parens around the statement, so that it looks like this:
<OPTION <%= (range.equalsIgnoreCase(" ") ? "selected" : "") %> > </OPTION>
But as I said, it worked for me. Are you sure that this is the specific line that is getting the error? Maybe it's a line near this one?
<OPTION <%= (range.equalsIgnoreCase(" ") ? "selected" : "") %> > </OPTION>
But as I said, it worked for me. Are you sure that this is the specific line that is getting the error? Maybe it's a line near this one?
<OPTION ><%= range.equalsIgnoreCase(" ") ? "selected" : "" %>" </OPTION>
ur mistake is
option must have vyour directly assgin value in option tag
or u can do like this
<option value=""></option>
ur mistake is
option must have vyour directly assgin value in option tag
or u can do like this
<option value=""></option>
inc --- > importing mutltiple file
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER