ASP and applets

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

    ASP and applets

    Hello!

    I'm trying to make a site where I have a framset. In one of the frames I
    want a java-applet to be running. And I wan't to send information to that
    applet from one of the other pages. I think I know how to send the
    information. My problem is that when I run the page from localhost the
    applet won't be initiated.

    How can I do this so the applet will be running?

    I have to use ASP since the page will get it's information from a database.

    Can someone please help me!
    Thank you!



  • Evertjan.

    #2
    Re: ASP and applets

    Hege wrote on 21 aug 2004 in microsoft.publi c.inetserver.as p.general:
    [color=blue]
    > I'm trying to make a site where I have a framset. In one of the
    > frames I want a java-applet to be running. And I wan't to send
    > information to that applet from one of the other pages. I think I
    > know how to send the information. My problem is that when I run the
    > page from localhost the applet won't be initiated.
    >
    > How can I do this so the applet will be running?
    >
    > I have to use ASP since the page will get it's information from a
    > database.
    >[/color]

    The applet is strictly clientside coded, IMHO,
    and has nothing to do with servrside ASP.
    However getting serverside data to the applet is possible by:

    value='<% = anASPvariableOR value %>'

    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)

    Comment

    • Hege

      #3
      Re: ASP and applets

      Thank you for answering!

      Why won't my applet call work then when I start the site from localhost and
      not only directly as a html-page. This is the code in the html-page that is
      calling the applet

      <HTML>

      <HEAD>

      </HEAD>

      <BODY BGCOLOR="#FFFFf f">

      <BR>

      <BR>

      <applet code=Shopper.cl ass name=Shopper id=Shopper width=166 height=380
      alt='You do not have a Java-capable Browser, or Java is not enabled'> <param
      name=Items value=items.txt >

      <param name=Colours value=colours.t xt>

      <param name=Browser value='Microsof t'>

      <param name=CGIURL value='http://streamers.qbici nternet.co.uk/doit.pl'>

      </applet>

      </BODY>

      </HTML>

      and the page is part of a frameset. All the classes needed are at the right
      place. And it works when I don't start from localhost.

      Any ideas?

      Hege

      "Hege" <hege.moberget@ online.no> skrev i melding
      news:LyIVc.2320 $WW4.28734@news 4.e.nsc.no...
      [color=blue]
      > Hello!
      >
      > I'm trying to make a site where I have a framset. In one of the frames I
      > want a java-applet to be running. And I wan't to send information to that
      > applet from one of the other pages. I think I know how to send the
      > information. My problem is that when I run the page from localhost the
      > applet won't be initiated.
      >
      > How can I do this so the applet will be running?
      >
      > I have to use ASP since the page will get it's information from a[/color]
      database.[color=blue]
      >
      > Can someone please help me!
      > Thank you!
      >
      >
      >[/color]


      Comment

      • joker

        #4
        Re: ASP and applets

        It sounds like a Internet zone security setting then at that point.

        Hege wrote:
        [color=blue]
        > Thank you for answering!
        >
        > Why won't my applet call work then when I start the site from localhost and
        > not only directly as a html-page. This is the code in the html-page that is
        > calling the applet
        >
        > <HTML>
        >
        > <HEAD>
        >
        > </HEAD>
        >
        > <BODY BGCOLOR="#FFFFf f">
        >
        > <BR>
        >
        > <BR>
        >
        > <applet code=Shopper.cl ass name=Shopper id=Shopper width=166 height=380
        > alt='You do not have a Java-capable Browser, or Java is not enabled'> <param
        > name=Items value=items.txt >
        >
        > <param name=Colours value=colours.t xt>
        >
        > <param name=Browser value='Microsof t'>
        >
        > <param name=CGIURL value='http://streamers.qbici nternet.co.uk/doit.pl'>
        >
        > </applet>
        >
        > </BODY>
        >
        > </HTML>
        >
        > and the page is part of a frameset. All the classes needed are at the right
        > place. And it works when I don't start from localhost.
        >
        > Any ideas?
        >
        > Hege
        >
        > "Hege" <hege.moberget@ online.no> skrev i melding
        > news:LyIVc.2320 $WW4.28734@news 4.e.nsc.no...
        >
        >[color=green]
        >>Hello!
        >>
        >>I'm trying to make a site where I have a framset. In one of the frames I
        >>want a java-applet to be running. And I wan't to send information to that
        >>applet from one of the other pages. I think I know how to send the
        >>information . My problem is that when I run the page from localhost the
        >>applet won't be initiated.
        >>
        >>How can I do this so the applet will be running?
        >>
        >>I have to use ASP since the page will get it's information from a[/color]
        >
        > database.
        >[color=green]
        >>Can someone please help me!
        >>Thank you!
        >>
        >>
        >>[/color]
        >
        >
        >[/color]

        Comment

        Working...