• 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 ...
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Spring MVC-iBATIS problem with updating data from the form

Ranch Hand
Posts: 114
Hibernate Eclipse IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,

I am working on a spring mvc application which has a login page and in the home page, I have a menu with seperate links for displaying and editing the logged in user's profile. My profile information gets displayed correctly. But when i want to update my profile, I am unable to get the user input into the command object. I am stuck with this problem from yesterday and am unable to figure out where i have gone wrong. Please help me.

My edit profile page:

My profile service interface is as follows:

My profile service impl class is as follows:

my <update>mapped statement in ibatis sql map file is as follows:

my update profile form controller class is as shown below:

When i click on the update profile button in the jsp file, I get the following log message:
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic