• 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 : SubmitForm.java
Action class: SubmitAction.java

View page: "submit.jsp"



My form bean:"SubmitForm.java"


My action class: SubmitAction.java



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.

Rgds.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic