This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Spring and the fly likes Spring MVC-iBATIS problem with updating data from the form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring MVC-iBATIS problem with updating data from the form" Watch "Spring MVC-iBATIS problem with updating data from the form" New topic
Author

Spring MVC-iBATIS problem with updating data from the form

Deepaks Deshpande
Ranch Hand

Joined: Dec 06, 2007
Posts: 111

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:


Regards,
Deepak

 
 
subject: Spring MVC-iBATIS problem with updating data from the form
 
Similar Threads
calling a java Script file into the Jsp
A question of Sums
Is it possible to put a button inside autocomplete in jquery ui plugin?
Returning a result set in an html form
Positioning DIVs