I read a book a while back (I don't know which one) that referred to these characters as "corn holders" or something clever. What do you call these characters across different web technologies that escape into code blocks with <% %>?
+1
A:
I recall Jeff Atwood calling them "bee stings" in a past Stackoverflow Podcast, but I'm not sure if that only applies to the .NET versions
HTH Alex
AlexDuggleby
2009-10-01 17:00:04
milkfilk
2009-10-01 19:13:23
A:
They are called scriptles tags on JSP, they will be coding as the following too :
<jsp:scriptlet>
</jsp:scriplet>
and an example of use (JSP) :
<body>
<%! int j= 15; %>
<% for (int i = 0; i < j; i++)
out.println("Hello World!<br/>"); %>
<%-- Im a comment --%>
<%= "Bye" %>
</body>
there are more of those "bee things" in the above snippet :
<%! %> or <jsp:declaration> </jsp:declaration>
<%-- --%>
<%= %> or <jsp:expression> </jsp:expression>
Angel Escobedo
2009-10-01 17:05:31
Actually, no, Their **content** is a scriptlet, not the tags themselves.
ChssPly76
2009-10-01 17:07:20
A:
I've heard them called "nuggets" but I think that is non-universal, unaccepted slang. I like it though.
jeffamaphone
2009-10-01 17:25:31