After i have caught an error using try catch i would like to display that message on the same page in a div panel.
I was just wondering how would i call a div panel and display the message in it without clearing the rest of the page. Would i have to re-create the page in the java code?
You could try setting a boolean variable inside that catch and somewhere outside the table check to see if that variable is true. If yes, then print the message.
I was just wondering if you could explain why when i had my code in that catch statement and it printed the message the entire page above that catch code got over written and only the error message and the "Add New" <a> tag got displayed.
When i changed it to the following the page prints out correctly.