Spring MVC ViewResolver - Tech walkthrough || Create your first View using Spring Framework

  Рет қаралды 60,591

Selenium Express

Selenium Express

Күн бұрын

Пікірлер: 114
@SeleniumExpress
@SeleniumExpress 5 жыл бұрын
So here is a question. Does your controller require code changes, If your project UI technology is getting changed? Replay yes or no to this comment with a valid explanation.
@jaycarlous
@jaycarlous 5 жыл бұрын
No, just we have to update the dispatcher servlet XML file and update the prefix and suffix. Thanks for the video.
@maheshwar955
@maheshwar955 5 жыл бұрын
No
@fafunmotavines
@fafunmotavines 5 жыл бұрын
No
@shinoypb6056
@shinoypb6056 4 жыл бұрын
no
@chaitanyavss730
@chaitanyavss730 4 жыл бұрын
No..
@gugudukullaiswamy1815
@gugudukullaiswamy1815 5 жыл бұрын
Take your own time abhilash,, the main goal is to understand the concept at a higher node.. You are doing a great job,,, It's basically not required for you to do this. But still you are helping so many people by your great explanation. It's more than any thing else. We always with you💪💪✊✊
@abhikmanna7265
@abhikmanna7265 3 жыл бұрын
Exactly Sir You have just said the right thing.
@Mrsubset
@Mrsubset 5 жыл бұрын
Not only that you made the course simple like reading through A B C but you've regained my strength back to the wrold SPRING.I just completed both your spring core and mvc videos tutorial.I must confess all the aspect you touched, were like magic to me when I was in prepaid class and while viewing many videos.Bravo!!! You are a teacher. I was moved with the little story you used to break the news of Model. Kudos! May Almight God bless you abundantly. #WeAreWatingForTheNextClasses#HappyCoding#HappyNewYear in Adv...
@aniketkhade1840
@aniketkhade1840 4 жыл бұрын
Best content for Spring and spring mvc...Thanks for simplifying concepts..
@vishalpatil7994
@vishalpatil7994 5 жыл бұрын
You have recorded this up to 12 in the night and your student is watching this up to 1:15 in the night thank you for the amazing lectures, did not feel sleepy for a second and I have to watch one more lecture. Thank you again, sir.
@vipultiwari2044
@vipultiwari2044 3 жыл бұрын
you are an extra-ordinary teacher bhaiya
@cinemahal7
@cinemahal7 Жыл бұрын
Just loved the way of explanation.... ❤❤❤
@aaajojoaaa
@aaajojoaaa 2 жыл бұрын
Thank you sooooooooooooooooo much for explanation and make spring boot easy to learn :)
@AakashKumar-by1jt
@AakashKumar-by1jt 4 жыл бұрын
Lovely Selenium Express, I am your true fan.Way you teach is amazing, from basics to depth.When I fail to understand the java concepts everywhere you seems the only hope.Will keep you my first choice to understand the concepts now onward. Well Done, keep doing the good work.Highly appreciable!!
@rakeshk4533
@rakeshk4533 4 жыл бұрын
The way you teach is really awesome. Thank you very much.
@asheshkumar6236
@asheshkumar6236 10 ай бұрын
Awesome explaination.
@bazar9000
@bazar9000 5 жыл бұрын
Awesome video with concise and clear explanations Thank you!
@krishnasuripaka2480
@krishnasuripaka2480 5 жыл бұрын
Hi Abhilash, u r doing good job for public...i really appreciate... your job..
@piyushkumar-et2vb
@piyushkumar-et2vb 3 ай бұрын
amazing as usual bro
@bharatchouhan9710
@bharatchouhan9710 2 жыл бұрын
best tutorial bro.keep it up.now expecting spring boot tutorial from ur side.
@calintamas7576
@calintamas7576 3 жыл бұрын
Great job Abhilash! Thx a lot ! Hopefully you will continue in this style for further topics. For me as a beginner the animations , drawings etc, are the key. Perfect!
@nomanibrahim9491
@nomanibrahim9491 5 жыл бұрын
watching your video, it gives me a happy feelings
@SeleniumExpress
@SeleniumExpress 5 жыл бұрын
Reading your comments also gives me happy feelings, Noman.😊
@atharshmuthu2520
@atharshmuthu2520 4 жыл бұрын
Damn .!! Many of my doubts are clarified intuitively thanks a lot .!
@akashshukla177
@akashshukla177 5 жыл бұрын
Thanks for the Spring video lecture. I'm waiting for more.
@santoshbikkad5822
@santoshbikkad5822 4 жыл бұрын
Thank you .you are doing good job buddy
@AhamedKabeer-wn1jb
@AhamedKabeer-wn1jb 4 жыл бұрын
Well explained brother..
@chanchalsinghal5973
@chanchalsinghal5973 4 жыл бұрын
Amazing knowledge. Can u please make videos on Spring boot
@saeednazary3111
@saeednazary3111 5 жыл бұрын
man you are HEROOOOOOOOOOOOOOOO
@mohammedibrahim6187
@mohammedibrahim6187 2 жыл бұрын
Hi Abhilash, Thank you so much for your courses. In this video we are using @Controller and we are handling response body by enabling and disabling by @ResponseBody annotation. In this case, if we put @ResponseBody annotation then that value will be send as string in our httpresponse and displaying on browser. if we are not having then it will consider that string as view file. But, here I am having doubt like, If we are using @RestController instead of @Controller. then how it is working internally for view. basically, @RestController is having @ResponseBody internally. Could you please help me by answering my doubt.
@susantdash
@susantdash 5 жыл бұрын
Sir, You are a excellent Teacher. I am also a teacher but never seen a teacher like you. Kindly upload your video as early as possible. I know you are busy in your work but for our benefit kindly upload video so that we can can do some thing new.
@SeleniumExpress
@SeleniumExpress 5 жыл бұрын
Thanks Susant for the appriciataction. I always try to be consistent. Creating error less contents always is my primary goal. I believe, it gives people to have a smooth learning experience.Sometimes the post production work like editing requires a huge effort and takes time. I have scrolled through a lot of comments today asking about my inconsistency. I do accept it. It's because of my busy schedule. I hope you guys can understand and I need your support. I will try my best to wrap up this course as soon as I can. Happy Learning 😊
@dharmendramore7912
@dharmendramore7912 5 жыл бұрын
Dear Abhilash, i have leerned lots of things from your videos , but pls add the models and also and database connection in the mvc and make the CRUD into the maven.. #thanksalot..#thankyou
@shivrajjadhav768
@shivrajjadhav768 5 жыл бұрын
Superb sir.. lots of things is clear n can u make one video for CRUD operations using spring MVC plzz
@anulekhsengupta3977
@anulekhsengupta3977 5 жыл бұрын
Hello Sir, Could you please help me out with the following question How can we configure multiple view files that are in same view folder having extension like .html, .JSP in the suffix part of InternalResourceViewResolver? TIA, Regards, Anulekh
@goshabur6402
@goshabur6402 4 жыл бұрын
You should make 2 different view folders, like view1 and view2 and make for them 2 different ViewResolver beans. (I also noticed, that there will be no exception if in view1 and view2 you have files with the same name. Maybe i am wrong...)
@surajmahato2557
@surajmahato2557 3 жыл бұрын
Take a bow man
@UmarFarooq-un6jm
@UmarFarooq-un6jm Жыл бұрын
When you make changes in beans.xml file to specify prefix and suffix , to reflect the changes in the server you have to redeploy/restart the server , isn't that the same thing what we are doing when changing the code in controller.Can you clarify my doubt , thanks.
@JohnJohn-tx1jf
@JohnJohn-tx1jf 4 жыл бұрын
My question here is if there are both html and jsp files, how will setSuffix? But I am sure you will give an answer in the next tutorial. And this is my note for this video //InternalViewResolver --> class. It extends another class named URL... In URL....class, there are prefix and siffix variable and its setter methods. We need to confix InternalViewResolver with property tags in -servelet.xml file. //How it work? Client --> Request --> DispatcherServlet --> Controller --> DispatcherServlet --> InternalViewResolver --> getPrefix and getSuffix --> DispatcherServlet --> Response --> Client //How to creat bean without writing? go to bean.xml > bean tag in the below > New Bean > give Id(viewResolver) and browse class > Finish. Then Rlick click on viewResolver > beans > Insert element > Under Element Detail, give name(prefix) and value(/WEB-INF/view/). Then Rlick click on viewResolver > beans > Insert element > Under Element Detail, give name(suffix) and value(.html). Then Ctrl + S for save.
@robertoradu9965
@robertoradu9965 4 жыл бұрын
To add bean in beans.xml with that interface (min 39:49), we need to install an add-on Spring Tool Suite for Eclipse.
@thecatleo
@thecatleo 4 жыл бұрын
i am using spring suite 4 but that option not available..pls help me
@RishabhSingh-eq4jf
@RishabhSingh-eq4jf 3 жыл бұрын
Perfect...
@sourabhissourabh
@sourabhissourabh 2 жыл бұрын
Abhilash, can you tell if i have views with .html and .jsp both extensions. How view resolver will help me in this situation?
@dwaipayanbakshi8703
@dwaipayanbakshi8703 Жыл бұрын
Hi, could u state the site from where u r getting the source code for attaching in the .class files?
@prof_as
@prof_as 4 жыл бұрын
sir how to use html and jsp together in spring mvc.
@knightvampire1263
@knightvampire1263 2 жыл бұрын
I have one doubt if I have two files with same names but different extensions then how view resolver identity that which one to send because it just adding prefix and suffix
@sureshrayudu5760
@sureshrayudu5760 5 жыл бұрын
QA - Conclusion Shall we return a jsp with out view resolver? What is InternalResourseViewResolver? What is UrlBasedViewResolver? prefix and suffix are belongs to which class?
@vasanthselvam9698
@vasanthselvam9698 5 жыл бұрын
Hi if two view file with same name then which one is called or show any exceptions like placing the view files in the meta-inf
@lakshminarayanasindiri9586
@lakshminarayanasindiri9586 4 жыл бұрын
Hi Abilash i am getting issue of view resolver and can u suggest me pls? Do i need to add any jars ?
@kalaimaranmadhavan4182
@kalaimaranmadhavan4182 Жыл бұрын
is it possible to have 2 view resolvers for the same controller? eg: let's consider I have a view folder inside the view folder I have HTML type view files and one more pages folder inside that folder I have JSP type file. How should I solve this issue? if yes please give me a solution
@shashwatmishra1972
@shashwatmishra1972 4 жыл бұрын
for viewing source code of the spring file, is there a way to setup the attach resource at once so that every time we don't need to browse and do the same process ?!
@coddude3284
@coddude3284 Жыл бұрын
By annotating the controller class with @RestController annotation, you no longer need to add @ResponseBody to all the request mapping methods. The @ResponseBody annotation is active by default.
@karthickkumar4150
@karthickkumar4150 5 жыл бұрын
Hi sir, You have mentioned the viewResolver instance in bean configuration file...where s the dispatcherservlet-servlet.xml file?
@abidinislak2717
@abidinislak2717 4 жыл бұрын
hi. firstful, i thank u for this excellent videos. but i have problem with html page. when i do html for instead of jsp , i get " Mar 21, 2020 8:34:24 ÖS org.springframework.web.servlet.DispatcherServlet noHandlerFound WARNING: No mapping for GET /myfirstmvc/META-INF/view/example.html" error. how can solve this.
@KidsIndia4
@KidsIndia4 4 жыл бұрын
check your web.xml-->url-pattern. it should be //* (like /home/*) instead of /*
@nagireddy1507
@nagireddy1507 5 жыл бұрын
Thanks alot bro😍😍
@SeleniumExpress
@SeleniumExpress 5 жыл бұрын
My pleasure 😊
@munirajd2917
@munirajd2917 5 жыл бұрын
Hello, Can we pass or use html page instead of jsp? Thanks
@karthiky898989
@karthiky898989 5 жыл бұрын
How to do i configure the view resolver in the beans.xml if I have more than one 'views' folder or more than one view files extension?
@ahmedkhan8352
@ahmedkhan8352 3 жыл бұрын
if there is multiple view, with different prefix and suffix value, then how to configure this scenario.
@코린-h3g
@코린-h3g 4 жыл бұрын
BEST!
@tabishrizwan9137
@tabishrizwan9137 3 жыл бұрын
Hi abhilash if we are having more than one jsp page.
@akashchouhan6655
@akashchouhan6655 4 жыл бұрын
Hello Abhilash, Can you pls tell now we do not have dad-frontler-servlet.xml file still it is running, why are we not getting and exception.
@gangamarad5893
@gangamarad5893 5 жыл бұрын
Hello sir Thank you for the video.here i have a question ,if two controllers are returning the two webpages ex:Cricketbat.jsp from one controller and Cricketbat.html from another. webpages name is same but extensions differs here.so how to configure viewResolver for this case?
@FaizanKhan-qu7is
@FaizanKhan-qu7is 2 жыл бұрын
Abhilash sir can u please tell me how to add/attach source code class jar file??
@sumitrajdhasmana9459
@sumitrajdhasmana9459 4 жыл бұрын
Hi Abhilash..i have eclipse kepler version installed in my windows pc..and i am unable to use spring..sone archetype not found error i am going to face..plzz make some videos on these things
@ViratKohali.television
@ViratKohali.television 5 жыл бұрын
Sir which eclipse version we are use?
@bazar9000
@bazar9000 5 жыл бұрын
Abhilash is using Spring Tools Suit which is an IDE for Spring Developers that integrated to Eclipse you can download it here -> spring.io/tools or, you can go to Eclipse MarketPlace and install -> Spring Tools 3 (Standalone Edition) which is basically the same This will give you the option to create Bean Configuration files and other Spring related files
@malateshkr2613
@malateshkr2613 5 жыл бұрын
Super!!!
@SeleniumExpress
@SeleniumExpress 5 жыл бұрын
Thanks, Malatesh !!
@malateshkr2613
@malateshkr2613 5 жыл бұрын
@@SeleniumExpress welcome!! If you can cover the getting the form fields into the controller that would be helpful
@SeleniumExpress
@SeleniumExpress 5 жыл бұрын
That's coming up next 🙂
@malateshkr2613
@malateshkr2613 5 жыл бұрын
@@SeleniumExpress super!! Eagerly waiting for that.
@BhajanStatus
@BhajanStatus Жыл бұрын
Bro where can I find spring framework release dist zip. I searched internet but I couldn't find it
@jagdishkate5880
@jagdishkate5880 5 жыл бұрын
Thanks
@vinay_world
@vinay_world 4 жыл бұрын
Bro please make a video on "difference between spring vs springmvc vs springboot"
@universal4334
@universal4334 Жыл бұрын
I dont see dispatcher servlet tags at the end of video. Where are they
@jaycarlous
@jaycarlous 5 жыл бұрын
Hey one question if we have both HTML and JSP in the view folder how can we do this in XML file. like suffix we can mention one format only.
@pallavib1297
@pallavib1297 3 жыл бұрын
U cannot do like that mvc
@adeebzahinfarooqui4398
@adeebzahinfarooqui4398 4 жыл бұрын
sir my console is showing error "noHandler found" after I used view resolver in my beans.xml please help.
@saeednazary3111
@saeednazary3111 5 жыл бұрын
HOW YOU GET THIS HUGE INFORMATION' LUCKY YOU
@rohitbobde5290
@rohitbobde5290 Жыл бұрын
Ctrl+shift+t is not working in my eclipse How do i copy class name ?
@devolajide
@devolajide 4 жыл бұрын
I am getting error "org.springframework.web.servlet.DispatcherServlet noHandlerFound WARNING: No mapping for GET /myfirst-mvc-project/home.com/circketbat" please how do i resolve this?
@devolajide
@devolajide 4 жыл бұрын
Problem fixed thanks
@hemavathit6203
@hemavathit6203 4 жыл бұрын
@@devolajide how u fixed that problem? me too getting the same issue.
@Giuggiol4324
@Giuggiol4324 2 жыл бұрын
can I email you the files? I have a question, a circular view path error
@pinkugouda2419
@pinkugouda2419 5 жыл бұрын
Hi Abhilash, tnxs for the awesome tutorial. I have one doubt, suppose i have 2 controller classes which r returning 2 different web pages with different extensions. How we r going to handle that?
@gopalchithukati4614
@gopalchithukati4614 4 жыл бұрын
UI not getting changes required its when we are update servletdispatcher UI automatically updated .........
@vimalasaloni2906
@vimalasaloni2906 5 жыл бұрын
One doubt.. Suppose if my project has different view folders then is it possible to configure using view resolver?
@SeleniumExpress
@SeleniumExpress 5 жыл бұрын
That's an excellent question. I will suggest to keep all your your views in one place. If your question is can we configure multiple view resolvers? Then the answer is of course yes. We will understand it practically in the upcoming videos 😊
@harishrao156
@harishrao156 5 жыл бұрын
Bro explain Hibernate please 🙂
@AjayGupta-ob8oe
@AjayGupta-ob8oe 5 жыл бұрын
Can you make the video of web service
@harshdeep1953
@harshdeep1953 4 жыл бұрын
i am getting no handler exception
@victorkk2986
@victorkk2986 4 жыл бұрын
hi sir ! getting-- HTTP Status 500 - Internal Server Error
@victorkk2986
@victorkk2986 4 жыл бұрын
now getting 404 error
@ravikurra4288
@ravikurra4288 3 жыл бұрын
#SeleniumExpress Please Teach Restfull Web Services Also
@lakshminarayanasindiri9586
@lakshminarayanasindiri9586 4 жыл бұрын
Can u pls help me i am getting 404 issue
@SeleniumExpress
@SeleniumExpress 4 жыл бұрын
Hi Lakshmi, Please redirect this issue to the below group. Selenium Express - Support facebook.com/groups/187000222361579/ Add a issue description and some screenshots.
@eatsamulhaq4084
@eatsamulhaq4084 3 жыл бұрын
Why are we spending so much time on XML when we have to use annotations in the future?
@susantdash
@susantdash 5 жыл бұрын
Sir , Please upload video. It is very difficult to wait for next video.
@ravikurra4288
@ravikurra4288 3 жыл бұрын
#Selenium Express Hi Anna Restfull Web Services Kooda Teach Cheyava Please
@Redmi-be7lh
@Redmi-be7lh 3 жыл бұрын
bro kitna bakwaas krte ho agar apni video me se bakwaas nikal do to video kewal 20 min ki bachegi
@sayanmallick5535
@sayanmallick5535 Жыл бұрын
I made a controlled below. @Controller @RequestMapping(value = { "/home", "/" }) public class HomeController { @ResponseBody @RequestMapping("/callHome") public String callHome() { return "Welcome to homepage"; } @RequestMapping("/") public String getHomePage() { return "Home"; } } all the handler configuration was made as shown in video.. when i ran server in debug mode and hit appropriate url the debug is coming in getHomePage but it was giving me 404 error.. stuck with this issue for 4 hours . then saw that in dispatcher servlet mapping i had /*..when i removed th `*` the view was finally getting rendered.. i am unable to understand what the issue was
@abhishekbande06
@abhishekbande06 9 ай бұрын
I am getting this error No endpoint GET /firstMVCProject/WEB-INF/view/MRFCricketbat.jsp. anyone help me in that.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Simon Sinek's Advice Will Leave You SPEECHLESS 2.0 (MUST WATCH)
20:43
Alpha Leaders
Рет қаралды 668 М.
Google’s Quantum Chip: Did We Just Tap Into Parallel Universes?
9:34
What is JUnit? | Why Mockito?
14:38
Telusko
Рет қаралды 374 М.