Torna indietro   Hardware Upgrade Forum > Software > Programmazione

Lenovo Legion Go 2: Ryzen Z2 Extreme e OLED 8,8'' per spingere gli handheld gaming PC al massimo
Lenovo Legion Go 2: Ryzen Z2 Extreme e OLED 8,8'' per spingere gli handheld gaming PC al massimo
Lenovo Legion Go 2 è la nuova handheld PC gaming con processore AMD Ryzen Z2 Extreme (8 core Zen 5/5c, GPU RDNA 3.5 16 CU) e schermo OLED 8,8" 1920x1200 144Hz. È dotata anche di controller rimovibili TrueStrike con joystick Hall effect e una batteria da 74Wh. Rispetto al dispositivo che l'ha preceduta, migliora ergonomia e prestazioni a basse risoluzioni, ma pesa 920g e costa 1.299€ nella configurazione con 32GB RAM/1TB SSD e Z2 Extreme
AWS re:Invent 2025: inizia l'era dell'AI-as-a-Service con al centro gli agenti
AWS re:Invent 2025: inizia l'era dell'AI-as-a-Service con al centro gli agenti
A re:Invent 2025, AWS mostra un’evoluzione profonda della propria strategia: l’IA diventa una piattaforma di servizi sempre più pronta all’uso, con agenti e modelli preconfigurati che accelerano lo sviluppo, mentre il cloud resta la base imprescindibile per governare dati, complessità e lock-in in uno scenario sempre più orientato all’hybrid cloud
Cos'è la bolla dell'IA e perché se ne parla
Cos'è la bolla dell'IA e perché se ne parla
Si parla molto ultimamente di "bolla dell'intelligenza artificiale", ma non è sempre chiaro perché: l'IA è una tecnologia molto promettente e che ha già cambiato molte cose dentro e fuori le aziende, ma ci sono enormi aspettative che stanno gonfiando a dismisura i valori delle azioni e distorcendo il mercato. Il che, com'è facile intuire, può portare a una ripetizione della "bolla dotcom", e forse anche di quella dei mutui subprime. Vediamo perché
Tutti gli articoli Tutte le news

Vai al Forum
Rispondi
 
Strumenti
Old 12-07-2005, 16:25   #1
ermasto
Senior Member
 
L'Avatar di ermasto
 
Iscritto dal: Mar 2004
Messaggi: 581
[jsp]Aiuto Urgente Librerie

ragazzi sto provando a far girare la mia pagina jsp su tomcat solo che mi da sempre questo errore :

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
Only a type can be imported. java.util.Proprietes resolves to a package

An error occurred at line: 94 in the jsp file: /hermann/home2.jsp
Generated servlet error:
st cannot be resolved


org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

penso che sia relativo ai package che non importo correttamente infatti l'errore si riferisce alla prima riga. La mia pagina jsp è la seguente:
Codice:
<html>
<head>
<title>LEFRAHER</title>
</head>
<LINK href="style.css" rel=stylesheet>
<script language=javascript>
var popup=null;
function pop_open() {
	popup = window.open('wait.html','aspetta','width=500,height=100');
}
function pop_close() {
	if (popup!=null) { 
	setTimeout('',2000);
	popup.close();
	}
} 
//Le funzioni pop_open e pop_close servono per aprire
//e chiudere la finestra di pop up di attesa connessione

</script>

<%String login=new String();
String passwd=new String();
String logout=new String();
int cliente=0;
int relogin=1;
//la variabile "percorso" viene incrementata ad ogni pagina.
//serve per controllare che l'utente rispetti l'ordine di 
//apertura delle pagine.
session.setAttribute("percorso","0");
try{
login=request.getParameter("login");
passwd=request.getParameter("passwd");
logout=request.getParameter("logout");
}catch(Exception e){%>
<%=e%><%}
//La variabile "logout" serve per conoscere lo stato della sessione.
//Se contiene un valore significa che un utente registrato
//vuole rimuovere la login fatta in precedenza e immetterne un'altra
//o semplicemente eliminare lo sato corrente di utente registrato.
if(logout!=null) if(logout.length()!=0){
    session.removeAttribute("login");
    session.removeAttribute("passwd");
}
String coologin=(String) session.getAttribute("login");
String coopasswd=(String) session.getAttribute("passwd");
//Verifica se la session contiene login e password
if((coologin!=null) && (coopasswd!=null)){
login=coologin;
passwd=coopasswd;
}
if((login!=null) && (passwd!=null)) {
    if((login.length()==0)&&(passwd.length()==0)){ 
    cliente=0;
    session.setAttribute("loginaccettata","0");
    }else{
    cliente=1;
    }
}else{
    cliente=0;
    session.setAttribute("loginaccettata","0");
}

