![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
tomcat
judyfun
当一个人找不到出路的时候,最好的办法就是将当前能做好的事情做到极致,做到无人能及。
展开
-
tomcat发布工程时web里面是空
http://jingyan.baidu.com/article/359911f57c8c1357fe0306fa.html转载 2014-12-04 10:16:18 · 545 阅读 · 0 评论 -
使用servlet 3.0 新特性 @WebServlet(urlPatterns = "/brainT") 访问 url,服务器报404错误
使用servlet 3.0 @WebServlet注解,就不需要在web.xml 中配置访问这个servlet的url了。在配置 web.xml中配置的时候需要注意 有两种:3.0版本<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/x原创 2015-12-02 11:19:02 · 6645 阅读 · 0 评论 -
tomcat容器下读取配置文件
在类中的静态代码块中读取配置文件 public static String WADDR = ""; // 226 public static String ADDR = ""; public static int EXPIRE_TIME;static { Properties prop = new Properties(); InputS原创 2016-04-09 17:56:02 · 3283 阅读 · 0 评论