crv82 0 Report post Posted October 26, 2004 akum...nk bertanyer skit bkenaan ngan pasal jsp ngan java...camner nk implement applet dlm jsp?dah cuber tp applet tu tanak load.dia kuar error...java.lang.noclassfound <applet code="ApletSaya.class" width=300 height=300> </applet> Quote Share this post Link to post Share on other sites
acik 0 Report post Posted October 27, 2004 Bukan masalah kat applet tag tu, rasanya pd program java ko, cuba bagi source code java ko. Satu lagi kemungkinan, applet tu tu sepatutnya ada kat folder yg sama ngan ko punye jsp file pasal pathnya sepatutnya refer dlm folder yg sama. Any way make sure the class file is in the same folder as the .jsp file. Do comeback. Quote Share this post Link to post Share on other sites
keyword 0 Report post Posted October 30, 2004 sy pun ade masalah dgn nk load applet dkt web browser.sy ade amik coding internet yg sy nk gunakan dlm sy punye fyp.tp masalahnyer coding tue generate byk fail kelas.cm ner sy nk declarekan class tue dlm html? Quote Share this post Link to post Share on other sites
acik 0 Report post Posted October 31, 2004 Aku tak sure apa ko nak buat ni, tapi my suggestion is cuba bg kat aku source code project ko tu; [email protected]Anyway aku rasa ko kena identify the main class utk source code tu, let say the main class is "ProjectAku". Bila ko nak panggil dlm html file use this applet tag;<applet code="ProjectAku.class" width="200" height="100"> </applet>... Ni contoh je. Pls mail me the code, so that I can help you, insyaAllah. Tapi nasihat aku lagi, kalo ko buat projek programming for your fyp, tak yah la ko cari kat internet, baik ko buat sendiri lagi best. Jgn mare, gurauje... Quote Share this post Link to post Share on other sites
keyword 0 Report post Posted November 1, 2004 aku dh cuba anto applet code tue kt email yg ko bg tuh...tp fail lah..aku dh wat mcm yg ko tunjukkan tuh..tapi dia xnak gak load kt web browser tuh... Quote Share this post Link to post Share on other sites
acik 0 Report post Posted November 2, 2004 public class SearchFiles extends JFrame{}ni dia punya main class dia, tapi aku rasa program ko ni bukan utk Applet tapi standalone application. Ko kenala ubah program kpd Applet. Mcm mana nak buat, refer kat tutorial atau apa2 buku. Aku tak sempat nak ubahkan coz tak de masa, ada project sendri yg nak kena setel.Kalau applet sepatutnya main class diapublic class SearchFiles extends JApplet{} Quote Share this post Link to post Share on other sites
acik 0 Report post Posted November 2, 2004 Aku dah run kod ko, mmg bukan applet, window application. Sorry. Lepas ko ubah, kalo ada masalah ko email kat aku kod yg baru. TQ Quote Share this post Link to post Share on other sites