Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [php][java] aplet java w php
Tinfed
post 15.09.2007, 12:50:07
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
piotrekkr
post 15.09.2007, 19:27:12
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

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

 



RSS Wersja Lo-Fi Aktualny czas: 19.07.2025 - 04:31