le path d'un applet

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

    le path d'un applet

    Bonjour,

    j'aimerais savoir si l'un d'entre vous pourrais me dire comment je
    peut faire pour avoir le path (l'adresse logique sur internet) du
    fichier .class d'un applet java pendant son exécution.

    merci
  • Peter Bradley

    #2
    Re: le path d'un applet

    Bonjour - et votre pardon. Je ne parle pas bien le francais. Mais, c'est
    le "codebase" que vous le voulez, non?

    Peter

    "Francis" <fortier.franci s@globetrotter. net> wrote in message
    news:c2bc9cef.0 312310046.235c5 [email protected] gle.com...[color=blue]
    > Bonjour,
    >
    > j'aimerais savoir si l'un d'entre vous pourrais me dire comment je
    > peut faire pour avoir le path (l'adresse logique sur internet) du
    > fichier .class d'un applet java pendant son exécution.
    >
    > merci[/color]


    Comment

    • Geoffrey

      #3
      Re: le path d'un applet

      Take a look at the J2SE API for Applet.
      It has a method getCodeBase(). That's the one you want.
      Most of the time it's the same as getDocumentBase (), however in the APPLET
      tag you can set the CODEBASE to a relative directory to the html file
      containing the applet.

      --
      Thank you for any and all help,
      Geoffrey
      "Peter Bradley" <[email protected] ex.com> schreef in bericht
      news:3ff2a94b$0 $25666$cc9e4d1f @news.dial.pipe x.com...[color=blue]
      > Bonjour - et votre pardon. Je ne parle pas bien le francais. Mais, c'est
      > le "codebase" que vous le voulez, non?
      >
      > Peter
      >
      > "Francis" <fortier.franci s@globetrotter. net> wrote in message
      > news:c2bc9cef.0 312310046.235c5 [email protected] gle.com...[color=green]
      > > Bonjour,
      > >
      > > j'aimerais savoir si l'un d'entre vous pourrais me dire comment je
      > > peut faire pour avoir le path (l'adresse logique sur internet) du
      > > fichier .class d'un applet java pendant son exécution.
      > >
      > > merci[/color]
      >
      >[/color]


      Comment

      • curious

        #4
        Re: le path d'un applet

        fortier.francis @globetrotter.n et (Francis) wrote in message news:<c2bc9cef. 0312310046.235c [email protected] ogle.com>...[color=blue]
        > Bonjour,
        >
        > j'aimerais savoir si l'un d'entre vous pourrais me dire comment je
        > peut faire pour avoir le path (l'adresse logique sur internet) du
        > fichier .class d'un applet java pendant son exécution.
        >
        > merci[/color]

        If you ask in English, you might get more response. You can tranlsate
        your language to English at


        Comment

        Working...