我刚刚用eclipse+myeclipse+tomcat学习开发一个servlet程序
在创建servlet时候是用eclipse自动创建的。自动的写入web.xml中
但是我在jsp中调用 servlet就不行
总是提示
The requested resource (/servlet/HelloWord) is not available.
在创建servlet时候是用eclipse自动创建的。自动的写入web.xml中
但是我在jsp中调用 servlet就不行
总是提示
The requested resource (/servlet/HelloWord) is not available.
http://www.family168.com/tutorial/jsp/html/jsp-ch-06.html
如果可以,检查一下你的页面的action!
在jsp中
<form action="/servlet/test">
<input type="submit" name="add" value="addtest">
</form>
这样写就出现问题
莫明其妙的问题!
刚才看了一下我的项目名称应用到tomcat中。但是项目不能启动。
郁闷!!!!