Solved

how to extend classes using eclipse ide

Posted on 2006-06-14
4
464 Views
Last Modified: 2013-11-23
how do i extend a class like DynaActionForm in my class using eclipse ide
0
Comment
Question by:srafi78
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 92

Expert Comment

by:objects
ID: 16908241
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
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 16909061
You can save yourself a lot of time by right-clicking the class in the package explorer and choosing:

Source|Override/Implement Methods...
0
 
LVL 3

Expert Comment

by:runa_paathak
ID: 16909141
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

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Problem to Alipay 10 67
printf performancy 11 84
Eclipse Help Java EE 5,6,7 Documentation, why not Java EE 8 8 41
Fast way to search item into Java Array (Rhino compatible) 2 37
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This video teaches viewers about errors in exception handling.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question