hai,
 
  can u help me out solving this problem. i have dowloaded struts1.3.8. but
while compiling struts enabled java i get error msg. 
 
C:\apache-tomcat-6.0.13\webapps\reg\WEB-INF\classes\app>javac
RegisterForm.java
RegisterForm.java:2: package org.apache.struts.action does not exist
import org.apache.struts.action.*;
^
RegisterForm.java :3: cannot find symbol
symbol: class ActionForm
public class RegisterForm extends ActionForm {
                                  ^
2 errors

C:\apache-tomcat-6.0.13\webapps\reg\WEB-INF\classes\app>javac
ActionForm.java
javac: file not found: ActionForm.java
Usage: javac <options> <source files>
use -help for a list of possible options 

C:\apache-tomcat-6.0.13\webapps\reg\WEB-INF\classes\app>javac
RegisterAction.jav
a
RegisterAction.java:2: package org.apache.struts.action does not exist
import org.apache.struts.action.*;
^
RegisterAction.java :5: cannot find symbol
symbol: class Action
public class RegisterAction extends Action {
                                    ^
RegisterAction.java:6: cannot find symbol
symbol  : class ActionMapping
location: class app.RegisterAction
public ActionForward perform (ActionMapping mapping,
                              ^
RegisterAction.java:7: cannot find symbol
symbol  : class ActionForm
location: class app.RegisterAction 
ActionForm form,
^
RegisterAction.java:6: cannot find symbol
symbol  : class ActionForward
location: class app.RegisterAction
public ActionForward perform (ActionMapping mapping,
       ^
RegisterAction.java :11: cannot find symbol
symbol  : class RegisterForm
location: class app.RegisterAction
RegisterForm rf = (RegisterForm) form;
^
RegisterAction.java:11: cannot find symbol
symbol  : class RegisterForm
location: class app.RegisterAction
RegisterForm rf = (RegisterForm) form;
                   ^
RegisterAction.java:19: cannot find symbol
symbol  : variable UserDirectory
location: class app.RegisterAction
UserDirectory.getInstance().setUser(username,password1);
^
RegisterAction.java:21: cannot find symbol
symbol  : class UserDirectoryException
location: class app.RegisterAction
} catch (UserDirectoryException e) { 
         ^
9 errors

C:\apache-tomcat-6.0.13\webapps\reg\WEB-INF\classes\app>

this is the error msg i get. i will say u what all i did for installation. i
extracted my struts in C: directory. then i renamed struts.jar in
c:\struts\apps to register. then i copied the register to my
C:\tomcat\webapps\register. 

 

then i added it to my class path. my calss path is as follows.

c:\apache-tomcat-6.0.13\webapps\register.jar

i cant find out what mistake i did. can u pls help me to slove this problem.


-- 
View this message in context: 
http://www.nabble.com/Struts-tf3944604.html#a11189411
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to