2015年9月11日 星期五

[JSP] Scriptlet VS EL expression / JSP Best Practices

What is Scriptlet?

Example: <% int i=0; %>

What is Expression Language?

Example: ${Some_Vars}



Better use EL over Scriplet :

http://stackoverflow.com/questions/3177733/how-to-avoid-java-code-in-jsp-files/3180202#3180202

沒有留言:

張貼留言