Hi, i am struggling with one element of servlets-3. I have my
servlet making my HTML form fine and i can enter a
word into my textfield and received it reversed in my textfield when i press submit as is supposed to happen, and then happily press submit and see it reverse each time as it should...
My problem is when i enter more than one word in the textfield, i can out.println the whole
string and can reverse the whole string in out.println line outside the textfield but when i go to put it in my textfield in the value tag it only puts in and revereses the last word, not the whole string.
e.g. i enter "the tick says spooooon!" and press submit, a normal out.println shows that string in reverse but in the textfield it only shows "!nooooops" and not the other words.
Any advice as to where i am going wrong its driving me mad and possibly to drink
Thanks
Sam