You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
513 B
17 lines
513 B
package com.ssm.first;
|
|
|
|
import org.springframework.context.ApplicationContext;
|
|
import org.springframework.context.support.ClassPathXmlApplicationContext;
|
|
|
|
public class TestFirst {
|
|
public static void main(String[] args) {
|
|
ApplicationContext ac = new ClassPathXmlApplicationContext("bean-first.xml");
|
|
System.out.println("Hello Spring!");
|
|
System.out.println("Hello Spring!");
|
|
System.out.println("Hello Spring!");
|
|
System.out.println("Hello Spring!");
|
|
System.out.println("Hello Spring!");
|
|
|
|
}
|
|
}
|