3 Replies Latest reply on Nov 26, 2002 8:28 AM by Alexey Makhmutov

    Inner classes and JSP

    Alexey Makhmutov Newbie

      I have such class:

      public class UniChildSheet extends UniTableSheet
      {
      protected class SingleTableCtrl extends TableCtrl
      {
      public void init() throws Exception
      {
      ...
      }
      }
      }

      And such code in jsp:

      public class FormsSheet extends UniChildSheet
      {
      ...
      class FormTableCtrl extends SingleTableCtrl
      {
      public void init() throws Exception
      {
      super.init();
      ...
      }
      }
      }

      This section work fine under Weblogic 6, but when trying to get jsp from JBoss 3.0.2, i receive error:

      Jetty__8080___\forms$jsp.java:310:
      The type UniChildSheet.SingleTableCtrl to which the member
      init belongs is not accessible from inner class
      org.apache.jsp.forms$jsp. FormsSheet.FormTableCtrl.super.init();

      Why?