• 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
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

ModelAndView Addobject issue

 
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

My task is to select a name from a list box and automatically the related values like name,address etc for the selected user will appear in the textboxes in jsp and i have to delete the values.I am using model and view to add objects in the model to jsp.The problem is that on the controller side, where I am adding the object, the correct values are added to the Model but on the JSP side, it keeps printing the old values from the first time but I don't know why the JSP keeps pulling old values.

Please assist to solve this. Thanks.
 
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could you show us the relevant parts of the controller and JSP code and the controller's configuration..?

 
reply
    Bookmark Topic Watch Topic
  • New Topic