Upload Image Spring Boot, Add Product | Part 7 | Self-Code || Ecommerce Web Spring Boot Project

preview_player
Показать описание
Part 7: Upload Image, Add New Product, Upload Image Product to Directory, @Component, Product Service logical with Spring Boot-Ecommerce Project using Spring Boot step-by-step
-----------------------------------------------------------------------------------------------
LEARN ALL FEATURES with ADVANCED KNOWLEDGE (FREE) IN SPRING BOOT REST API, I HAD BUILT IT
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
Thanks for watching my video and subscribe for me.
Рекомендации по теме
Комментарии
Автор

Hi everyone, I have fixed all bugs I received and updated to the newest version. If you face any problems, inbox Facebook: Learn With Self-Code

self-code
Автор

sir I have a problem the image won't show in the table when I run it, it becomes null

kylelui
Автор

em bị lỗi An error happened during template parsing (temple :"class path resource [templates/products.html]. em vào Manage Product thì lị lỗi này ạ

NguyenThaiHiep
Автор

Good evening sir, I have a problem because if I click on product manager I should have the list of products recorded as at the category level but I see nothing the table is empty. Can you help me please

digitalishplus
Автор

Sao của em không dùng được đoạn code : if (authentication == null || authentication instanceof AnonymousAuthenticationToken) {
return "redirect:/login";
}. Thay vào đó em dùng Principle thì lại được a nhỉ

CartoonCrazeTVs
Автор

Thank you for your lecture.
I have a question, sir.
In select tag, category field of is saved as category's id ?

dawa
Автор

Hi sir. I have a question.
i write :
@GetMapping("/categories")
public String categories(Model model, Principal principal) {
if (principal == null) {
return "redirect:/login";
}
List<Category> categories = categoryService.findAll();
model.addAttribute("categories", categories);
model.addAttribute("size", categories.size());
model.addAttribute("categoryNew", new Category());
model.addAttribute("title", "Category");
return "categories";
}

But when i refresh categories page, it don't return login. However i write :
if (principal == null) {
return "redirect:/login";
} but don't work.

IsaMmmdov-buco
Автор

hello brother
Can you sharing your full project to me becus your project at github link folder see only Controller funtion

javjaksmoke
Автор

Can u please mention ur github link so that I can have ur code for my understanding purpose ??

Poojitha_
Автор

I have an error on product service lmpl

kajalsavita
Автор

1.12.03 I errors detached entity passed to persist: nested exception is detached entity passed to persist:

rattanachaiteekatipsakul
welcome to shbcf.ru