有关jsp调用servlet的问题,请大家进来看看。
我用jbuilder做一个servlet响应jsp表单的实验:
jsp页面在defaultroot\stocksearch.jsp,
对应的servlet在defaultroot\WEB-INF\classes\com\creaunion\example\servlet\StockServlet.class。
我在jsp页面里是这么写的
<form action="com/creaunion/example/servlet/StockServlet" method="post">
可我每次提交时出现:Unable to open location: Document not found on server 错误。
下面的日志如下错误:
2002-06-20 09:19:17 - path="" :debugjsp: init
2002-06-20 09:19:24 - Ctx( ): 400 R( /) null
2002-06-20 09:19:24 - Ctx( ): 404 R( + /com/creaunion/example/servlet/StockServlet + null) null
请大伙帮我看看是怎么回事?