Hi,

My project structure goes like this. In the webmodule, 'ModDownload' contains the following: index.jsp, downloadServlet.java and downloaditem.java. The index.jsp page is having the form action attribute as '/ModDownload/downloadServlet'. Then the downloadServlet(servletpage) is having the form action attibute as '/ModDownload/downloadItem'. Till here the execution is successful.

Now the downloadItem.java is creating an instance of a class(ItemRequest.java) in the package, com.code.xi.interfaces. In this step am receiving an error : java.lang.ClassNotFoundException: com.code.xi.interfaces.ItemRequest

Why downloadItem.java is not able to recognise the ItemRequest class in the package com.code.xi.interfaces?

Am using eclipse and tomcat.

Looking forward for your help.

Thanks.

Best Regards,
Lakshmi