package org.apache.struts.validator does not exist

Hi,

I am new to struts. Currently i am working on Struts validator framework.

I have a class called "SubmitForm.java " that extends ValidatorForm .I have included the statement "import org.apache.struts.validator.ValidatorForm" as well in my code.

I get the following error when i compile my code -

SubmitForm.java:3: package org.apache.struts.validator does not exist

import org.apache.struts.validator.ValidatorForm;

^

SubmitForm.java:12: cannot resolve symbol

symbol : class ValidatorForm

location: class model.SubmitForm

public class SubmitForm extends ValidatorForm

Do i have to include something in the CLASSPATH? why am i getting this error?I use struts 1.0.2

Any help would be appriciated.

[777 byte] By [Ekbote_Aa] at [2007-10-2 17:00:40]
# 1
did you put your struts jar files on the web-inf/lib directory?
jgalacambraa at 2007-7-13 18:14:13 > top of Java-index,Java Essentials,New To Java...