Connection conn = null;
Statement  stmt = null;
ResultSet    rs = null;
final String DB_URL = "jdbc:odbc:database"; //database è il nome del db
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");	    
} 
 catch(java.lang.ClassNotFoundException e)
 {
		             System.out.println("Error");
	   	}
	

	conn = DriverManager.getConnection(DB_URL, "User", "PWD");
	stmt = conn.createStatement();
	
	try
	 {
		      	// richiesta di connessione - ritorna una istanza di connessione 
		       	conn = DriverManager.getConnection(DB_URL, "User", "PWD");
		    	        	
		       	// statement per inviare i comandi al database
		   	stmt = conn.createStatement();		
		   			
	  }
	   catch(SQLException ex)
	   {
		      System.out.println(" Error.");
	   	
%> 	<%
return;}
if(cliente==1){
//Verifica se login e password sono corrette
rs=st.executeQuery("select count(*) as verifica from cliente where login='"+login+"' and password='"+passwd+"';");
    while(rs.next()){
        if(rs.getInt("verifica")<1) {cliente=0; relogin=0;session.setAttribute("loginaccettata","0");
        }else{
        session.setAttribute("loginaccettata","1");
        session.setAttribute("login",login);
        session.setAttribute("passwd",passwd);
        }
    }
}
%>
<body leftmargin=0 topmargin=0 onUnload=pop_close()>

<TABLE WIDTH=867 BORDER=0 CELLPADDING=0 CELLSPACING=0 height="1053">
	<TR>
		<TD colspan="2">
			<IMG SRC="immagini/background_01.jpg" WIDTH=179 HEIGHT=158></TD>
		<TD colspan="2">
			<p align="center">BENVENUTI SU LEFRAHER</p>
			<p align="center">SITO DEDICATO ALLA VENDITA DI CD-DVD-LIBRI</TD>
                <TD width="17">&nbsp;&nbsp;&nbsp;&nbsp;</TD>
<%              if(cliente==0){%>
                <td width="235">
                    <CENTER><h3>LOGIN</H3>
                    <FORM action="index.jsp" method=Post>
                    <table border=0>
                    <tr>
                    <td>User</TD><td><INPUT type=text name=login size=10></td>
                    </tr><tr>
                    <td>Password</TD><td><INPUT type=password name=passwd size=10></td>
                    </tr>
                    <TR><td><input type=reset value='Cancella'></td><TD><input type=submit value='Conferma'></TD></TR>
                    </TABLE>
                    </FORM>
                    <input type=submit value='Cambia Cliente'><p>Per Registrarti 
					clicca qui: <a href="Registrazione.htm">Registra! </a>
                    </p>
                    </CENTER>
                </td>
<%}else{%>
<%}%>
        </TR>
	<TR>
		<TD height="288" width="196">
			SEZIONI PRESENTI:<p>&nbsp;</p>
			<form method="POST" action="_derived/nortbots.htm" webbot-action="--WEBBOT-SELF--" onSubmit="location.href='_derived/nortbots.htm';return false;" webbot-onSubmit>
				<!--webbot bot="SaveResults" U-File="_private/form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" i-checksum="43374" endspan -->
				<p><img border="0" src="images/cd.gif" width="60" height="45">&nbsp;
				<input type="button" value="CD" name="B3"></p>
			</form>
			<form method="POST" action="_derived/nortbots.htm" webbot-action="--WEBBOT-SELF--" onSubmit="location.href='_derived/nortbots.htm';return false;" webbot-onSubmit>
				<!--webbot bot="SaveResults" U-File="_private/form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="1"><!--webbot bot="SaveResults" i-checksum="43406" endspan -->
				<p><img border="0" src="images/DVD.gif" width="60" height="57">
				<input type="button" value="DVD" name="B6"></p>
			</form>
			<p><img border="0" src="images/libri.gif" width="55" height="60">
			<input type="button" value="LIBRI" name="B4"></TD>
		<TD height="288" width="6">
			&nbsp;</TD>
		<TD valign=top align=center height="288" width="409"><br>
			<hr>OFFERTA SPECIALE!!!<p>CD</p>
		<p><img border="0" src="images/Bob.jpg" width="70" height="95"></p>
		<p><b>Legend: The Very Best Of (2CD)</b><br>
		di BOB MARLEY<br>
		UNIVERSAL MUSIC - Supporto: CD<br>
		Serie Sound+Vision Deluxe Edition Boxset<br>
		<span class="wn_prezzo">28,99 €</span>&nbsp;&nbsp;&nbsp;
		<a class="autore_scheda" href="http://www.topten.it/index.php?sez=CD&sub=scheda&id=34664">
		Vai alla scheda</a> &nbsp;&nbsp;&nbsp;<a class="wn_prezzo" href="http://www.topten.it/index.php?sez=USR&sub=carrello&azione=aggiungi&id=34664&q=1">BUY</a>
		</p>
		<p>&nbsp;</p>
		<p>DVD</p>
		<p><img border="0" src="images/helsing.jpg" width="72" height="103"></p>
		<p><span class="titolo_scheda">VAN HELSING (2DVD SPECIAL)</span><span class="verd_1"><br>
		<b>Regia:</b>
		<a class="verd_1" href="http://www.topten.it/index.php?sez=DVD&sub=quicksearch&campo=Regia&args=Stephen+Summers">
		Stephen Summers</a><br>
		<b>Anno di emissione:</b> 2005<br>
		<b>Produttore:</b> UNIVERSAL PICTURES ITALY Srl<br>
		<span class="prezzi_scheda">14,99&nbsp;€&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="prezzi_scheda" href="http://www.topten.it/index.php?sez=USR&sub=carrello&azione=aggiungi&id=39914&q=1">BUY</a></span></span>
		</p>
		<p>&nbsp;</p>
		<p>LIBRI</p>
		<p>
		<img border="0" src="images/piu_felici_in_amore_red.jpg" width="71" height="110"></p>
		<p>
		<b>Più Felici in Amore</b><br>
		di <span style="font-weight: 400; letter-spacing: -1pt"><font size="3">
		Claude-Marc Aubry </font></span><br>
		<span style="font-weight: 400; letter-spacing: -1pt"><font size="3">Come 
		costruire una relazione piena e gioiosa giorno per giorno</font></span><br>
		<span class="wn_prezzo">13.00€</span>&nbsp;&nbsp;&nbsp;
		<a class="autore_scheda" href="http://www.topten.it/index.php?sez=CD&sub=scheda&id=34664">
		Vai alla scheda</a> &nbsp;&nbsp;&nbsp;<a class="wn_prezzo" href="http://www.topten.it/index.php?sez=USR&sub=carrello&azione=aggiungi&id=34664&q=1">BUY</a>
		</p>
		<p>&nbsp;</p>
		<p>&nbsp;</td>

		<TD valign=top align=center height="288" width="4">&nbsp;</td>

	</TR>
	<TR>
		<TD width="196">
			&nbsp;</TD>
		<TD width="6">
			&nbsp;</TD>
		<TD valign=top align=center width="409">&nbsp;</td>

		<TD valign=top align=center width="4">&nbsp;</td>

	</TR>
