Hi,

I have no idea, how to handle ajax requests properly. My problem is, that I
want to fill a list - by now it's just a simple struts action as normal http
request. I now want that the list is filled with a ajax request so that the
whole page doesn't need to be loaded. But sometimes it is possible that the
action that is responsible to fill the list throws an exception or delivers
actionerrors/actionmessages.

If the action returns actionerrors this should not displayed in the div tag
where the list is. Instead actionerrors are displayed in a different div
tag. Or another problem if an exception occurs the errorpage is displayed in
the div tag instead on a different error jsp.

How can I deal with this situations?

Any suggestions?

Thanks in advance :-)

Marc

Reply via email to