pg

www.audisankara.com

ASCET ENTRANCE

www.audisankara.com

ASCET COLLEGE OVER VIEW

www.audisankara.com

ASCET AUDITORIUM

www.audisankara.com

ASCET C.V.RAMAN SEMINOR HOLL

Monday, November 18, 2013

Upload file one place to another place


FileUpload Application in Servlet

Here We are going to see,How to create a FileUploadApplication using Java Zoom API
Directory Structure





upload1.html
<form action="uplurl" method="post" enctype="multipart/form-data">

Select File1 <input type="file" name="file1" />
Select File2 <input type="file" name="file2" />

<input type="Submit" value="Upload" />

</form>

web.xml
<web-app>

<servlet>
<servlet-name>uplsrv</servlet-name>
<servlet-class>UplSrv1</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>uplsrv</servlet-name>
<url-pattern>/uplurl</url-pattern>
</servlet-mapping>

</web-app>


UplSrv1.java
//UplSrv1.java
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javazoom.upload.*;
import java.util.*;

public class UplSrv1 extends HttpServlet {
public void doPost(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
PrintWriter pw = res.getWriter();

try {

// set location for saving uploded files
UploadBean upb = new UploadBean();
upb.setFolderstore("c:/store");
upb.setOverwrite(false);

MultipartFormDataRequest nreq = new MultipartFormDataRequest(req);
upb.store(nreq); // completes files uploding

// display names of the uploded files
pw.println("The uploded files are  ");

Hashtable ht = nreq.getFiles();// gives all uploded files

Enumeration e = ht.elements();
while (e.hasMoreElements()) {
UploadFile file = (UploadFile) e.nextElement();
pw.println(file.getFileName() + " ");
}// while

}// try
catch (Exception e) {
pw.println(e);
}// catch
}// doPost ()
}// class


Jars required in classpath
servlet-api.jar
uploadbean.jar
Jars required in lib Folder
(See the directory structure)
Compile the ServletProgram
c:\JavaZoomUpload\WEB-INF\classes>javac *.java
Running the Application
Copy the JavaZoomUpload Application and paste it to web-apps folder of Tomcat
Executing the Application
Start tomcat server.and then give the following request from browser window
http://localhost:2012/JavaZoomUpload/upload1.html
You will get the screen
Select any two file,and click upload button.The file will be uploaded and stored in C:\store folder of the server.(in our case,It will be stored in our c:\store folder.
Upon successful upload,you will get the success screen
Hope,You like this tutorial.
Thank You

Captcha creation

ATTRA INFOTECH WALK-IN



Job Description:Attra Infotech Off-Campus for Freshers : Software Engineer : On 26th Nov 2013 for Bangalore location. Apply on or before Tuesday, November 26, 2013

Skill Sets:Associate Engineer - 60% throughout the academic

Education:BE  / B.Tech / MCA 

Experience:Freshers (2013 Batch)

Job Location:Bangalore
Address:If you have the required skills and willing to apply for this job openings, click thelink  for more information.


                                         
Other Details    Event Date: 26th  November 2013 Last Date to Apply: 21st November 2013

                                    





Job Last Date:Tuesday, November 26, 2013

MAHINDRA SATHAM WALK-IN


Job Description:Tech Mahindra Job Openings for Software Engineers (BE / B.Tech / MCA / M.Tech / M.Sc)  for Chennai location. Apply on or before Sunday, November 24, 2013

Skill Sets:Oracle Trainer - Oracle, SQL, PL/SQL, Forms and Reports, Oracle Apps R12 Technical, AOL, Workflows

Education:BE / B.Tech / MCA / ME / M.Tech / M.Sc

Experience:3 to 5 Yrs

Job Location:Hyderabad
Contact:  Debasmita.Das@techmahindra.com


                                         
Address:Send your resume only if your skills and experience matches the requirement of this opening. Please DO NOT Send otherwise.

                                        





Job Last Date:Sunday, November 24, 2013

WIPRO WALK-IN




Job Description:Wipro Excellent Walk-in Drive for Freshers - Any Graduates / BE / B.Tech  for Chennai location. Apply on or before Sunday, November 24, 2013

Skill Sets:
Technical Voice Process - Excellent Communication Skills; Certification: MCP / MCSE / Exchange E2K, E2K3 and E2K7 / CCNA.


Education:Any Graduates / BE / B.Tech

Experience:0 to 3 Yrs (Freshers)

Job Location:Chennai
Contact: gokulnath.rajendran@wipro.com


                                         
Address: Wipro, 105, Anna Salai , Chennai

                                        





Other Details Walk-in Date: Monday to Friday  Time:9AM

Job Last Date:Sunday, November 24, 2013

COGNIZANT WALK-IN



Job Description:Cognizant Walk-in Interview for Software Developers On 23rd Nov 2013  for Bhubaneswar, Kolkata location. Apply on or before Saturday, November 23, 2013

Skill Sets:Web Developers - HTML5, CSS3, Jquery, Javascript

Education:BE / B.Tech / BCA / B.Sc / BA / B.Com / MCA

Experience:2 to 10 Yrs

Job Location:Bhubaneswar, Kolkata
Address:Cognizant Swosti Premium Ltd.(Formerly Swosti Plaza), P-1, Jaydev Vihar, Bhubaneswar; Cognizant Technocomplex, Plot no. GN-34/3, Sec V Salt Lake Electronic Complex, Kolkata. 

                                         
Other Details    Walk-in Date:  23rd  November 2013 Time:9AM to 12PM

                                    





Job Last Date:Saturday, November 23, 2013

IBM WALK-IN



Job Description:IBM India Off-Campus for Freshers : 2012 / 2013 Passout : On 19th Nov 2013 for Hyderabad location. Apply on or before Tuesday, November 19, 2013

Skill Sets:55% or 5.5 CGPA (aggregate of all Semesters); Must have Knowledge of Networking  & Hardware Concepts; Understanding of Operating System; Proficient in Network Connectivity troubleshooting.

Education:Any Graduates / BE / B.Tech / MCA / M.Tech / MBA  / Diploma

Experience:Freshers (2012 / 2013 Passout)

Location:Hyderabad
Address:Royal Institute of Technology & Science, Damergidda (V), Chevella (M), Rangareddy Dist, Hyderabad. 

                                         
Other Details    Walk-in Date:  19th  November 2013 Time:9AM

                                    





Job Last Date:Tuesday, November 19, 2013