</TABLE>
</body>
</html>
Chi gentilmente mi dice cosa modificare della mia pagina affinche venga compilata??
ermasto è offline   Rispondi citando il messaggio o parte di esso
 Rispondi


Lenovo Legion Go 2: Ryzen Z2 Extreme e OLED 8,8'' per spingere gli handheld gaming PC al massimo Lenovo Legion Go 2: Ryzen Z2 Extreme e OLED 8,8'...
AWS re:Invent 2025: inizia l'era dell'AI-as-a-Service con al centro gli agenti AWS re:Invent 2025: inizia l'era dell'AI-as-a-Se...
Cos'è la bolla dell'IA e perché se ne parla Cos'è la bolla dell'IA e perché se...
BOOX Palma 2 Pro in prova: l'e-reader diventa a colori, e davvero tascabile BOOX Palma 2 Pro in prova: l'e-reader diventa a ...
FRITZ!Repeater 1700 estende la rete super-veloce Wi-Fi 7 FRITZ!Repeater 1700 estende la rete super-veloce...
Weekend pre natalizio Amazon, ecco tutte...
Prezzi giù su Oral-B iO: spazzolini elet...
19.000 Pa a un prezzo senza precedenti: ...
Narwal in super offerta su Amazon: robot...
SK hynix e NVIDIA lavorano a un SSD spec...
Roborock in super offerta su Amazon: pre...
Dreame abbassa i prezzi su Amazon: robot...
ECOVACS Deebot torna protagonista su Ama...
Il primo iPhone pieghevole potrebbe esse...
Apple 'apre' iOS alle terze parti anche ...
Cloud sovrano: l'approccio di Broadcom c...
HONOR conferma l'arrivo in Italia di Mag...
La Cina sotto pressione impone maniglie ...
OpenAI integra le app in ChatGPT per tra...
NVIDIA sarebbe pronta a tagliare la prod...
Chromium
GPU-Z
OCCT
LibreOffice Portable
Opera One Portable
Opera One 106
CCleaner Portable
CCleaner Standard
Cpu-Z
Driver NVIDIA GeForce 546.65 WHQL
SmartFTP
Trillian
Google Chrome Portable
Google Chrome 120
VirtualBox
Tutti gli articoli Tutte le news Tutti i download

Strumenti

Regole
Non Puoi aprire nuove discussioni
Non Puoi rispondere ai messaggi
Non Puoi allegare file
Non Puoi modificare i tuoi messaggi

Il codice vB è On
Le Faccine sono On
Il codice [IMG] è On
Il codice HTML è Off
Vai al Forum


Tutti gli orari sono GMT +1. Ora sono le: 11:07.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Served by www3v