Hi

I'm slowly picking my way through this with the help of 'Programming Jakarta Struts' from O'Reilly but I've come up against what must be a simple problem - I just can't find the answer anywhere.

When I try to compile the following class either with Ant or javac I get:

package org.apache.struts.Action does not exist
import org.apache.struts.Action.*;

I am working in NetBeans on Win2K and it flags up the import org.apache.struts.Action.*; line in red. I also took the application and tried and build it using Ant on my Solaris box with the same result.

I do have struts.jar in my classpath in Ant and it is in the application, I can build the rest of my application (a simple application using tiles to create a few pages). Below is the class, it may not be correct as I can't get past this bit I'm not really sure what to try!

Thanks for any help you may be able to offer,

Rachel

------------------------

package eoms.com;


import javax.servlet.http.*;
import org.apache.struts.Action.*;

public class tilesAction extends Action {
public ActionForward perform(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response
) {
return mapping.findForward("success");
}

}


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to