T
Thomas
Hi,
I have created a Tomcat project within Eclipse containing several
servlets. Accessing the servlets via the webapps (projects) URL works
fine.
Afterwards I created another Tomcat project extending the first one
(first project is checked in the second project's project references.
I have correct web.xml files for both projects. The web.xml for the
2nd project defines servlets contained in the 1st projest. This causes
an error. The classloader apparently cannot find the servlets which
actually belong to the 1st project. No classes that come from the 1st
project are found in the 2nd project at all at runtime (compilation
worked fine so there is no error in the build path).
What do I have to do inorder to connect both projects? I do not want
to copy all servlets and misc classes from the 1st to the 2nd project
but use the 1st project as a foundation for extension projects like
the 2nd one.
Can anyone help?
I have created a Tomcat project within Eclipse containing several
servlets. Accessing the servlets via the webapps (projects) URL works
fine.
Afterwards I created another Tomcat project extending the first one
(first project is checked in the second project's project references.
I have correct web.xml files for both projects. The web.xml for the
2nd project defines servlets contained in the 1st projest. This causes
an error. The classloader apparently cannot find the servlets which
actually belong to the 1st project. No classes that come from the 1st
project are found in the 2nd project at all at runtime (compilation
worked fine so there is no error in the build path).
What do I have to do inorder to connect both projects? I do not want
to copy all servlets and misc classes from the 1st to the 2nd project
but use the 1st project as a foundation for extension projects like
the 2nd one.
Can anyone help?