after days and days . this is the only tutorial that worked for me (with my 6years android experience am very excited to code for the web on top of Dot Net fullstack, nodejs, php laravel ,python flask)
Hello Sir... this video is very useful to me.. and as you promised, please do the spring+hibernate with java configuration... i'm so egerly waiting for that... thank you!
If someone is watching this recently the WebMvcConfigurerAdapter class was deprecated and removed in Spring Framework 5.0. Instead, you should use the WebMvcConfigurer interface. public class MvcConfig implements WebMvcConfigurer
Thank you Naveen garu, It is helping me more on the srping-bean.xml configuration. Java Based configuratiuon is better than those nasty xml type configuration. Its headche. I deleted my sample projects coz of this configuration fails
Hello Good afternoon, How we use html index file instead of jsp file using annotations based spring mvc and not java and xml based spring mvc.I tried using welcome file list in web. Xml but dont work Thanks, Muniraj
Hi Navin Sir, From this video, 1.could you please explain what is the difference between @getRootconfigclasses() and @getServletconfigclasses() which extends Abstract annotationconfigdispatchservletintializer... 2.And pls explain what is the use of context loader intializer
I have the same doubt. I couldn't understand why in this Spring MVC example with Java based configuration, he used getRootConfigClasses() but in Spring MVC example with XML and Annotation based configuration, he used getServletConfigClasses() to return the array of @Controller classes
Hi Telusko, i have a problem with my aplication, I'm using your method to configure MVC with java, the problem is that when I run on server (App Engine), it does not use my context "http: // localhost: 8080", so I have to manually enter "index.jsp" for this to work, how can I assign this page to the context, or welcome files ?, (because the web.xml with the welcome files doesn't work). Thanks for your answer.
sir, I have watched all your video in java tutorial and have practiced .Then how much java do I know ? is this good enough to get a starting job. please answer someone.
Instead of extending the WebMvcConfigurerAdapter use the new Spring 5 (or Spring Boot 2) WebMvcConfigurer Interface which has default implementations of the methods (due to Java 8 supporting default methods in Interfaces). So your Class will now "implements WebMvcConfigurer" instead.
Sir kya bhu ke mca students ko iit (bhu)ke campus placement mein baithne ka mauka milta Hai becoz iit(bhu) ka placement bahut acchaa Hai compare to bhu ke campus placement se
Maven config is not even the tip of the iceberg its just a formality before you start the project I guess thats what he made the video for !!! Hope you get what i am saying !!
Yes, it is not even tip of iceberg. We have to do lots of things in Spring MVC application. I am currently working on it . I have used Maven, and xml based spring configuration. I used following thinks in my project : 1 spring security : for login and role based managment 2 jdbcTemplate & namedParameterJdbcTemplate : for data manipulation 3. apache tiles: for web page layout
Navin this is same as Annotation Based configuration which you taught in previous video. What's the difference between Annotation Based and Java Based configuration..
Instead of extending the WebMvcConfigurerAdapter use the new Spring 5 (or Spring Boot 2) WebMvcConfigurer Interface which has default implementations of the methods (due to Java 8 supporting default methods in Interfaces). So your Class will now "implements WebMvcConfigurer" instead.
after days and days . this is the only tutorial that worked for me (with my 6years android experience am very excited to code for the web on top of Dot Net fullstack, nodejs, php laravel ,python flask)
SpringMVC using Java configuration recap : 16:55
Great and Very helpful video
Hello Sir... this video is very useful to me.. and as you promised, please do the spring+hibernate with java configuration... i'm so egerly waiting for that... thank you!
If someone is watching this recently the WebMvcConfigurerAdapter class was deprecated and removed in Spring Framework 5.0. Instead, you should use the WebMvcConfigurer interface.
public class MvcConfig implements WebMvcConfigurer
i really appreciate your work, sir create for us videos for spring web flow
Thank you so much sir for explaining like anything I have no words to say... thank You....
Thank you sir, pretty much helpful for us, we are waiting for new videos :) deep spring mvc :)
This video is simply awesome...
Wowwww its really great.... expecting some more vedios with springmvc + hibernate
Please make video registration and login program with database
Using Spring framework in netbean
Thank you Sir. You explain difficult things in a very easy way . It helped me a lot. Thank you once again.
Yeah how are you?Praggya.
Hi Navin, Could you please upload some video on Spring batch ...not getting any good videos on that ..please
great stuff - one create a project structure and work it out just by using your videos, thank you :-)
Thank you Naveen garu, It is helping me more on the srping-bean.xml configuration. Java Based configuratiuon is better than those nasty xml type configuration. Its headche. I deleted my sample projects coz of this configuration fails
Please make a video on front end developer skill set.
hats off to you Sir
I am not able to find Target Runtime after clicking on properties. What should i do
Awesome sir
Can you please make a video related to themeResolver with code example
What is the major difference between annotation and java based configuration?
Can you do the same example by using Json
I mean return a Json type date for JavaScript to display using fetch
Thank you sir for such wonderful video
How tomcat knows it has to load the java configuration and not web.xml?
Hello Sir...
I have watched ur some java videos.
And I like ur videos.
Please make a video on front end developer.
Hey i have question.
What should i learn Spring MVC or ASP . Net core?
Also what are the difference in between those two frameworks?
Hi sir this vedio is very helpful please do the spring+hibernate with java configuration... i'm so egerly waiting for that...
Hello Good afternoon,
How we use html index file instead of jsp file using annotations based spring mvc and not java and xml based spring mvc.I tried using welcome file list in web. Xml but dont work
Thanks,
Muniraj
How should we do in DYNAMIC WEB PROJECT???
U said that we need to config....Is it complex
Hi Navin Sir,
From this video, 1.could you please explain what is the difference between @getRootconfigclasses() and @getServletconfigclasses() which extends
Abstract annotationconfigdispatchservletintializer...
2.And pls explain what is the use of context loader intializer
I have the same doubt. I couldn't understand why in this Spring MVC example with Java based configuration, he used getRootConfigClasses() but in Spring MVC example with XML and Annotation based configuration, he used getServletConfigClasses() to return the array of @Controller classes
thanks a lot very good tutorial
Learn spring boot no need to use this configuration stuff for faster development
thanks good man you helped me a lot with this tutorial.
Hi Telusko, i have a problem with my aplication, I'm using your method to configure MVC with java, the problem is that when I run on server (App Engine), it does not use my context "http: // localhost: 8080", so I have to manually enter "index.jsp" for this to work, how can I assign this page to the context, or welcome files ?, (because the web.xml with the welcome files doesn't work). Thanks for your answer.
Thanks a lot..
Sir please make video on spring security customized login form using XML based config
If i will become a membership then what will be benefit
can u please take a class for RECURSION in java. I am totally messed with that and i can not understand about RECURSION
sir, we are subscribing your channel and the every tutorials of yours is awesome. sir, how can i connect/contact with you?
If I want a subtraction button in my web page. So how it will map with controller. Please help
sir, I have watched all your video in java tutorial and have practiced .Then how much java do I know ? is this good enough to get a starting job. please answer someone.
WebMvcConfigurerAdapter is deprecated what to do?? Plz help I'm using spring 5.1.0 plz help..
import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer;
//Replacement for web.xml's file config
public class SpringFrontConfig extends AbstractAnnotationConfigDispatcherServletInitializer {
@Override
protected Class[] getRootConfigClasses() {
// TODO Auto-generated method stub
return new Class[] {ServletConfig.class};
}
@Override
protected Class[] getServletConfigClasses() {
// TODO Auto-generated method stub
return null;
}
@Override
protected String[] getServletMappings() {
// TODO Auto-generated method stub
return new String[] {"/"};
}
}
use this class
Instead of extending the WebMvcConfigurerAdapter use the new Spring 5 (or Spring Boot 2) WebMvcConfigurer Interface which has default implementations of the methods (due to Java 8 supporting default methods in Interfaces). So your Class will now "implements WebMvcConfigurer" instead.
I would like to do distributed computing with java....Can u send me any example code
mv.setView("result.jsp") giving no view resolver found warning!?
it should be setViewname("result.jsp")
Thank you!
get detailed video on spring mvc without on any editor...
Thanks sir
Sir how to dowload spring tool for netbeans
Sir kya bhu ke mca students ko iit (bhu)ke campus placement mein baithne ka mauka milta Hai becoz iit(bhu) ka placement bahut acchaa Hai compare to bhu ke campus placement se
please sir make videos on html,css and JavaScript.It will be very helpful for us..please do sir..
Please Put the maven config in the Description !!
Don't ask him for everything, just try it yourself!
Maven config is not even the tip of the iceberg its just a formality before you start the project
I guess thats what he made the video for !!!
Hope you get what i am saying !!
Yes, it is not even tip of iceberg. We have to do lots of things in Spring MVC application. I am currently working on it . I have used Maven, and xml based spring configuration. I used following thinks in my project :
1 spring security : for login and role based managment
2 jdbcTemplate & namedParameterJdbcTemplate : for data manipulation
3. apache tiles: for web page layout
Navin this is same as Annotation Based configuration which you taught in previous video. What's the difference between Annotation Based and Java Based configuration..
And What is difference between getServletConfig and getRootServletConfig,
Hello, this tutorial will no longer work, because WebMvcConfigurerAdapter is deprecated. So I recommend look for another option.
Instead of extending the WebMvcConfigurerAdapter use the new Spring 5 (or Spring Boot 2) WebMvcConfigurer Interface which has default implementations of the methods (due to Java 8 supporting default methods in Interfaces). So your Class will now "implements WebMvcConfigurer" instead.
Dear, please don't repeat the same concepts. Thank you