Or ... you could create an error for that circumstance and have that displayed on the same page ... not probably how I'd do it, but it's certainly a way.
Personally, since you're probably displaying the data in a tabular format, I would prefer to display a row that spans all columns and simply displays a message such as "Your Query Returned No Results." or something similar - something meaningful to the context (ie. "No POs matched your criteria."). Good Luck, Eddie On Sun, 16 Jan 2005 20:59:00 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: "Manisha Sathe" <[EMAIL PROTECTED]> > > For data bean empty -> what i mean is -> i select one particular record > > depending on ID given, > > and put in bean. if i do not find any record then can i check it at front > > end and display 'No record found' > > But i think u mean to say i can check for (MyBean.MyPropert == null ) ? > > right ? > > Yes, or, since you know in the Action that you haven't found the record, you > could forward to a 'no data' page rather than the one that displays the > data. > > -- > Wendy Smoak > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Eddie Bush --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]