jsp中小脚本与html或者js脚本的嵌套

<%
if(condition)
{
 %>
 html或者js代码
<%
}
else
{
  %>
 html或者js代码
<%
}
%>

能够认为
  %>
<%
是一个写客户端脚本的区域