posted 9 years ago
They do the same thing. (b) is the old way to set attributes in the request. You usually should avoid using scriptlets in your JSP. Uou can use custom tags and EL instead. (a) is a cleaner way, using custom tags, to set request attributes.