Mixing JSP/HTML any new features or suggestions
- by Maglebolia
Hi all,
I have a Web-Application, which is mainly JSP (file extension) and is including some HTML.
It seems to me that the "general" way is "old" and not always well red by some IDE like Eclipse:
Is there no other way to include jsp expression with "<% ... %".
There is no need for a framework to resolve this, since we only have like 60 pages.
I run through examples and see that we can seperate the code with blockquotes "< script < /script ". I'm really wondering which is the better method for understanding and easier reading of the code.
Any formatting, syntax coloring, plugin or new code style suggestions would help.
Here an example
<%} %>
<%if(condition) { %>
<tr>
<td class="label"><%=method()%></td>
<td class="text"><%=method()%></td>
</tr>
<%} %>
<tr>