Wow this issue is crazy prevalent to the LunarPages community. I think many of us customers use Apache/Tomcat for their web server needs. Sure LP uses (what is new to me) Resin stuff. Here's a link to another LP customer with the same issue as me, only four years ago. It has no solution to it.
http://www.lunarforums.com/jsp_and_servlets_support/flustered_classpath_issues-t32816.0.htmlI created some servlet code pre-compiled the classes on my local machine.
I put the classes into the /public_html/WEB-INF/classes directory
then I updated the web.xml in the /public_html/WEB-INF directory
I put in the <servlet> and <servlet-mapping> entries so that I could name the action what I want in the JSP. Here is the sample of the servlet mappings in the web.xml
<servlet>
<servlet-name>internal_getManufacturerList</servlet-name>
<servlet-class>GetManufacturerList</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>internal_getManufacturerList</servlet-name>
<url-pattern>/GetManufacturerList.do</url-pattern>
</servlet-mapping>
in my JSP I have some javascript to make the call
ajaxRequest.open("POST", "GetManufacturerList.do", true);
Ultimately the servlet cannot be found.
Any help for me?