Is there a way to add methods, written in jsp, to a jsp file, other than by calling beans?
 
ex: <% here is my jsp...
            int x = 2;
            out.println( xsqr( x ) );
     %>
 
    <%        // and here is my jsp method...
        public int xsqr( int x )
        {
            return ( x * x );
        }
    %>        // which of course doesn't work... :^?
 
 
       

Reply via email to