有2种方式可以实现!1.建个空的jsp页面,页面内容response.sendRedirect("/index!index.action"); 就这样一句话!<welcome-file-list> <welcome-file>这里就是你的jsp文件</welcome-file></welcome-file-list>
2.在WEB-ROOT下建个空文件文件名就是你的action的名字(像这样index!index.action作为文件名)
<welcome-file-list> <welcome-file>index!index.action</welcome-file></welcome-file-list>
这样就能找到你的action了!