mark read unread messages (jsp pages) -


i have system (developed in java) generates messages user. want display theses messages user. initial state "unread" , when user read them, messages become "read". user able delete messages

how can done?

the messages shown user checkboxes, in order choose 1 wants delete after reads them(another idea?)

also not sure yet how messages (maybe in map?)

thank all!

i think nothing changing status in table message.

when user read, delete operation, can make ajax call (so things go smooth , no waiting server interactions changing status) based on parameter.

at server side write 1 function based on parameter, either change message status modify/delete/unread/read in table. jsp read status , act accordingly.


Comments