Related questions
if...else within JSP or JSTL
I want to output some HTML code based on some condition in a JSP file.
if (condition 1) {
Some HTML code specific for condition 1
}
else if (condition 2) {
Some HTML code specific for condition 2
}
How can I do that? Should I use …
Evaluate empty or null JSTL c tags
How can I validate if a String is null or empty using the c tags of JSTL?
I have a variable of name var1 and I can display it, but I want to add a comparator to validate it.
<…