add some funcions in jsp