Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php][java] aplet java w php
Tinfed
post
Post #1





Grupa: Zarejestrowani
Postów: 1
Pomógł: 0
Dołączył: 15.09.2007

Ostrzeżenie: (0%)
-----


Witam
Mam problem z wstawieniem apletu javy do kodu PHP. Nie wyświetla zawartości apletu LINK. W konsoli wyświetla że niema pliku AnWater.class który jest na swoim miejscu:
Cytat
load: class AnWater.class not found.
java.lang.ClassNotFoundException: AnWater.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)

W html'u wszystko działa. Niewiem co z tym zrobić, niewiem czy wogóle można wstawiać aplet w php. Od dłoższego czasu szukam odpowiedzi. Proszę o pomoc.

Tinfed
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
piotrekkr
post
Post #2





Grupa: Zarejestrowani
Postów: 386
Pomógł: 25
Dołączył: 28.09.2005

Ostrzeżenie: (0%)
-----


Hmm z tego co wiem a troche juz w tym siedze to java a PHP to dwie rozne sprawy nie da sie wklejac kodu javy do php.
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 5.10.2025 - 14:58