Herman Bovens

Greenhorn
+ Follow
since Sep 16, 2013
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by Herman Bovens

margaret gillon wrote:

I currently don't even write JSPs anymore :)



What do you write instead?



Currently, I use the Vaadin framework and write most of my GUI in pure Java.
4 years ago
JSP

Bear Bibeault wrote:OK, I didn't think I was going crazy. Even though I can't find it in the Spec, I just downloaded Tomcat 7 (which supports JSP 2.2) and gave it a try. And calling a bean's general method as follows seems to work just fine.



1. I always hear the testability argument against scriptlets. Now how is the above any more testable than calling the method in a scriptlet? It's even more error prone since somGeneralMethod may not even exist.
2. When you're using tags for control flow, you're essentially writing code in your jsp. Only in a syntax that really wasn't designed for it.
3. I'm not advocating to write business logic in scriptlets (or in the view at all), just presentation logic.
4. I currently don't even write JSPs anymore :)
4 years ago
JSP

Bear Bibeault wrote:

Wendy Gibbons wrote:and it seems to me that
is much neater than anything EL offered.


How is that neater than ${bean.value}?



At least in Eclipse: you get the benefits of compile-time checking, code completion, reference searching, auto refactoring and syntax coloring.
4 years ago
JSP