• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem with Spring web mvc

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I have a web application doing crud operations .But my action add and edit are not working. i am not able to find the mistake. I am sure the sql query for listing is executed as i get output for that.
I am including my code for the application.
Kindly help me out.

ProjectDAO.java


apple-dao.xml

ProjectDAOJdbc

Project.java

ProjectService.java


ProjectServiceImpl.java


apple-service.xml


AddEditProjectFormController.java

ProjectController.java

Inside WEB-INF/jsp folder i have my jsps

addEditProject.jsp


header.jsp


footer.jsp

view.jsp


viewAllProject.jsp


apple-servlet.xml



web.xml


index.jsp


The above is the code for my application i am trying using an example from a website. But the action add and edit is not getting set when i open the corresponding pages. I am not getting any error, but the save update operations are not working hence. Am i missing out anything?

Regards,
Nikhitha
 
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you to try to debug? Is control going to controller? Put some breakpoints and debug.
Else use some print statements and see what's being printed.
 
Nikhy Pai
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have added many debugging lines to output but nothing is getting printed in the console. i am not able to DO debugging correctly in eclipse. please tell me how to do so? is there any thing else wrong with my program?
Kindly help me.
 
Nikhy Pai
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

i simply started fresh and retyped all the code and now its working . Still i do not know what was the problem ?
 
reply
    Bookmark Topic Watch Topic
  • New Topic