my problem is resolved i used one jar file for compiling called struts-core-1.3.10.jar and it compiled fine.........
now i have another doubt in the same application..i have written 2 classes one is dependent on another...
first is ....
second is
when i compile both the
servlets HelloWorldActionForm.java compiles well but HelloWorldAction gives complier error as follows
HelloWorldAction.java:4: cannot find symbol
symbol : class HelloWorldActionForm
location: package myServlets
import myServlets.HelloWorldActionForm;
^
HelloWorldAction.java:19: cannot find symbol
symbol : class HelloWorldActionForm
location: class myServlets.HelloWorldAction
HelloWorldActionForm helloWorldForm = (HelloWorldActionForm) form;
^
HelloWorldAction.java:19: cannot find symbol
symbol : class HelloWorldActionForm
location: class myServlets.HelloWorldAction
HelloWorldActionForm helloWorldForm = (HelloWorldActionForm) form;
^
3 errors
though i have written line 1..
what is my mistake....kindly reply..
thanks in advance...