Created
February 11, 2019 12:28
-
-
Save NeilAlishev/a7be183f5c0d612cc6ebf287e129bed5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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" | |
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"> | |
<bean id="testBean" | |
class="alishev.spring.demo.TestBean"> | |
<constructor-arg value="Neil"/> | |
</bean> | |
</beans> |
Спасибо!
Спасибо
thanks
ty
thx
Спасибо за Ваш труд!
ty!!!!
Эту строку стоит изменить под ваш путь. Даже в самом видео путь другой.
class="alishev.spring.demo.TestBean"
Вот какой должен быть в видео.
"ru.alishev.springcourse.TestBean"
а у вас может быть совсем другое.
ty
спасибо!
спасибо!)
Thumb up!!!
Thanks!
❤ Spasibo
thx --> (^_^)
👍
Спасибо!
THANK YOU
Thanks
Thx
спасибо! Привет из 2024 :)
Если в вашем конструкторе несколько параметров:
<!-- id - уникальный идендитификатор нашего обьекта/бина -->
<!-- constructor-arg - передаем аргументы в конструктор -->
<bean id="testBean"
class="com.gmail.alinakotova102.TestBean">
<constructor-arg value="Alina"/>
<constructor-arg value="Klishyna"/>
</bean>
Спасибо
Спасибо!
Спасибо
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks