i have entered the default value ,value="91" in the the form and when i submit the form with the changes in text value like i change text to 333 but submit.do still shows the value as 91 wht should i do
It seems like what you have should work. Are you positive that you form has a public method named setHomecountry (with this exact capitalization)? If you don't get any help then posting more of your form, jsp and action code might point out the problem.
As I said in my previous post, remove the value attribute entirely from the <html:text> tag. If the value attribute is present, the property will revert to that value if there is a validation error and the page is redisplayed. Since an <html:text> tag is already tied to the value of the ActionForm property, the value attribute should seldom if ever be used.
Hi, If you see the topic for this post it is looking weird. Actually it might have posted like <html:text and it got printed in differently. It is not allowing &,< and > charecters as input. I am facing same problem in my UI page. From UI to form it is converting in differently. If any one having solution to get rid of this would be greatful.
The harder I work, the luckier I get. -Sam Goldwyn So tiny. - this ad:
Free, earth friendly heat - from the CodeRanch trailboss