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 appreciated

[775 byte] By [Ekbote_Aa] at [2007-10-2 17:00:41]
# 1
Please have struts.jar in the CLASSPATH. It should work
redwina at 2007-7-13 18:14:14 > top of Java-index,Enterprise & Remote Computing,AVK Portability...
# 2
I have struts.jar in my classpath. I also tried compiling as javac -classpath c:/jakarta-struts-1.0.2/lib/struts.jar SubmitForm.javabut i still get the same error.Is there anything more i can do?
Ekbote_Aa at 2007-7-13 18:14:14 > top of Java-index,Enterprise & Remote Computing,AVK Portability...