我的tomcat3。23的servlet 总是报错:HTTP method POST is not supported by this URL?

thkact 2003-03-14 03:09:21
我用的是tomcat3.23.
用jsp 调用一个servlet,出现HTTP 405:资源不允许。
tomcat 3.23 报错:HTTP method POST is not supported by this URL HTTP method POST is not supported by this URL

问:是什么原因了?
谢谢!!
...全文
40 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
thkact 2003-03-14
  • 打赏
  • 举报
回复
没有,怎么能称为servlet...
Yoinn 2003-03-14
  • 打赏
  • 举报
回复
你的servlet有doPost方法吗?
检查一下
thkact 2003-03-14
  • 打赏
  • 举报
回复
这是出错信息:
2003-03-14 14:52:26 - Ctx( ): 405 R( + /servlet/eshop.ShoppingServlet + null)HTTP method POST is not supported by this URL
restful restful所需要的jar包 ========================================= Restlet, a RESTful Web framework for Java ========================================= http://www.restlet.org ----------------------------------------- Native REST support * Core REST concepts have equivalent Java classes (UniformInterface, Resource, Representation, Connector for example). * Suitable for both client-side and server-side web applications. The innovation is that that it uses the same API, reducing the learning curve and the software footprint. * Restlet-GWT module available, letting you leverage the Restlet API from within any Web browser, without plugins. * Concept of "URIs as UI" supported based on the URI Templates standard. This results in a very flexible yet simple routing with automatic extraction of URI variables into request attributes. * Tunneling service lets browsers issue any HTTP method (PUT, DELETE, MOVE, etc.) through a simple HTTP POST. This service is transparent for Restlet applications. Complete Web Server * Static file serving similar to Apache HTTP Server, with metadata association based on file extensions. * Transparent content negotiation based on client preferences. * Conditional requests automatically supported for resources. * Remote edition of files based on PUT and DELETE methods (aka mini-WebDAV mode). * Decoder service transparently decodes compressed or encoded input representations. This service is transparent for Restlet applications. * Log service writes all accesses to your applications in a standard Web log file. The log format follows the W3C Extended Log File Format and is fully customizable. * Powerful URI based redirection support similar to Apache Rewrite module. Available Connectors * Multiple server HTTP connectors available, based on either Mortbay's Jetty or the Simple framework or Grizzly NIO framework. * AJP server connector available to let you plug behind an Apache HTT

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