2011-11-04 122 views
2

我在eclipse IDE中使用tomcat7.0,只是裁剪圖像使用jsp和servlet.when我裁剪圖像並提交按鈕時會出現以下錯誤。我該怎麼做,請找到和help.but服務器將啓動。部署tomcat 7.0 404錯誤

INFO: Deploying configuration descriptor web_site.xml from E:\Mecherie_project \.metadata\.plugins\org.eclipse.wst.server.core\tmp0\conf\Catalina\localhost 
Nov 4, 2011 8:40:14 PM org.apache.catalina.startup.SetContextPropertiesRule begin 
WARNING: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:web_site' did not find a matching property. 
Nov 4, 2011 8:40:14 PM org.apache.coyote.AbstractProtocol start 
INFO: Starting ProtocolHandler ["http-bio-8080"] 
Nov 4, 2011 8:40:14 PM org.apache.coyote.AbstractProtocol start 
INFO: Starting ProtocolHandler ["ajp-bio-8009"] 
Nov 4, 2011 8:40:14 PM org.apache.catalina.startup.Catalina start 
INFO: Server startup in 483 ms 

回答

3

您的<form action>網址可能是錯誤的。在提交後查看404時,請注意瀏覽器地址欄中的網址。該網址是否正確?當然?它應該完全是與servlet的URL模式相匹配的URL。

請注意,您在那裏的日誌有無關具體問題。如果您擔心這個警告,請閱讀以下相關問題:Setting property 'source' to 'org.eclipse.jst.jee.server:JSFTut' did not find a matching property

+0

謝謝你BalusC,我得到了輸出 – Muthu