Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 494
  • Last Modified:

how to extend classes using eclipse ide

how do i extend a class like DynaActionForm in my class using eclipse ide
0
srafi78
Asked:
srafi78
1 Solution
 
objectsCommented:
When you create your new class specify DynaActionForm as the Superclass.

Or if you have already created the class then just specify it in the class

public class MyClass extends DynaActionForm
{
....
0
 
CEHJCommented:
You can save yourself a lot of time by right-clicking the class in the package explorer and choosing:

Source|Override/Implement Methods...
0
 
runa_paathakCommented:
If you are creating your new class by choosing New-Class from file menu or package explorer, you can choose to extend DynaActionForm in that wizard. Of course, for any of this to work, your struts.jar must be in the project's classpath. Check if you have struts jar file in your project's build path by right-clicking on the project name and choosing Properties. Then choose Libraries tab and see if the jar file is there. If it isn't choose Add External Jars and add the path to your to struts jar file.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now