How to declares methods in jsp?