Archive for the 'Java' Category

Note to self: use trimDirectiveWhitespaces in JSPs after switching to Tomcat 6

Wednesday, April 11th, 2007

So JSPs have the annoying property of preserving all whitespace from the source JSP file and outputting it. As soon as your JSP gets at all complex, with conditional logic, variables being set, and so on, you’ll find your HTML source output gets filled more and more with blank lines.

JSP 2.1 to the rescue! […]

Are you a Java web developer?

Monday, October 17th, 2005

And are you in Boston? Because I’ve had at least three or four people asking me if I could come work for them, or if I knew any other Java developers who do UI work. They still haven’t found a replacement for me at my last job, and that’s after more than a […]

Hey, this AJAX thing is pretty easy, after all

Friday, July 29th, 2005

Today, for the first time, I added AJAX (aka XMLHttpRequest) to a web application. (Well, it wasn’t actually AJAX, because I was making a synchronous request instead of an asynchronous one, but close enough.) I’ve known about the technique for just slightly longer than it has been dubbed “AJAX”, but never taken the […]

JSTL functions

Wednesday, July 20th, 2005

Javadoc

Are scriptlets in JSPs really that bad?

Tuesday, August 17th, 2004

This post will probably only make sense if you have worked with Java and JSP. Just a warning!

It seems to be commonly accepted that putting code in your JSP pages is a bad thing, at least since the “Model II” architecture (based on the MVC design pattern) and the JSTL tag library were introduced. […]

Joel on the Windows API

Wednesday, June 16th, 2004

Joel from Joel on Software just posted a really interesting article about the fall of the Windows API, but I can’t believe that he didn’t include a single mention of Java! Well, besides a tiny paranthetical comment or two. He totally ignores the fact that you can write Java desktop applications (like IntelliJ […]