How to access the functions of a servlet
Hello everyone:
I'm developping a JSP page in which I prefer to call a function defined in JSP from inside the code of a class in the form of below:
<%
MyClass foo = new MyClass();
foo.getHTML(); // in the getHTML() OF foo, I call the static function getHTMLBlock defined in JSP.
%>
<%!
public static String getHTMLBlock()
{
...
}
%>
but how to get the access of this static function getHTMLBlock? Thanks

