Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Problem with Spring web mvc

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • 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 ?
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic