.ChartRequest is an abstract class. It can't be instantiated.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gianni

    .ChartRequest is an abstract class. It can't be instantiated.

    When I compile my class I get this strange message.
    The message is strange as that class is not abstract !!!!
    Please help!
    Gianni
  • Ryan Stewart

    #2
    Re: .ChartRequest is an abstract class. It can't be instantiated.

    "Gianni" <pincopallo_it@ yahoo.it> wrote in message
    news:3c03ef0c.0 401260451.16ad9 3f3@posting.goo gle.com...[color=blue]
    > When I compile my class I get this strange message.
    > The message is strange as that class is not abstract !!!!
    > Please help!
    > Gianni[/color]

    Prove it. Post code.


    Comment

    • Ryan Stewart

      #3
      Re: .ChartRequest is an abstract class. It can't be instantiated.

      "Gianni" <pincopallo_it@ yahoo.it> wrote in message
      news:3c03ef0c.0 401260451.16ad9 3f3@posting.goo gle.com...[color=blue]
      > When I compile my class I get this strange message.
      > The message is strange as that class is not abstract !!!!
      > Please help!
      > Gianni[/color]

      Prove it. Post code.


      Comment

      • Gianni

        #4
        Re: .ChartRequest is an abstract class. It can't be instantiated.

        "Ryan Stewart" <zzanNOtozz@gSP AMo.com> wrote in message news:<0tadnfvMy Y0RzYjdU-KYlg@texas.net> ...[color=blue]
        > "Gianni" <pincopallo_it@ yahoo.it> wrote in message
        > news:3c03ef0c.0 401260451.16ad9 3f3@posting.goo gle.com...[color=green]
        > > When I compile my class I get this strange message.
        > > The message is strange as that class is not abstract !!!!
        > > Please help!
        > > Gianni[/color]
        >
        > Prove it. Post code.[/color]

        // Decompiled by Jad v1.5.7. Copyright 1997-99 Pavel Kouznetsov.
        // Jad home page: http://www.geocities.com/SiliconVall.../8617/jad.html
        // Decompiler options: packimports(3) fullnames fieldsfirst
        // Source File Name: ChartServlet.ja va

        import java.io.*;
        import java.util.*;
        import java.text.*;
        import java.awt.*;
        import java.awt.image. *;
        import javax.servlet.* ;
        import javax.servlet.h ttp.*;

        import it.finsiel.tea. nhcnwi.datimete o.ejb.*;
        import it.finsiel.tea. nhcnwi.datimete o.util.*;
        import it.finsiel.tea. nhxnwi.util.*;

        import javachart.utili ty.ChartRequest ;
        import javachart.contr ib.*;
        import javachart.servl et.*;

        // Referenced classes of package javachart.servl et:
        // Bean, CacheManager, barApp

        public class ChartServlet extends HttpServlet
        {
        protected RicercaDatimete oValue rdm = new RicercaDatimete oValue();
        protected HttpSession session;
        protected String writeDirectory = "";
        protected String imageWidth = "";
        private SimpleDateForma t sdf = new SimpleDateForma t("yyyyMMddHH") ;

        // Initializes this servlet
        public void init(ServletCon fig config) throws ServletExceptio n {

        super.init(conf ig);

        writeDirectory = config.getInitP arameter("kawac hartWriteDirect ory");
        imageWidth = config.getInitP arameter("image Width");
        ............... ............... ............... ............... ............... ............and
        so on

        Comment

        • Gianni

          #5
          Re: .ChartRequest is an abstract class. It can't be instantiated.

          "Ryan Stewart" <zzanNOtozz@gSP AMo.com> wrote in message news:<0tadnfvMy Y0RzYjdU-KYlg@texas.net> ...[color=blue]
          > "Gianni" <pincopallo_it@ yahoo.it> wrote in message
          > news:3c03ef0c.0 401260451.16ad9 3f3@posting.goo gle.com...[color=green]
          > > When I compile my class I get this strange message.
          > > The message is strange as that class is not abstract !!!!
          > > Please help!
          > > Gianni[/color]
          >
          > Prove it. Post code.[/color]


          Is is possible it give me that error as I don't define all the methods
          of the interface HttpServletRequ est ??
          thanks

          Comment

          • Gianni

            #6
            Re: .ChartRequest is an abstract class. It can't be instantiated.

            "Ryan Stewart" <zzanNOtozz@gSP AMo.com> wrote in message news:<0tadnfvMy Y0RzYjdU-KYlg@texas.net> ...[color=blue]
            > "Gianni" <pincopallo_it@ yahoo.it> wrote in message
            > news:3c03ef0c.0 401260451.16ad9 3f3@posting.goo gle.com...[color=green]
            > > When I compile my class I get this strange message.
            > > The message is strange as that class is not abstract !!!!
            > > Please help!
            > > Gianni[/color]
            >
            > Prove it. Post code.[/color]

            Im sorry that is the class which the compiler consider abstract ...
            but can't read abstract nowhere .... Thanks for the help


            // Decompiled by DJ v3.5.5.77 Copyright 2003 Atanas Neshkov Date:
            11/11/2003 16.52.59
            // Home Page : http://members.fortunecity.com/neshkov/dj.html - Check
            often for new version!
            // Decompiler options: packimports(3)
            // Source File Name: ChartRequest.ja va

            package javachart.utili ty;

            import java.io.Buffere dReader;
            import java.io.IOExcep tion;
            import java.util.Enume ration;
            import java.util.Hasht able;
            import javax.servlet.S ervletInputStre am;
            import javax.servlet.S ervletRequest;
            import javax.servlet.h ttp.*;

            public class ChartRequest
            implements HttpServletRequ est
            {

            public ChartRequest(Ht tpServletReques t httpservletrequ est)
            {
            table = new Hashtable();
            r = httpservletrequ est;
            }

            public void clearTable()
            {
            table = new Hashtable();
            }

            public Object getAttribute(St ring s)
            {
            return r.getAttribute( s);
            }

            public String getAuthType()
            {
            return r.getAuthType() ;
            }

            public String getCharacterEnc oding()
            {
            return r.getCharacterE ncoding();
            }

            public int getContentLengt h()
            {
            return r.getContentLen gth();
            }

            public String getContentType( )
            {
            return r.getContentTyp e();
            }

            public Cookie[] getCookies()
            {
            return r.getCookies();
            }

            public long getDateHeader(S tring s)
            {
            return r.getDateHeader (s);
            }

            public String getHeader(Strin g s)
            {
            return r.getHeader(s);
            }

            public Enumeration getHeaderNames( )
            {
            return r.getHeaderName s();
            }

            public ServletInputStr eam getInputStream( )
            throws IOException
            {
            return r.getInputStrea m();
            }

            public int getIntHeader(St ring s)
            {
            return r.getIntHeader( s);
            }

            public String getMethod()
            {
            return r.getMethod();
            }

            public String getParameter(St ring s)
            {
            return (String)table.g et(s);
            }

            public Enumeration getParameterNam es()
            {
            return table.elements( );
            }

            public String[] getParameterVal ues(String s)
            {
            return r.getParameterV alues(s);
            }

            public String getPathInfo()
            {
            return r.getPathInfo() ;
            }

            public String getPathTranslat ed()
            {
            return r.getPathTransl ated();
            }

            public String getProtocol()
            {
            return r.getProtocol() ;
            }

            public String getQueryString( )
            {
            return r.getQueryStrin g();
            }

            public BufferedReader getReader()
            throws IOException
            {
            return r.getReader();
            }

            public String getRealPath(Str ing s)
            {
            return r.getRealPath(s );
            }

            public String getRemoteAddr()
            {
            return r.getRemoteAddr ();
            }

            public String getRemoteHost()
            {
            return r.getRemoteHost ();
            }

            public String getRemoteUser()
            {
            return r.getRemoteUser ();
            }

            public String getRequestedSes sionId()
            {
            return r.getRequestedS essionId();
            }

            public String getRequestURI()
            {
            return r.getRequestURI ();
            }

            public String getScheme()
            {
            return r.getScheme();
            }

            public String getServerName()
            {
            return r.getServerName ();
            }

            public int getServerPort()
            {
            return r.getServerPort ();
            }

            public String getServletPath( )
            {
            return r.getServletPat h();
            }

            public HttpSession getSession(bool ean flag)
            {
            return r.getSession(fl ag);
            }

            public boolean isRequestedSess ionIdFromCookie ()
            {
            return r.isRequestedSe ssionIdFromCook ie();
            }

            public boolean isRequestedSess ionIdFromUrl()
            {
            return r.isRequestedSe ssionIdFromUrl( );
            }

            public boolean isRequestedSess ionIdValid()
            {
            return r.isRequestedSe ssionIdValid();
            }

            public void setParameter(St ring s, String s1)
            {
            table.put(s, s1);
            }

            HttpServletRequ est r;
            Hashtable table;
            }

            Comment

            • Ryan Stewart

              #7
              Re: .ChartRequest is an abstract class. It can't be instantiated.

              "Gianni" <pincopallo_it@ yahoo.it> wrote in message
              news:3c03ef0c.0 401270057.58dfb e59@posting.goo gle.com...[color=blue]
              > "Ryan Stewart" <zzanNOtozz@gSP AMo.com> wrote in message[/color]
              news:<0tadnfvMy Y0RzYjdU-KYlg@texas.net> ...[color=blue][color=green]
              > > "Gianni" <pincopallo_it@ yahoo.it> wrote in message
              > > news:3c03ef0c.0 401260451.16ad9 3f3@posting.goo gle.com...[color=darkred]
              > > > When I compile my class I get this strange message.
              > > > The message is strange as that class is not abstract !!!!
              > > > Please help!
              > > > Gianni[/color]
              > >
              > > Prove it. Post code.[/color]
              >
              > Im sorry that is the class which the compiler consider abstract ...
              > but can't read abstract nowhere .... Thanks for the help
              >
              >
              > // Decompiled by DJ v3.5.5.77 Copyright 2003 Atanas Neshkov Date:
              > 11/11/2003 16.52.59
              > // Home Page : http://members.fortunecity.com/neshkov/dj.html - Check
              > often for new version!
              > // Decompiler options: packimports(3)
              > // Source File Name: ChartRequest.ja va
              >
              > package javachart.utili ty;
              >
              > import java.io.Buffere dReader;
              > import java.io.IOExcep tion;
              > import java.util.Enume ration;
              > import java.util.Hasht able;
              > import javax.servlet.S ervletInputStre am;
              > import javax.servlet.S ervletRequest;
              > import javax.servlet.h ttp.*;
              >
              > public class ChartRequest
              > implements HttpServletRequ est
              > {
              >
              > public ChartRequest(Ht tpServletReques t httpservletrequ est)
              > {
              > table = new Hashtable();
              > r = httpservletrequ est;
              > }
              >
              > public void clearTable()
              > {
              > table = new Hashtable();
              > }
              >
              > public Object getAttribute(St ring s)
              > {
              > return r.getAttribute( s);
              > }
              >
              > public String getAuthType()
              > {
              > return r.getAuthType() ;
              > }
              >
              > public String getCharacterEnc oding()
              > {
              > return r.getCharacterE ncoding();
              > }
              >
              > public int getContentLengt h()
              > {
              > return r.getContentLen gth();
              > }
              >
              > public String getContentType( )
              > {
              > return r.getContentTyp e();
              > }
              >
              > public Cookie[] getCookies()
              > {
              > return r.getCookies();
              > }
              >
              > public long getDateHeader(S tring s)
              > {
              > return r.getDateHeader (s);
              > }
              >
              > public String getHeader(Strin g s)
              > {
              > return r.getHeader(s);
              > }
              >
              > public Enumeration getHeaderNames( )
              > {
              > return r.getHeaderName s();
              > }
              >
              > public ServletInputStr eam getInputStream( )
              > throws IOException
              > {
              > return r.getInputStrea m();
              > }
              >
              > public int getIntHeader(St ring s)
              > {
              > return r.getIntHeader( s);
              > }
              >
              > public String getMethod()
              > {
              > return r.getMethod();
              > }
              >
              > public String getParameter(St ring s)
              > {
              > return (String)table.g et(s);
              > }
              >
              > public Enumeration getParameterNam es()
              > {
              > return table.elements( );
              > }
              >
              > public String[] getParameterVal ues(String s)
              > {
              > return r.getParameterV alues(s);
              > }
              >
              > public String getPathInfo()
              > {
              > return r.getPathInfo() ;
              > }
              >
              > public String getPathTranslat ed()
              > {
              > return r.getPathTransl ated();
              > }
              >
              > public String getProtocol()
              > {
              > return r.getProtocol() ;
              > }
              >
              > public String getQueryString( )
              > {
              > return r.getQueryStrin g();
              > }
              >
              > public BufferedReader getReader()
              > throws IOException
              > {
              > return r.getReader();
              > }
              >
              > public String getRealPath(Str ing s)
              > {
              > return r.getRealPath(s );
              > }
              >
              > public String getRemoteAddr()
              > {
              > return r.getRemoteAddr ();
              > }
              >
              > public String getRemoteHost()
              > {
              > return r.getRemoteHost ();
              > }
              >
              > public String getRemoteUser()
              > {
              > return r.getRemoteUser ();
              > }
              >
              > public String getRequestedSes sionId()
              > {
              > return r.getRequestedS essionId();
              > }
              >
              > public String getRequestURI()
              > {
              > return r.getRequestURI ();
              > }
              >
              > public String getScheme()
              > {
              > return r.getScheme();
              > }
              >
              > public String getServerName()
              > {
              > return r.getServerName ();
              > }
              >
              > public int getServerPort()
              > {
              > return r.getServerPort ();
              > }
              >
              > public String getServletPath( )
              > {
              > return r.getServletPat h();
              > }
              >
              > public HttpSession getSession(bool ean flag)
              > {
              > return r.getSession(fl ag);
              > }
              >
              > public boolean isRequestedSess ionIdFromCookie ()
              > {
              > return r.isRequestedSe ssionIdFromCook ie();
              > }
              >
              > public boolean isRequestedSess ionIdFromUrl()
              > {
              > return r.isRequestedSe ssionIdFromUrl( );
              > }
              >
              > public boolean isRequestedSess ionIdValid()
              > {
              > return r.isRequestedSe ssionIdValid();
              > }
              >
              > public void setParameter(St ring s, String s1)
              > {
              > table.put(s, s1);
              > }
              >
              > HttpServletRequ est r;
              > Hashtable table;
              > }[/color]

              By my count, this class is missing 16 methods specified in
              HttpServletRequ est or ServletRequest. That will most definitely keep you
              from instantiating it.


              Comment

              • Gianni

                #8
                Re: .ChartRequest is an abstract class. It can't be instantiated.

                "Ryan Stewart" <zzanNOtozz@gSP AMo.com> wrote in message news:<W8udnfGn3 dXQwIvdU-KYkQ@texas.net> ...[color=blue]
                > "Gianni" <pincopallo_it@ yahoo.it> wrote in message
                > news:3c03ef0c.0 401270057.58dfb e59@posting.goo gle.com...[color=green]
                > > "Ryan Stewart" <zzanNOtozz@gSP AMo.com> wrote in message[/color]
                > news:<0tadnfvMy Y0RzYjdU-KYlg@texas.net> ...[color=green][color=darkred]
                > > > "Gianni" <pincopallo_it@ yahoo.it> wrote in message
                > > > news:3c03ef0c.0 401260451.16ad9 3f3@posting.goo gle.com...
                > > > > When I compile my class I get this strange message.
                > > > > The message is strange as that class is not abstract !!!!
                > > > > Please help!
                > > > > Gianni
                > > >
                > > > Prove it. Post code.[/color]
                > >
                > > Im sorry that is the class which the compiler consider abstract ...
                > > but can't read abstract nowhere .... Thanks for the help
                > >
                > >
                > > // Decompiled by DJ v3.5.5.77 Copyright 2003 Atanas Neshkov Date:
                > > 11/11/2003 16.52.59
                > > // Home Page : http://members.fortunecity.com/neshkov/dj.html - Check
                > > often for new version!
                > > // Decompiler options: packimports(3)
                > > // Source File Name: ChartRequest.ja va
                > >
                > > package javachart.utili ty;
                > >
                > > import java.io.Buffere dReader;
                > > import java.io.IOExcep tion;
                > > import java.util.Enume ration;
                > > import java.util.Hasht able;
                > > import javax.servlet.S ervletInputStre am;
                > > import javax.servlet.S ervletRequest;
                > > import javax.servlet.h ttp.*;
                > >
                > > public class ChartRequest
                > > implements HttpServletRequ est
                > > {
                > >
                > > public ChartRequest(Ht tpServletReques t httpservletrequ est)
                > > {
                > > table = new Hashtable();
                > > r = httpservletrequ est;
                > > }
                > >
                > > public void clearTable()
                > > {
                > > table = new Hashtable();
                > > }
                > >
                > > public Object getAttribute(St ring s)
                > > {
                > > return r.getAttribute( s);
                > > }
                > >
                > > public String getAuthType()
                > > {
                > > return r.getAuthType() ;
                > > }
                > >
                > > public String getCharacterEnc oding()
                > > {
                > > return r.getCharacterE ncoding();
                > > }
                > >
                > > public int getContentLengt h()
                > > {
                > > return r.getContentLen gth();
                > > }
                > >
                > > public String getContentType( )
                > > {
                > > return r.getContentTyp e();
                > > }
                > >
                > > public Cookie[] getCookies()
                > > {
                > > return r.getCookies();
                > > }
                > >
                > > public long getDateHeader(S tring s)
                > > {
                > > return r.getDateHeader (s);
                > > }
                > >
                > > public String getHeader(Strin g s)
                > > {
                > > return r.getHeader(s);
                > > }
                > >
                > > public Enumeration getHeaderNames( )
                > > {
                > > return r.getHeaderName s();
                > > }
                > >
                > > public ServletInputStr eam getInputStream( )
                > > throws IOException
                > > {
                > > return r.getInputStrea m();
                > > }
                > >
                > > public int getIntHeader(St ring s)
                > > {
                > > return r.getIntHeader( s);
                > > }
                > >
                > > public String getMethod()
                > > {
                > > return r.getMethod();
                > > }
                > >
                > > public String getParameter(St ring s)
                > > {
                > > return (String)table.g et(s);
                > > }
                > >
                > > public Enumeration getParameterNam es()
                > > {
                > > return table.elements( );
                > > }
                > >
                > > public String[] getParameterVal ues(String s)
                > > {
                > > return r.getParameterV alues(s);
                > > }
                > >
                > > public String getPathInfo()
                > > {
                > > return r.getPathInfo() ;
                > > }
                > >
                > > public String getPathTranslat ed()
                > > {
                > > return r.getPathTransl ated();
                > > }
                > >
                > > public String getProtocol()
                > > {
                > > return r.getProtocol() ;
                > > }
                > >
                > > public String getQueryString( )
                > > {
                > > return r.getQueryStrin g();
                > > }
                > >
                > > public BufferedReader getReader()
                > > throws IOException
                > > {
                > > return r.getReader();
                > > }
                > >
                > > public String getRealPath(Str ing s)
                > > {
                > > return r.getRealPath(s );
                > > }
                > >
                > > public String getRemoteAddr()
                > > {
                > > return r.getRemoteAddr ();
                > > }
                > >
                > > public String getRemoteHost()
                > > {
                > > return r.getRemoteHost ();
                > > }
                > >
                > > public String getRemoteUser()
                > > {
                > > return r.getRemoteUser ();
                > > }
                > >
                > > public String getRequestedSes sionId()
                > > {
                > > return r.getRequestedS essionId();
                > > }
                > >
                > > public String getRequestURI()
                > > {
                > > return r.getRequestURI ();
                > > }
                > >
                > > public String getScheme()
                > > {
                > > return r.getScheme();
                > > }
                > >
                > > public String getServerName()
                > > {
                > > return r.getServerName ();
                > > }
                > >
                > > public int getServerPort()
                > > {
                > > return r.getServerPort ();
                > > }
                > >
                > > public String getServletPath( )
                > > {
                > > return r.getServletPat h();
                > > }
                > >
                > > public HttpSession getSession(bool ean flag)
                > > {
                > > return r.getSession(fl ag);
                > > }
                > >
                > > public boolean isRequestedSess ionIdFromCookie ()
                > > {
                > > return r.isRequestedSe ssionIdFromCook ie();
                > > }
                > >
                > > public boolean isRequestedSess ionIdFromUrl()
                > > {
                > > return r.isRequestedSe ssionIdFromUrl( );
                > > }
                > >
                > > public boolean isRequestedSess ionIdValid()
                > > {
                > > return r.isRequestedSe ssionIdValid();
                > > }
                > >
                > > public void setParameter(St ring s, String s1)
                > > {
                > > table.put(s, s1);
                > > }
                > >
                > > HttpServletRequ est r;
                > > Hashtable table;
                > > }[/color]
                >
                > By my count, this class is missing 16 methods specified in
                > HttpServletRequ est or ServletRequest. That will most definitely keep you
                > from instantiating it.[/color]


                Forgive my complete ignorance!
                If it s possible to instantiate a:
                public Object getAttribute(St ring s)
                {
                return r.getAttribute( s);
                }
                or a String

                public String getAuthType()
                {
                return r.getAuthType() ;
                }

                How can you implement
                an
                public abstract Principal getUserPrincipa l();

                thanks for your help

                Comment

                • Ryan Stewart

                  #9
                  Re: .ChartRequest is an abstract class. It can't be instantiated.

                  "Gianni" <pincopallo_it@ yahoo.it> wrote in message
                  news:3c03ef0c.0 401280346.2259d f4@posting.goog le.com...[color=blue]
                  > "Ryan Stewart" <zzanNOtozz@gSP AMo.com> wrote in message[/color]
                  news:<W8udnfGn3 dXQwIvdU-KYkQ@texas.net> ...[color=blue][color=green]
                  > > By my count, this class is missing 16 methods specified in
                  > > HttpServletRequ est or ServletRequest. That will most definitely keep you
                  > > from instantiating it.[/color]
                  >
                  >
                  > Forgive my complete ignorance!
                  > If it s possible to instantiate a:
                  > public Object getAttribute(St ring s)
                  > {
                  > return r.getAttribute( s);
                  > }
                  > or a String
                  >
                  > public String getAuthType()
                  > {
                  > return r.getAuthType() ;
                  > }
                  >
                  > How can you implement
                  > an
                  > public abstract Principal getUserPrincipa l();
                  >
                  > thanks for your help[/color]

                  Well, if you have an HttpServletRequ est object stored in your class that
                  you're using for everything else, why not use it for this? What's wrong
                  with:
                  public Principal getUserPrincipa l() {
                  return r.getUserPrinci pal()
                  }

                  Apart from that, why exactly are you writing this huge class when all you're
                  doing is passing method calls through to the request object? Wouldn't
                  something like this suit your needs and be a much nicer design?
                  public class ChartRequest {
                  private HashTable t = new HashTable();
                  private HttpServletRequ est r;

                  public ChartRequest(Ht tpServletReques t httpservletrequ est) {
                  r = httpservletrequ est;
                  }

                  public HttpServletRequ est getRequest() {
                  return r;
                  }

                  // Your table-related methods here
                  }

                  That way, if you want to use the request object, just grab it and use it
                  like you normally would. Then you can concentrate on creating the
                  functionality for your table instead of rewriting a bunch of code that
                  already exists.


                  Comment

                  • Gianni

                    #10
                    Re: .ChartRequest is an abstract class. It can't be instantiated.

                    I implemented all the methods of HttpServletRequ est as that class is
                    an interface but still have this problem . Do I have to implement all
                    the methotd of HttpServletRequ est's superclass ?? Thanks

                    I compile-web:
                    [javac] Compiling 27 source files to C:\siasprod\sia s-web
                    [javac] C:\siasprod\src \sias-web\ChartReques t.java:18: class
                    javachart.util
                    ty.ChartRequest must be declared abstract. It does not define
                    javax.servlet.h tt
                    ..HttpSession getSession() from interface
                    javax.servlet.h ttp.HttpServlet Request.
                    [javac] public class ChartRequest

                    Comment

                    • Ryan Stewart

                      #11
                      Re: .ChartRequest is an abstract class. It can't be instantiated.

                      "Gianni" <pincopallo_it@ yahoo.it> wrote in message
                      news:3c03ef0c.0 401280644.4ac62 140@posting.goo gle.com...[color=blue]
                      > I implemented all the methods of HttpServletRequ est as that class is
                      > an interface but still have this problem . Do I have to implement all
                      > the methotd of HttpServletRequ est's superclass ?? Thanks
                      >
                      > I compile-web:
                      > [javac] Compiling 27 source files to C:\siasprod\sia s-web
                      > [javac] C:\siasprod\src \sias-web\ChartReques t.java:18: class
                      > javachart.util
                      > ty.ChartRequest must be declared abstract. It does not define
                      > javax.servlet.h tt
                      > .HttpSession getSession() from interface
                      > javax.servlet.h ttp.HttpServlet Request.
                      > [javac] public class ChartRequest[/color]

                      First of all, an interface is not a class, nor does it have a superclass. It
                      has a superinterface if anything. And yes you must implement all the methods
                      of the interface and all its superinterfaces . You apparently don't
                      understand the concept of interfaces. Try a good, basic Java book. Also see
                      my other recent post in this thread. You're not really creating your own
                      type of Request, so there's no reason to implement HttpServletRequ est.


                      Comment

                      Working...