Modify to send back inquery information to html (jsp)