1. Servlets JDBC and Image forums.netbeans.orgWhat i want to do is to display the sum of all rows of a particular column using servlets the servlet code is : Handler.java Code: package Servlets; import java.sql.*; import java.io.IOException; import java.io.PrintWriter; import java.util.logging.Level; import java.util.logging.Logger; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class handler extends HttpServlet { ... |
2. Images,JDBC and servlets coderanch.com |
3. How to display Images from MS access using JSP java-forums.orgYou want to use the appropriate datatype, which would be Ole Object (looking at some access documentation). Then, presumably, use setBinaryStream to put it into the db, and getBinaryStream to get it out. I prefer to use streams, before anyone mentions get and setBlob. Now, I have no idea if Access will work with this, but the "proper" dbs do. |