• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

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

 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic