what im trying to do is get a message when the user click the button a message appear on the console and on the tomcat logs
        <input type="button" value="Buscar" id="btnBuscar" name="btnBuscar" onclick="setTimeout(gotoPage(1),3000)" style="width: 100px"><br>
        <%
        System.out.println("page should refresh itself in 3 seconds" );
        %>
 
    