473,387 Members | 1,669 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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!

Jul 19 '05 #1
3 1521
Hege wrote on 21 aug 2004 in microsoft.public.inetserver.asp.general:
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.


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='<% = anASPvariableORvalue %>'

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 19 '05 #2
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="#FFFFff">

<BR>

<BR>

<applet code=Shopper.class 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.txt>

<param name=Browser value='Microsoft'>

<param name=CGIURL value='http://streamers.qbicinternet.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" <he***********@online.no> skrev i melding
news:Ly******************@news4.e.nsc.no...
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!

Jul 19 '05 #3
It sounds like a Internet zone security setting then at that point.

Hege wrote:
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="#FFFFff">

<BR>

<BR>

<applet code=Shopper.class 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.txt>

<param name=Browser value='Microsoft'>

<param name=CGIURL value='http://streamers.qbicinternet.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" <he***********@online.no> skrev i melding
news:Ly******************@news4.e.nsc.no...

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!



Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Dave D | last post by:
I just read something that spooked me. I'm a newbie working my way through "SAMS Teach Youself Java 2 in 21 Days." I used to code a bit in Symantec's Visual Cafe for Java about 3 years ago, but...
4
by: Jesper Matthiesen | last post by:
Hey sharks If I want an applet that functions in the largest possible number of browsers, which setup should I choose? Is it better to use AWT than Swing? The user is the average, potentially...
4
by: zalekbloom | last post by:
I noticed on my PC with win98/IE 6.028 applets are not working. Applets are working when I use Netscape 7.1. When I open the DOS win and I check for a Java version I am getting: C:\WINDOWS>java...
1
by: d.morel | last post by:
Hello all..this is driving me crazy... I cant run applets in IE6.0 using the embedded Oracle 10g server. here are my peticulars... - Windows XP no service packs (offline machine) - jre 1.4.2_03...
1
by: Justin | last post by:
Hi, We are researching options on which technologies to use for an advanced web application. We are planning on using DHTML as much as possible, but there are a few components that require more...
1
by: Jim Westwood | last post by:
Is it possible to write java applets in the python language. is that what jython does? I would realy like to write an applet but i dont know any java. I do have some python experience. Can you...
1
by: Vincent Montressor | last post by:
I'm playing around with writing my own panel applets, and I'm trying to figure out how to get my panel applets to be restored when I log in. As an experiment, I'm using the simple clock applet...
8
by: Andreas Røsdal | last post by:
Hi, Is there such a thing as python applets for web browsers? (eg. such as java applets?) I think that could be useful. Andreas R.
12
by: Wladimir Borsov | last post by:
On one of my web pages there is an java applets which works fine on my computer. However I noticed on some other computer that the run of java applets are disabled. I got an error message...
4
by: Neil Cherry | last post by:
I've seen references to using <applets ... > and document.applets to access public Java functions from Javascript. Do I still use document.applets with <object ...>? BTW, the FAQS page seems to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.