开发者

Remote application debug in eclipse

开发者 https://www.devze.com 2023-03-24 15:15 出处:网络
I m trying to debug some jsp pages in eclipse. These pages depends on some other projects, that are located in workspace. The physical files arelocated in webapps directory. I\'m using tomcat7 as serv

I m trying to debug some jsp pages in eclipse. These pages depends on some other projects, that are located in workspace. The physical files are located in webapps directory. I'm using tomcat7 as server. I have started Tomcat with standard configuration(debug at port 8000) and left also port 8000 in remote debug configuration. In my workspa开发者_如何学Goce there is a ic-config with WEB-INF and web.xml. It maps com.quartal.irtoolbox.ic.ControllerServlet to Controller like the following:

<servlet>
    <servlet-name>Controller</servlet-name>
    <servlet-class>com.quartal.irtoolbox.ic.ControllerServlet</servlet-class>
</servlet>
<servlet-mapping>
    <servlet-name>Controller</servlet-name>
    <url-pattern>/Controller</url-pattern>
</servlet-mapping>

But when i try to access Controller , it is not accessible at all.I'm getting the error: "The requested resource (/Controller) is not available". What should i change and how should i call the servlet to be able to get and debug it?

Thanks Magda

0

精彩评论

暂无评论...
验证码 换一张
取 消