tag:blogger.com,1999:blog-5097100801581543528.post5890012645073627489..comments2024-03-28T21:33:47.476+08:00Comments on krams::: Spring MVC 3.1 - Implement CRUD with Spring Data MongoDB (Part 6)Mark Serranohttp://www.blogger.com/profile/07683739886053674459noreply@blogger.comBlogger33125tag:blogger.com,1999:blog-5097100801581543528.post-5371841638587834982016-02-16T15:01:31.967+08:002016-02-16T15:01:31.967+08:00Thanks a lot Krams :)Thanks a lot Krams :)Anonymoushttps://www.blogger.com/profile/08815586067093085898noreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-65615221316640929002015-08-30T13:07:16.757+08:002015-08-30T13:07:16.757+08:00Thanks... it works!Thanks... it works!Anonymoushttps://www.blogger.com/profile/00696031872622595811noreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-43914830543866667982015-08-02T02:29:14.189+08:002015-08-02T02:29:14.189+08:00Hi, I got across with the tutorial and it looks go...Hi, I got across with the tutorial and it looks good. How can I download the code from github? help appreciated.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-20868285724025226222013-04-03T20:49:17.737+08:002013-04-03T20:49:17.737+08:00Thanks for the tutorial. It works great. Now I am ...Thanks for the tutorial. It works great. Now I am going to play a little with it.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-53162853735142964702013-04-01T01:56:21.772+08:002013-04-01T01:56:21.772+08:00This is really a good tutorial, thanks for clear a...This is really a good tutorial, thanks for clear and detailed explaining :)Great !Melike Merve Gumussoyhttps://www.blogger.com/profile/05271095934236556126noreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-5496593369182978422013-04-01T01:54:04.205+08:002013-04-01T01:54:04.205+08:00This comment has been removed by the author.Melike Merve Gumussoyhttps://www.blogger.com/profile/05271095934236556126noreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-77131921432998705712013-03-20T07:04:59.125+08:002013-03-20T07:04:59.125+08:00Thanks for your great tutorial.At first when I imp...Thanks for your great tutorial.At first when I imported it directly it keeps giving me error that it cannot read spring-tx and spring-jdbc zip file in .m2(maven repository).Then I installed maven in windows and try running the command mvn tomcat:run still in the project folder directory,it was giving the same error cannot open spring-tx and spring-jdbc zip file.<br />I google it and found the below link<br />http://stackoverflow.com/questions/7600028/maven-error-in-opening-zip-file-when-running-maven<br /><br />So I deleted the spring-tx and spring-jdbc folder in .m2 repository,mine was user/a/.m2 and ran the mvn tomcat:run again this it only showed error in spring-jdbc so I again deleted the spring-jdbc folder (.m2/repository/org/springframework/ and thankfully it built successfully.<br />Just wanted share this with you so if anyone else has this odd problem they can fix it.<br /><br />thanks again for such a nice tutorialMohammadhttps://www.blogger.com/profile/06167675721365983280noreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-73718676111097886032013-01-24T04:53:30.358+08:002013-01-24T04:53:30.358+08:00Thanks you, very good tutorialThanks you, very good tutorialAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-41155704939633901652013-01-10T21:21:30.285+08:002013-01-10T21:21:30.285+08:00Are you creating the user and role collection manu...Are you creating the user and role collection manually from the command prompt. And also please tell that what is the use of the annotation mapping on pojo classes as you are using directly the collection name in the mongotemplate.insert method ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-44996579176566119342012-08-20T03:12:27.627+08:002012-08-20T03:12:27.627+08:00thanks for the tutorial, it was very informative a...thanks for the tutorial, it was very informative and helped me in understanding the spring framework, thanks!Rodrigohttps://www.blogger.com/profile/01505634377811857096noreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-64819876043653290942012-08-18T21:31:32.335+08:002012-08-18T21:31:32.335+08:00Fixed previous.
Fixed previous.<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-84650785337838285532012-08-18T21:01:21.629+08:002012-08-18T21:01:21.629+08:00First of all thank you for the great tutorials.
N...First of all thank you for the great tutorials.<br /><br />Now the other day I was also following your tutorial about Spring Security 3.1 what works perfectly but can someone send me in the right direction for implementing this tutorial with Spring Security 3.1?<br />Doesn't really mather to my wich database to use SQL / Mongodb. <br /><br />Thx!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-18351876563795896872012-07-12T17:08:03.435+08:002012-07-12T17:08:03.435+08:00in user.jsp - change as following to make it work ...in user.jsp - change as following to make it work in mozilla<br /><br /> $('#newForm').submit(function(event) {<br /> event.preventDefault();<br /> submitNewRecord();<br /> });<br /> <br /> $('#editForm').submit(function(event) {<br /> event.preventDefault();<br /> submitUpdateRecord();<br /> });Vinu Josephhttp://www.vinujoseph.comnoreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-19515650485699345782012-06-29T09:37:44.734+08:002012-06-29T09:37:44.734+08:00Fast, clean, informative, and it worked the first ...Fast, clean, informative, and it worked the first time i tried it!theodorehttps://www.blogger.com/profile/08450924569979226004noreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-23538994427458971882012-05-25T18:22:10.726+08:002012-05-25T18:22:10.726+08:00FIXED. I just moved the id='newForm' to t...FIXED. I just moved the id='newForm' to the form tag instead to use it in dvd tag. then I just commented this line event.preventDefault();. I don't know why that line doesn't allow to call the submitNewRecord/submitUpdateRecord function.Adrian Rodriguezhttps://www.blogger.com/profile/16314516626416076055noreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-47576524842013064072012-05-23T14:37:38.899+08:002012-05-23T14:37:38.899+08:00Can you check in your browser, i.e using Google De...Can you check in your browser, i.e using Google Developer Tools, the JSON response from the server? Also, check the logs (enable them if needed) if the call to add and edit are being passed to the service layer.Mark Serranohttps://www.blogger.com/profile/07683739886053674459noreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-8522288321839120302012-05-23T00:04:47.330+08:002012-05-23T00:04:47.330+08:00the add/edit aren't working. I've tried to...the add/edit aren't working. I've tried to comment/uncomment the InitMongoService. I know when I restart the server it will delete all data, however only the delete function works. Any help??<br />Nevertheless exc tutorials, thank you.Adrian Rodriguezhttps://www.blogger.com/profile/16314516626416076055noreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-77773096840853539042012-05-22T23:12:33.829+08:002012-05-22T23:12:33.829+08:00I have the same bug, Any new??I have the same bug, Any new??Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-87451412433814303812012-04-17T04:00:48.728+08:002012-04-17T04:00:48.728+08:00Great tutorial! However, for me to get it to work...Great tutorial! However, for me to get it to work, I had to add an "event" parameter to the $('#newForm').submit and $('#editForm').submit functions in users.jsp.Mark M. Mathishttps://www.blogger.com/profile/09604262393466826554noreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-35905851703827834832012-04-01T10:46:08.880+08:002012-04-01T10:46:08.880+08:00Thanks for the tutorial. The code looks great and ...Thanks for the tutorial. The code looks great and it's really helpful.Ciphttps://www.blogger.com/profile/02197710575570229291noreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-16325880783459683142012-03-31T17:57:15.830+08:002012-03-31T17:57:15.830+08:00When you restart the application, it will delete t...When you restart the application, it will delete the existing data and re-initialize them with the default records. If you want to prevent this behavior, you must uncomment the InitMongoService.Mark Serranohttps://www.blogger.com/profile/07683739886053674459noreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-82017348195705661282012-03-30T04:52:38.939+08:002012-03-30T04:52:38.939+08:00I have encountered the same problem as "Steve...I have encountered the same problem as "Steve" (Anonymous) above. The program basically works and displays, but nothing is written to the database. All changes are apparently discarded. Any assistance would be greatly appreciated, since the tutorial itself is outstanding. I just wish I could get it to work! :-)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-91490471869801662392012-03-22T02:49:41.667+08:002012-03-22T02:49:41.667+08:00Tried it, program worked somewhat, nothing into da...Tried it, program worked somewhat, nothing into database, disappointing.<br /><br />SteveAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-91935806252276525552012-02-28T14:39:42.695+08:002012-02-28T14:39:42.695+08:00Hi Krams,
After some googling, I've found the ...Hi Krams,<br />After some googling, I've found the solution, annotate the domain object with XmlRootElement will get a xml response. <br /><br />Best Regards,<br />JohnAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5097100801581543528.post-15680773160893262822012-02-27T17:24:38.963+08:002012-02-27T17:24:38.963+08:00Hi Krams,
Thanks for the prompt reply, I tried to ...Hi Krams,<br />Thanks for the prompt reply, I tried to capture the ajax, the request header's content-type showed "application/x-www-form-urlencoded" instead of "application/json". <br /><br />Best Regards,<br />JohnAnonymousnoreply@blogger.com