So, I got all the keys, tools for Eclipse, created a new deafult application, ok, it shows somepage .
Then i change
SRC / Main / WebApp / WEB-INF / web.xml
as readme on says:
<servlet>
<servlet-name>work</servlet-name>
<servlet-class>kea.webpro.WorkServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>work</servlet-name>
<url-pattern>/work</url-pattern>
</servlet-mapping>
And add some java classes to
SRC / Basic / Java
And then I go here I get
java.lang.ClassNotFoundException: kea.webpro.WorkServlet for the first time and the next time the resource was not found.
I assume that my custom web.xml was successfully read. But my java class is unfortunately not. So how to make a simple servlet creating a simple html page with the hello world on openhift tomcat?
My local cat is doing fine, I generate everything I want. although my servlet structure is much simpler.