• The "Top-N Query" in Oracle

    April 24, 2009

    The task of retrieving the top or bottom N rows from a database table (by salary, sales amount, credit, etc.) is often referred to as a “top-N query.” I am going to use table EMP in the  example of this article. This table belongs to the SCOTT schema of the Oracle starter database provided with [...]

  • File Upload and Download using Servlets and JSP

    April 24, 2009

    fileupload.jsp <%–     Document   : fileupload.jsp     Created on : Apr 24, 2009, 3:40:43 PM     Author     : shyam –%> <%@page contentType=”text/html” pageEncoding=”UTF-8″%> <html>     <head>         <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″>         <title>File upload</title>     </head>     <body>         <h2>File upload!</h2>         <form name=”fileupload” method=”post” enctype=”multipart/form-data” action=”filedownload.jsp”>             <label for=”contentTitle”>File name(syntax: Filename.ext)</label><input type=”text” name=”contentTitle” /> [...]

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org