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

    How to access default library from servlet?

      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?

           

          "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?

            [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?