473,468 Members | 1,349 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

path of class in Applet

168 New Member
i want to ask
should i put the class file for this Applet in the same folder of the HTML or JSP page
or it is possible to put it in any place and write the path
when i did that the Applet could not see this class file
how to change the path of the class example i have an HTML page inside i have
<APPLET CODE='MyClass.class' WIDTH='400' HEIGHT='400'>
instead i need to write in Code = path of myClass on my machine

Advance Thanks,
Rengaraj
Jul 7 '07 #1
2 1444
r035198x
13,262 MVP
i want to ask
should i put the class file for this Applet in the same folder of the HTML or JSP page
or it is possible to put it in any place and write the path
when i did that the Applet could not see this class file
how to change the path of the class example i have an HTML page inside i have
<APPLET CODE='MyClass.class' WIDTH='400' HEIGHT='400'>
instead i need to write in Code = path of myClass on my machine

Advance Thanks,
Rengaraj
Have a read at this.
Jul 8 '07 #2
praveen2gupta
201 New Member
i want to ask
should i put the class file for this Applet in the same folder of the HTML or JSP page
or it is possible to put it in any place and write the path
when i did that the Applet could not see this class file
how to change the path of the class example i have an HTML page inside i have
<APPLET CODE='MyClass.class' WIDTH='400' HEIGHT='400'>
instead i need to write in Code = path of myClass on my machine

Advance Thanks,
Rengaraj
HTML and JSP is processed differently. You can not place path of the applet class in the html page.

In JSP you need a web server and this supports simple applet tag.here you can not use path for the applets.
Jul 9 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Francis | last post by:
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...
1
by: Todd | last post by:
Is it possible to retrieve and pass the entire path to a file. ie. you search for a file on your hard drive using a form (<input type="file">) you then submit the form which passes the file path...
2
by: Thomas Magma | last post by:
Hello, I have a case where an applet .class file may or may not be present. In the case when it is not present I get a big gray box where the applet is suppose to be. This is understandable, but...
20
by: CHIN | last post by:
Hi all.. here s my problem ( maybe some of you saw me on other groups, but i cant find the solution !! ) I have to upload a file to an external site, so, i made a .vbs file , that logins to...
6
by: Demetri | last post by:
I have a class that I need to serialize. For example if I had a Person class with the properties of FirstName and LastName. Currently when I serialize the class it looks like this: <?xml...
3
tpgames
by: tpgames | last post by:
When I renamed the class file to Audiodriver.class and changed the link to Audiodriver.class, the game wouldn't load. I got this error java.lang.NoClassDefFoundError: Audiodriver (wrong name:...
3
by: SimonSiz007 | last post by:
warp.class comes with 'Applet Effects Factory' and I want to use it to warp an image on mouse-over. The problem is, it loops endlessly. What's a clean way to have it run only while the mouse is...
4
by: JNeko | last post by:
hello all, I have tried my hand at this for a couple hours but no luck. I am using JCreator. I used these two links for reference: http://www.tech-recipes.com/java_programming_tips1265.html...
4
by: xtremebass | last post by:
Hi Bytes, i did sample Applet program in linux environment in that place where my java is installed. when i execute the code it creates the .class file and browser shows the result when i load...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.