java - changes not reflected in eclipse -
I'm trying to debug some code in the controller of my application, but at the time of execution Is not displayed. I installed a session out statement in my controller and it was printed. Public string code (@model unbreakable project, binding result result, map & lt; string, object & gt; map) {Project Projectsult =
@RequestMapping (value = "/ edit ", Method = RequestMethod.POST) new job (); Date = new date (); String Revised Date = New SimpleDormat ("YYA-MM-DD"). Format (date); Project.setSubtrack (.. (subtrackService.getAllsubtrackByName (project.getSubtrack () getSubtrack ())) (0)); Project.setSubmittedDate (modifiedDate); Project.setApprovedDate (modifiedDate); Project.setCreatedDate (modifiedDate); Project.setCreatedBy ("r1"); Project.setLastModifieddate (modifiedDate); Project.setLastModifiedby ("r1"); String action = "edit"; System.out.println ("This is a test at first place" + project.getEndDate ()); System.out.println ("This is a trial start date" + project.getStartDate ());
The second last line is fine printed. But when I added the previous line, it is ignoring it. I tried to debug the server to restart the server, and added break points. The control is coming on the back line but it is not printing anything.
Comments
Post a Comment