Actually I have developed a web interface to display from a databse. And it was useful to follow up an example from
http://www.roseindia.net/jsf/data.shtml As my requirement is also very similar, I have finished the development. I have a very similar class as below which is used to display.
Now I would like to display a page when the result set is empty saying that no records are available. How do I do the modification. When there is any record, the above code works perfectly fine.
private List perInfoAll = new ArrayList();
.
.
.
return perInfoAll;
How do I achieve so that a
string can be sent back so that I can display a page with "no records found". Thanks.
Regards