Skip to content

Commit 5a29479

Browse files
committed
도훈 첫 커밋앤푸시
1 parent 1e5bebb commit 5a29479

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+2993
-714
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
eclipse.preferences.version=1
22
encoding//src/main/webapp/WEB-INF/views/index.jsp=UTF-8
3+
encoding//src/main/webapp/WEB-INF/views/user/getBusStopLine.jsp=UTF-8
34
encoding//src/main/webapp/WEB-INF/views/user/mainIndex.jsp=UTF-8

ybusadmin/src/main/java/com/test/spring/user/MainController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class MainController {
3535
private NoticeDAO noticeDao;
3636

3737

38-
@RequestMapping(method={RequestMethod.GET}, value="/index.action")
38+
@RequestMapping(method={RequestMethod.GET}, value="/index.action") // 스프링 기본 구문
3939
public void index(HttpServletRequest request,HttpSession session,HttpServletResponse response) {
4040
try {
4141

ybusadmin/src/main/webapp/WEB-INF/spring/root-context.xml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,19 @@
1010

1111

1212

13-
14-
<bean id="dataSourceMySQL" class="org.apache.commons.dbcp.BasicDataSource">
13+
<bean id="dataSourceMySQL" class="org.apache.commons.dbcp.BasicDataSource">
14+
<property name="driverClassName" value="com.mysql.jdbc.Driver" />
15+
<property name="url" value="jdbc:mysql://220.66.67.245:6612/cambusdb" />
16+
<!-- <property name="url" value="jdbc:mysql://eeu1234.iptime.org:3306/cambusdb" /> -->
17+
<property name="username" value="cbsadmin" />
18+
<property name="password" value="Thskxk4889!"/> </bean>
19+
<!--<bean id="dataSourceMySQL" class="org.apache.commons.dbcp.BasicDataSource">
1520
<property name="driverClassName" value="com.mysql.jdbc.Driver" />
16-
<property name="url" value="jdbc:mysql://220.66.67.0:0/0" />
17-
<property name="username" value="0" />
18-
<property name="password" value="0" />
21+
<property name="url" value="jdbc:mysql://192.168.9.20:3306/cambusdb" />
22+
<property name="username" value="cbsadmin" />
23+
<property name="password" value="Thskxk4889" />
1924
</bean>
20-
25+
-->
2126

2227
<!-- log4j -->
2328
<bean id="log4jSource" class="net.sf.log4jdbc.Log4jdbcProxyDataSource">

0 commit comments

Comments
 (0)