How to call a static method in JSP/EL?

I’m new to JSP. I tried connecting MySQL and my JSP pages and it works fine. But here is what I needed to do.
I have a table attribute called “balance”. Retrieve it and use it to calculate a new value …

How to output HTML from JSP <%! … %> block?

I just started learning JSP technology, and came across a wall.

How do you output HTML from a method in <%! ... %> JSP declaration block?

This doesn’t work:

<%! void someOutput() { out....