As long as your Java classes are in a Java src folder with their output directory set to web-inf/classes you should be fine. To be more specific:
src:
com/abc/def/ghi/
com/abc/zyx/ghi/
com/abc/pqr/ghi/
com/abc/web/servlet/
Outside of the Java source folder you need a web root to contain all your web content, which are all non-java files. Your ‘web’ directory is exactly that, but I’d bring it out to the top level of the project, although you don’t have to.
if you see what I mean, what I am trying to say is that the java class files are not under com/abc/web/web-inf/classes/ which is what the web project seems to want
Yes, the compiled files need to be in the WEB-INF/classes directory because that’s where they need to be for deployment to function. Again, this is easily done by configuring the output path of your Java source directory.
But, as you stated, your project won’t work exactly as it is now. Unfortunately, in order to automate deployment we’ve had to standardize the project layout to some extent, and we modeled that after the war specification.
–Scott
MyEclipse Support