#59 rollback
This commit is contained in:
-21
@@ -1,21 +0,0 @@
|
||||
package org.springside.examples.miniweb.web;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
|
||||
@Controller
|
||||
public class IndexController {
|
||||
|
||||
@RequestMapping(value = "/")
|
||||
public String index() {
|
||||
return "redirect:/task";
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/healthcheck", produces = "text/plain")
|
||||
public @ResponseBody
|
||||
String healthCheck() {
|
||||
|
||||
return "ok222222";
|
||||
}
|
||||
}
|
||||
@@ -21,4 +21,7 @@
|
||||
<property name="prefix" value="/WEB-INF/views/"/>
|
||||
<property name="suffix" value=".jsp"/>
|
||||
</bean>
|
||||
|
||||
<!-- 定义无Controller的的path<->view映射 -->
|
||||
<mvc:view-controller path="/" view-name="redirect:/task"/>
|
||||
</beans>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
baseUrl=http://localhost:8082/mini-web
|
||||
|
||||
#selenium settings, options include firefox,ie,chrome,remote:localhost:4444:firefox
|
||||
#selenium settings, options include firefox,ie,chrome,htmlunit,remote:localhost:4444:firefox
|
||||
selenium.driver=firefox
|
||||
|
||||
#(optional)override jdbc url for functional test
|
||||
|
||||
Reference in New Issue
Block a user