Starting Complete. Welcome To The JFinal World :) Handler IP is:192.168.1.100
JFinal action report -------- 2018-03-21 22:50:04 ------------------------------ Url : GET / Controller : com.demo.index.IndexController.(IndexController.java:1) Method : index -------------------------------------------------------------------------------- Handler IP is:192.168.1.100 Handler IP is:192.168.1.100 Before invoking /blog After invoking /blog
JFinal action report -------- 2018-03-21 22:50:07 ------------------------------ Url : GET /blog Controller : com.demo.blog.BlogController.(BlogController.java:1) Method : index Interceptor : com.demo.blog.BlogInterceptor.(BlogInterceptor.java:1) -------------------------------------------------------------------------------- Handler IP is:192.168.1.100 Before invoking /blog/add After invoking /blog/add
JFinal action report -------- 2018-03-21 22:50:09 ------------------------------ Url : GET /blog/add Controller : com.demo.blog.BlogController.(BlogController.java:1) Method : add Interceptor : com.demo.blog.BlogInterceptor.(BlogInterceptor.java:1) -------------------------------------------------------------------------------- Handler IP is:192.168.1.100 Before invoking /blog/save After invoking /blog/save
JFinal action report -------- 2018-03-21 22:50:19 ------------------------------ Url : POST /blog/save Controller : com.demo.blog.BlogController.(BlogController.java:1) Method : save Interceptor : com.demo.blog.BlogInterceptor.(BlogInterceptor.java:1) com.demo.blog.BlogValidator.(BlogValidator.java:1) Parameter : blog.content=不错 blog.id= blog.title=天气 -------------------------------------------------------------------------------- Handler IP is:192.168.1.100 Before invoking /blog After invoking /blog
我猜有可能是你 tomcat 配的有问题 :
JFinal 部署在 Tomcat 下推荐方法
"记住第一点,永远不要将项目放在 TOMCAT_HOME/webapps 目录下面"