急急急!servlet配置问题求教高手

test是工程名,testServlet.class是放在tomcat\webapps\test\WEB-INF\classes\aaa包下的,index.jsp是放在tomcat\webapps\test\bbb包下的。
servlet的web.xml配置是:

testServlet
aaa.testServlet


testServlet
/url

index.jsp页面的form提交是:


为什么在index.jsp的form表单提交的时候会报java.lang.NoClassDefFoundError: aaa/testServlet (wrong name: testServlet)这个错呢,求教各位高手!要怎么解决这个问题?

form提交的action写成${pageContext.request.contextPath}/testServlet

编译文件有么,提示没有找到编译文件了

把你web.xml文件贴出来看看