I don't know of anything analogous to custom tag libraries in ASP. I think it would be a big mistake to slam a lot of ugly scriptlet code into the JSPs to try and match the ASP VB code line for line. Better to redesign using some Beans and incorporate JSTL to keep scriptlet code out of the JSPs.
%