Firstly sincere apologies for late response to both Steve M Davies and Tim Holloway. ..So briefly.... in an attempt to understand the logic of MVC
pattern utilized in Spring deeply from ground up with added error objects + logs+ added essential annotations i am referring to example from said Spring Action book.. AND there seems to be quite a bit rather than just following the book to understand from ground up + also some of the utilities are outdaded..
Steve M Davies :
Yes added the action attribute to the respective form view fields of the respective Thymeleaf form Design. I have also added HTTP Client Request Server Response Logging via Logbook tool. Still null values:
2024-09-03T10:51:34.878-04:00 INFO 16712 --- [nio-8090-exec-5] com.example.demo.ControllerDesignTaco : Processing design-> design: com.example.demo.DomainTacoDesign@1f4fa6cf
2024-09-03T10:51:34.878-04:00 INFO 16712 --- [nio-8090-exec-5] com.example.demo.ControllerDesignTaco : Processing design-> design.name: null
2024-09-03T10:51:34.881-04:00 TRACE 16712 --- [nio-8090-exec-5] org.zalando.logbook.Logbook : {"origin":"local","type":"response","correlation":"9fcc504f24c4bb84","duration":28,"protocol":"HTTP/1.1","status":302,"headers":{"Location":["http://localhost:8090/orders/current"]}}
2024-09-03T10:51:34.901-04:00 TRACE 16712 --- [nio-8090-exec-6] org.zalando.logbook.Logbook : {"origin":"remote","type":"request","correlation":"d16495e3687de677","protocol":"HTTP/1.1","remote":"127.0.0.1","method":"GET","uri":"http://localhost:8090/orders/current","host":"localhost","path":"/orders/current","scheme":"http","port":"8090","headers":{"accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8"],"accept-encoding":["gzip, deflate, br"],"accept-language":["en-US,en;q=0.5"],"connection":["keep-alive"],"cookie":["username-localhost-8888=\"2|1:0|10:1725225514|23:username-localhost-8888|44:NTEzM2RlZDg5OTFjNDQ4ZGI1N2I5NTRkNjcwNzcwZmY=|67a14d89d1958ca89eaff312bd98d68bb898ed83e6a60b245bf4bdbdaca64f3c\"; _xsrf=2|1dcfd872|062cfe000619da61174c32d757eb076d|1725225514; JSESSIONID=DFBC5D013DFC886CA382E94A2F153F4F"],"host":["localhost:8090"],"referer":["http://localhost:8090/design"],"sec-fetch-dest":["document"],"sec-fetch-mode":["navigate"],"sec-fetch-site":["same-origin"],"sec-fetch-user":["?1"],"upgrade-insecure-requests":["1"],"user-agent":["Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0"]}}
Tim Holloway:
Yes apologies the verbose object variable identifiers just for deep dive introspection purposes and also the excessive logging via tools and system.out. yes perhaps Map object for HTTP
servlet Request with the getParameterMap method....and yes still null values when form submission as mentioned to Steve M Davies. Thanks for all your guys help.!