-
-
Save darbyluv2code/9a09543a226baeedc04b9a5037ca52ec to your computer and use it in GitHub Desktop.
body { | |
background-color: lightblue; | |
} | |
h2 { | |
color: white; | |
text-align: center; | |
} | |
p { | |
font-family: verdana; | |
font-size: 20px; | |
} |
function doSomeWork() { | |
alert("I'm doing some work!!!"); | |
} |
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:context="http://www.springframework.org/schema/context" | |
xmlns:mvc="http://www.springframework.org/schema/mvc" | |
xsi:schemaLocation=" | |
http://www.springframework.org/schema/beans | |
http://www.springframework.org/schema/beans/spring-beans.xsd | |
http://www.springframework.org/schema/context | |
http://www.springframework.org/schema/context/spring-context.xsd | |
http://www.springframework.org/schema/mvc | |
http://www.springframework.org/schema/mvc/spring-mvc.xsd"> | |
<!-- Step 3: Add support for component scanning --> | |
<context:component-scan base-package="com.luv2code.springdemo" /> | |
<!-- Step 4: Add support for conversion, formatting and validation support --> | |
<mvc:annotation-driven/> | |
<!-- Step 5: Define Spring MVC view resolver --> | |
<bean | |
class="org.springframework.web.servlet.view.InternalResourceViewResolver"> | |
<property name="prefix" value="/WEB-INF/view/" /> | |
<property name="suffix" value=".jsp" /> | |
</bean> | |
<mvc:resources mapping="/resources/**" location="/resources/" /> | |
</beans> | |
Great it works ! Thank you
Love the course chad! I keep coming back to your cbt for when others dont explain fundamentals etc.
Thanks for making this much easy
Great efforts! Thanks from the heart
Great course, thank you Sir!
Chad, thanks for your time on this. Keep going dude.
Thanks, Chad! Can't believe the value this course offers...you rock!
Thanks Chad, to help us to Learn Spring in such a easy way :)
Not Working getting 404 error
Great it works ! Thank you
Fantastic and amazing lecture. Chad is the best in the business. Best Instructor I ever had.
Thank you very much for the great course
Great! It works...Thank you Chad
@rahulbhooteshwar how can I access to the file from java code(not from jsp/html page)? what path should I use?
Hi,
Refer to the below links. You will be able to do so.
Hello I am using maven project. so where can I put resources in maven project, I am not even able to run maven project with
<mvc:resources mapping="/resources/" location="/resources/"></mvc:resources>**
@kotlintpoint: we provide tech support on the Udemy website. please post your question in classroom discussion forum and we will help you further.
<mvc:resources mapping="/resources/" location="/resources/"></mvc:resources>**
I suggest <mvc:resources mapping="/resources/**" location="/resources/**"></mvc:resources>
bought your course on udemy, and worth it
thanks for the great job =)
@bp-brainiak: thanks so much for purchasing my course. I'm happy that you are enjoying it :-)
Thanks Sir for the great content. It has really helped me a lot.
Hi Chad! I've studied the other course from some other tutor from udemy. But after purchasing this one from you, I am able to understand the concepts thoroughly.
Thanks chad!! You are the best!!!
org.springframework.web.servlet.PageNotFound.noHandlerFound No mapping for GET i have this error for the request of images and javascript
Beauty.
This course and learning are giving so much confidence in development. The way you are explaining and elaborating concepts with practical is so much productive.
Thanks, Chad
My project is not working.both css and javascript are not running from html page.please help
@mkmadhan1990 - Can you repost the question to the Udemy classroom discussion Q&A? We'll help you there.
Here's the link to the classroom discussion Q&A:
https://www.udemy.com/spring-hibernate-tutorial/learn/v4/questions
Hi Chad! 20% through the course, and I want to thank you already. My concept around Spring were never so clear. Thank you again.
It returns the root directory of our web application