我这是刚开始自学 struts2 些地方还不是很明白要在 tomcat 的 conf 文件里的 server.xml 加一个 <Context path="struts2Demo" doBase="F:\workspace\struts2Demo\WebRoot" reloadable="true" />起tomcat 是 报 “Document base C:\Tomcat 5.0\webapps\struts2Demo does not exist or is not a readable directory”
可是现在又是这个错误了 2010-1-9 10:21:14 org.apache.catalina.startup.HostConfig deployDescriptors
严重: Error deploying configuration descriptor truts2Demo.xml
java.io.IOException: java.lang.IllegalArgumentException: Invalid context path: struts2Demo