Just started using struts: I got following code from Web - but when i tried to compile it i am getting error ----------------------------------------- import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionMapping; public class EmployeeForm extends ActionForm { private String name; private String age; public void setName(String name) { this.name = name; } public void setAge(String age) { this.age = age; } public String getName() { return name; } public String getAge() { return age; } } ------------------------------ D:\jakarta-tomcat-5.0.25\webapps\rr_lesson_1\WEB-INF\src\net\reumann\EmployeeForm.java:3: package org.apache.struts.action does not exist import org.apache.struts.action.ActionForm; ^ D:\jakarta-tomcat-5.0.25\webapps\rr_lesson_1\WEB-INF\src\net\reumann\EmployeeForm.java:4: package org.apache.struts.action does not exist import org.apache.struts.action.ActionMapping; ^ D:\jakarta-tomcat-5.0.25\webapps\rr_lesson_1\WEB-INF\src\net\reumann\EmployeeForm.java:6: cannot resolve symbol symbol : class ActionForm location: class net.reumann.EmployeeForm public class EmployeeForm extends ActionForm { ^ 3 errors Tool completed with exit code 1
--------------------------------------------- I have copied all jar files inside /lib dir also modified web.xml and struts-config.xml. i tried to set path also. What else is required to compile it ? Thanks and regards Manisha --------------------------------- Do you Yahoo!? The all-new My Yahoo! – Get yours free!