看板 java 關於我們 聯絡資訊
最近在eclipse練習用JSP呼叫上傳檔案的web service 在ecipse中建好JSP都可以正常執行(run with server) 但是移到tomcat的WWWROOT底下就不能用了 在JSP中import的Web Service Function class都找不到 需要用到的class在Eclipse專案中是存在build/classes 中 在Tomcat上我把這些class放在wwwroot\Axis2WStest\WEB-INF\classes\ 例如org\tempuri\Fileupload.class An error occurred at line: 42 in the jsp file: /Axis2WSTest/test.jsp FileuploadSoap cannot be resolved to a type An error occurred at line: 42 in the jsp file: /Axis2WSTest/test.jsp FileuploadSoapProxy cannot be resolved to a type 大概都是找不到我所import這些 請問是否該將這些class檔弄成JAR檔 或是Web.xml需要作何修改嗎? 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.45.140.113
aadean:有更新class時需要restart tomcat? 04/20 20:41