|
While I don't have time to go through it very throughly, for Method 1, instead of putting it in a JAR, I'd suggest simply compiling it and putting it in <WEB-APP>/WEB-INF/classes/proper/package/directory/structure. You should then be able to import it into your JSP.
I'll look at this more later today.
|