Ho una pagina JSP che dovrebbe richiamare una applet JavaSound.class che richiama a sua volta altri 3 file .CLASS!
Il codice della JSP è il seguente
codice:<%@ page language="java" pageEncoding="ISO-8859-1"%> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html:html lang="true"> <head> <html:base /> <title>MyJsp.jsp</title> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" content="0"> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="This is my page"> <!-- <link rel="stylesheet" type="text/css" href="styles.css"> --> </head> <Body> <Applet Code="/JavaSound.class" width=200 Height=100> </Applet> </Body> </html:html>
Ho provato a mettere tutti i file sotto \WEB-INF\classes ma non va quindi ho provato a mettere i file *.class nella directory dove è presente la mia JSP ma quando provo a farla andare dice sempre APPLET NON TROVATA e FireFox si impalla e devo chiuderlo dal task manager!
Qualcuno potrebbe darmi una mano su come settare le directory nel modo giusto? :help:
Tnk mille ciao

Rispondi quotando