想學程式的初心者

寫些自己的心路歷程 跟大家一起分享一起成長 Youtube----- https://www.youtube.com/channel/UCg2WdH2eHPRTUzaXkjERWKg

SpringBoot教學||使用 Bean Validation constraints ||EP6

這次使用了資料校驗的方式避免了Form表單傳入空值。

在影片中我只提到了@NotBlank如果有想要再多了解的話,可以到這網站去看看---------------------------------------------------

https://docs.jboss.org/hibernate/validator/4.2/reference/zh-CN/html_single/#validator-defineconstraints-spec

有甚麼問題或意見記得在留言區跟我講喔!!~~

Youtube------------------

https://youtu.be/exN8XBfBbsw

github---------------------

https://github.com/Wilson1245/MySpring.git

Like my work??
Don't forget to support or like, so I know you are with me..

CC BY-NC-ND 2.0

Want to read more ?

Login with one click and join the most diverse creator community.