Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Difficulty in re- rendering form data, eventhough no exception is thrown up

mara thamizhan
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear dudes,
I'm facing a problem in displaying or re-rendering my form data which i sent to the controller , whose values are set to my formbean and sent to the action class.
My request page : submit.jsp
form bean :
Action class:

View page: "submit.jsp"

My form bean:""

My action class:

My struts-config.xml:

My web.xml:

Once when my struts-config.xml is loaded from my web.xml , the formbean is initialized and the 'lastname' value is initially set as Hansen, which i got when i run my application.
Once when i render data for other controls in my form and submit i'm not getting any data, server console is devoid of any errors and the log file ( localhost ) is showing:

Why the form is not being re-rendered again eventhough i've mapped it in my struts-config file.
Any help in this regard will be appreciated.

Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!