salve sono neofita,non riesco a fare l'upload di un file su un db ,o meglio non riesco a connettermi dove sbaglio vi posto il code,grazie in anticipo.
<code>
<%@ page language="java" import="javazoom.upload.*,java.util.*" %>
<%@ page errorPage="ExceptionHandler.jsp" %>
<jsp:useBean id="upBean" scope="application" class="javazoom.upload.UploadBean" >
<%
Properties props = new Properties();
// Modify info below to fit to your database settings.
props.put("user","root");
props.put("password","antonella");
upBean.setDatabasestore("com.mysql.jdbc.Driver",
"jdbc:mysql://localhost:3306/upload", props);
// If you have get a JDBC Connection from a javax.sql.DataSource
// Then use upBean.setDatabasestore(YourConnection);
// Also, uncomment and modify variables below if you need to map to your own database schema.
%>
</jsp:useBean>
<jsp:setProperty name="upBean" property="overwrite" value="true" />
</code>