I am not quite sure I understand your issue but here goes ... You state:
I want to be able to reuse code through a functional process without having to do a cut & paste and not have to create .JAVA code and be needing to recompile.
ASP does what I am trying to do very well. Unfortunately or fortunately I need to write in JSP.
One statment you say you do not want to use .JAVA and then you say you need to write it in JSP. Well java is JSP. And yes, you can do what your asking in ASP, Javascript as well as JSP.
is similar to ...
If I am not mistaken both function/methods can be
invoked the same way ...
Asp has a similar syntax. I admit this is a crude
example of JSP, but I hope this will shed some light on your situation.
craig.