I have a
jsp which accepts input and the action class calls another service class which searches the database and returns a resultset. But, if the resultset is empty, I need to redisplay the input jsp page with an error message. I do not want to call the service method in the form but once I get to action class, how do I go back to input jsp with a message ? I am sorry if this is a really basic question. I am just not sure how to design this. Thanks.