在struts.xml中出现extends undefined package struts-default,经过查阅资料原来是因为没有联网的缘故。这样解决:在myeclipse中关联本地的dtd文件
写在myeclipse中->windows->preferences->搜索框输入xml->XML Catalog
->User Specified Entries里面自己配置个dtd的本地url校验
写在myeclipse中->windows->preferences->搜索框输入xml->XML Catalog
->User Specified Entries里面自己配置个dtd的本地url校验