Mixing JSP/HTML any new features or suggestions

Posted by Maglebolia on Stack Overflow See other posts from Stack Overflow or by Maglebolia
Published on 2010-05-03T12:56:48Z Indexed on 2010/05/03 13:08 UTC
Read the original article Hit count: 275

Filed under:
|
|
|

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>

© Stack Overflow or respective owner

Related posts about jsp

Related posts about html