2 Replies Latest reply on Mar 15, 2006 9:16 PM by Kyun Hur

    How to access default library from servlet?

    Kyun Hur Newbie

      Hi.
      I seem to silly question. but, i have to ask....

      i would like to access som.class in defalut/lib/xxx.jar from servlet.
      as you know, it will occur erro like a "class is not found"......

      but, i load my class while located in default/lib as a mbean.
      and i want to access this class. but, i can`t do that.

      actually, i load my class with spring use mbean. and mvc servlet should find any classes in my loaded spring.

      do u understand?

      can u help me out of problem?

        • 1. Re: How to access default library from servlet?
          Kyun Hur Newbie

           

          "khan76s" wrote:
          Hi.
          it seem to silly question. but, i have to ask....

          i would like to access som.class in defalut/lib/xxx.jar from servlet.
          as you know, it will occur erro like a "class is not found"......

          but, i load my class while located in default/lib as a mbean.
          and i want to access this class. but, i can`t do that.

          actually, i load my class with spring use mbean. and mvc servlet should find any classes in my loaded spring.

          do u understand?

          can u help me out of problem?



          • 2. Re: How to access default library from servlet?
            Kyun Hur Newbie

            [i`m so sorry there have many spelling problems]
            Hi.
            it seem to silly question. but, i have to ask....

            i would like to access some.class in defalut/lib/xxx.jar from servlet.
            as you know, it will occur erro like a "class is not found"......

            but, i load my class which located in default/lib as a mbean.
            and i want to access this class. but, i can`t do that.
            yes, i know i have to put the jar in webinf/lib/

            actually, i load my class with spring use mbean. and mvc servlet should find any classes in my loaded spring.

            do u understand?

            can u help me out of problem?