@@CodeJava It's working well bro Nam. I feel ashamed, I don't think this could be kinda easy, I'm too lazy to think about a solution. Thank you for fulfilling me bro Nam :D
Chào anh, lúc trước e có theo dõi kênh của anh 1 thời gian sau đó ko học spring boot nữa nên k có xem vid tiếp. Em mới học lại mà tầng suất a ra video dày đặt quá em học ko kịp với tầng suất ra vid của anh luôn :))) Các bài giảng của anh khá hay, tư duy database e cũng thấy khác với em, đáng học hỏi lắm ạ. Em cảm ơn anh, hy vọng anh ra nhiều video về Spring nữa!
This is one of the best solutions that I have seen. But my application has more than 3000 records, and per page I can show only 10. It's getting tricky on how to handle that many pages...
Since the paging params kept in the URL, when you refresh the page it will reload the same URL. However it depends on the data in the database. If there are changes then the items will be different, though the page number remains unchanged in URL.
I think u left = sign… if u click 18 it will not show correctly. Under totalPages > 10 conditions , you should check currentPages = totalPages - 4 Am I right?
Thank you so much for your help! I tested with my database application and paging did not appear for totalPages - 4, and currentPage >= totalPages - 4 worked correctly.
hii i want to ask you i have made a springboot project in our system and i want to deploy this project on external tomcat server of another system which give me error of 404 ? but when i deploy in our external server it runs the project.what should i do?
Having bugs when my total page is 40 and page 36 doesnt show the pagination only show previous and next bar,. same goes to when your total page is 20 and error occured at page 16
zrobi ci taki błąd i człowiek szuka godzinami czy ma dobrze przepisane a facet po prostu zrobił błąd. Po co się chwalić błędnym kodem na filmie ???????????????????????????????????
Impressed, amazing.
Would love to look at the corresponding service and controller method's in detail
This is it, thanks bro Nam!
I have to spend 20 minutes to add 120 products to test kakaka.
well done, so is it working well?
@@CodeJava It's working well bro Nam. I feel ashamed, I don't think this could be kinda easy, I'm too lazy to think about a solution. Thank you for fulfilling me bro Nam :D
Even I was also surprise when I'm done. It's simpler than I thought. But that's the most simple solution I think (I love simple things that work).
Beautiful work! Thanks!
Thank you too!
Chào anh, lúc trước e có theo dõi kênh của anh 1 thời gian sau đó ko học spring boot nữa nên k có xem vid tiếp. Em mới học lại mà tầng suất a ra video dày đặt quá em học ko kịp với tầng suất ra vid của anh luôn :))) Các bài giảng của anh khá hay, tư duy database e cũng thấy khác với em, đáng học hỏi lắm ạ. Em cảm ơn anh, hy vọng anh ra nhiều video về Spring nữa!
chào em, cảm ơn em đã động viên anh. Enjoy learning and happy coding :)
very good video!👍👍
Thanks!
This is one of the best solutions that I have seen. But my application has more than 3000 records, and per page I can show only 10. It's getting tricky on how to handle that many pages...
I don't understand your concern. The solution in this video is for any number of records.
@@CodeJava Ty. Totally agree, u only need change the number concerning ur convenience. That's all.
so what about when i refresh the webpage? would it go back to the first page? do i need to use local storage to maintain whatever i am at?
Since the paging params kept in the URL, when you refresh the page it will reload the same URL. However it depends on the data in the database. If there are changes then the items will be different, though the page number remains unchanged in URL.
@@CodeJava is there a way for you to provide the source code without using udemy? i dont want to pay
@@CodeJava i dont havea a database
sorry, there's no way.
@@CodeJava what do you mean? No way what
Friend, thank you very much for the explanation but I would like to learn more, what is your course called on udemy?
here is my course: www.udemy.com/course/spring-boot-e-commerce-ultimate/
Sir can you explain me where you getting "pageUrlPrefix" and "pageUrlPostfix"? Which urls represented in this case?
It's up to your application. I can be something like /users/page/
@@CodeJava thank you so much i solved my problem yesterday evening look up your tutorial. Again many many thankful☺
where is code pls provide code link in comment section
I think u left = sign… if u click 18 it will not show correctly.
Under totalPages > 10 conditions , you should check currentPages = totalPages - 4
Am I right?
Thank you so much for your help! I tested with my database application and paging did not appear for totalPages - 4, and currentPage >= totalPages - 4 worked correctly.
hii i want to ask you i have made a springboot project in our system and i want to deploy this project on external tomcat server of another system which give me error of 404 ? but when i deploy in our external server it runs the project.what should i do?
I think you need to examine the server's logs and also debug the application to understand what is really going on.
Having bugs when my total page is 40 and page 36 doesnt show the pagination only show previous and next bar,. same goes to when your total page is 20 and error occured at page 16
Thanks for reporting bugs. Can you share the error in detail?
@@CodeJava the error will not show the page number in the pagination, only shows previous and next. the number of page in pagination gets hidden
@@junwei7744 does it work if total pages < 20?
@@CodeJava nope sir. i tried with totalpages of 14 and the pagination gets hidden at page 10 also. same bugs happening
this wil fix ur issue
thanks for tutarial
you're welcome.
Is this project in Udemy , and witch course ?
in this course: www.udemy.com/course/spring-boot-e-commerce-ultimate
Great!! Con cảm ơn chú
con bao nhiêu tuổi mà cảm ơn chú vậy?
Thanks bro
Welcome
Hello sir, how to check email already exists from database please do one video on that topic..
Kindly check this video: ruclips.net/video/8IcTBJ7D0Ek/видео.html
please share full code link
full code will be available in my course on Udemy.
can I copy your code?
Sure, you can.
zrobi ci taki błąd i człowiek szuka godzinami czy ma dobrze przepisane a facet po prostu zrobił błąd. Po co się chwalić błędnym kodem na filmie ???????????????????????????????????