I have one chat application, When user logs in he has the URL as http://localhost:7001/sample/message.doThere is a text area(TA), text field(TF) and a button(Send). Now user enters text in TF and clicks on Send the text concats with existing text in TA. In the corrosponding action the Context String messageList variable get updated in the background.
Now the big problem:It's fine once time but if i refresh a page say by pressing F5. same action gets called and without any reason the empty string gets concatenated(with new line character) to the list which is not what i want. Basically it should not even if it is empty.