Tell Me about yourself

Myself Sawan Kumar. I completed my BTech from Maharshi Dayanand University in 2013. I have 5-year experience in Java and in my career starting I worked on the Desktop application using Swing. And after that I switched on Web application where I worked on JSP, Servlet then Struts2.
Struts2 with Hibernate and currently I was working on Spring MVC, AngularJS with Hibernate.

My recent project was to build MIS portal for NE Centers of NIELIT in which informations like financial, civil and training details added by all 18 centers by which we generate a report.
Then we analyze the performance of that particular center. And allocate proposed appropriate fund to that center from MeitY.

Meanwhile, I made two Java libraries one is for file uploading in Java and another one is web scrapping.

gojfileupload:
Request page

ArrayList<String> imagename = new ArrayList<String>();
      imagename.add("img1");
      imagename.add("img2");
      
ArrayList<String> dataname = new ArrayList<String>();
      dataname.add("firsttext");
     dataname.add("secondtext");
      dataname.add("thirdtext");
 
HashMap map = FileUploading.UploadFile(imagepath,dataname,imagename,request);

webscrap4J
WebScrap ws= new WebScrap();
//set your extracted website url
ws.setUrl("http://dasnicdev.github.io/webscrap4j/");
//start scrap session
ws.startWebScrap();
For Title :
System.out.println("-------------------Title-----------------------------");
System.out.println(ws.getSingleHTMLTagData("title"));
For Tagline :
System.out.println("-------------------Tagline-----------------------------");
System.out.println(ws.getSingleHTMLScriptData("<h2 id='project_tagline'>", "</h2>"));
For All anchor tag :
System.out.println("-------------------All anchor tag-----------------------------");
   al=ws.getImageTagData("a", "href");
   for(String adata: al)
   {
    System.out.println(adata);
   }
For Image data :
System.out.println("-------------------Image data-----------------------------");
   System.out.println(ws.getImageTagData("img", "src"));
   System.out.println(ws.getImageTagData("img", "alt"));
For Ul-Li Data :
System.out.println("-------------------Ul-Li Data-----------------------------");
   al=ws.getSingleHTMLScriptData("<ul>", "</ul>","<li>","</li>");
   for(String str:al)
   {
    System.out.println(str);
   }

Comments

Popular posts from this blog

Java Interview Question Part 2

Java Interview Question Part 1