This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Alexander Sales wrote:Is it really prohibited to use scriptlets? aren't there any times that we have no other choice but to use a scriptlet?
Scriptlets are never necessary, and should never be used in modern JSPs. They have been discredited for almost 10 years now and using them is simply irresponsible at this point.
If there's something that you are doing in your JSP that cannot be done with modern techniques, it's a huge red flag that you are trying to do something that should not be done in a JSP at all, but likely in the page controller.