I want to output some HTML code based on some condition in a JSP file. (我想根据某些条件在JSP文件中输出一些HTML代码。)
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 JSTL? (我应该使用JSTL吗?)
ask by testndtv translate from so