1

I have couple of warning messages in the request scope and it is saved like this,

     if ((warningMessages != null) && !warningMessages.isEmpty()){
                    // saves message in request scope
                    saveMessages(request, warningMessages);


}

and I want to retrive a particular warning message. I did like this,

ActionMessages warningMessages = getMessages(request);

But nothing is set. Am i missing something or is there any other method to retrive? Pls advice.

Geek
  • 3,187
  • 15
  • 70
  • 115
  • 1
    What do you mean with "nothing is set". Where do you save the messages, and when do you get them? Are both calls done in the same request? – JB Nizet Dec 27 '12 at 18:40

0 Answers0