Fixing notifications print in jsp