最近在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
推
04/20 20:41, , 1F
04/20 20:41, 1F