Abstract class or not

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • raghulvarma
    New Member
    • Oct 2007
    • 90

    #1

    Abstract class or not

    Is Action,ActionSe rvlet and ActionForm a abstract class? If not which class is it?
  • rsrinivasan
    New Member
    • Mar 2007
    • 221

    #2
    Originally posted by raghulvarma
    Is Action,ActionSe rvlet and ActionForm a abstract class? If not which class is it?
    Only ActionForm class is abstract class. Others are normal class only.

    ActionServlet represents the "controller " in the Model-View-Controller (MVC) design pattern for web applications that is commonly known as "Model 2".

    Comment

    • Ganon11
      Recognized Expert Specialist
      • Oct 2006
      • 3651

      #3
      A great method to finding information on classes found in the Java library is the Java API found online. A quick Google search using the class name (e.g. Action.java) can find you a full page of in depth explanation (such as this website, the first result from the previously given example).

      Comment

      • iamdaviskurian
        New Member
        • Jan 2008
        • 1

        #4
        ActionForm is an Abstract class and ActionServlet is a class that extends HttpServlet. Action is a normal class.

        Comment

        • BigDaddyLH
          Recognized Expert Top Contributor
          • Dec 2007
          • 1216

          #5
          Originally posted by iamdaviskurian
          ActionForm is an Abstract class and ActionServlet is a class that extends HttpServlet. Action is a normal class.
          Ganon11 is right. Serving up answers on a silver platter that could have easily been found by the original poster if they had only bothered to open up an API page isn't really helping the poster. Remind them to use the API instead.

          Comment

          Working...