About Me

August 28th, 2010 Leave a comment Go to comments

Hi my name is Hitesh Agarwal with 4 years of experience in web and software development. Currently i am working with OnMobile as Sr. Software Engineer.

I have started this blog to share my knowledge and help programmers with help of code snippets and discussions.

Feel free to contact me if you have any queries.

Your email:

 

Keep visiting regularly for updates on technologies and codes.

You can visit me on:
Twitter: Hitesh Agarwal on Twitter
Linked In: Hitesh Agarwal on LinkedIn

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • email
  • IndianPad
  • LinkedIn
  • Live
  • MySpace
  • Netvibes
  • RSS
  • Technorati
  • Yahoo! Bookmarks
  • Yahoo! Buzz
  • Reddit
  • Add to favorites
  • PDF
  • Twitter
  1. xushaoxun
    May 16th, 2009 at 19:15 | #1

    comment

  2. May 20th, 2009 at 03:23 | #2

    i wanna have ur newsletter

  3. senthil
    May 30th, 2009 at 23:42 | #3

    hi

  4. kishor Hande
    June 4th, 2009 at 23:42 | #4

    hi

  5. Ketan
    June 11th, 2009 at 02:04 | #5

    Hi Hitesh,
    I am trying to build ffmpeg package after installing all required dependancies using my debian O.S. I am using command dpkg-buildpackage -rfakeroot -b
    After hitting enter key a long time execution happens in terminal. It creates only one folder by name debian-shared. It doesn’t create any ffmpeg—.deb file.

    Kindly help me.

    • June 11th, 2009 at 10:21 | #6

      Hi Ketan,
      I have not worked on debian so have no idea regarding the same.

      Thanks,
      Hitesh Agarwal

  6. Ketan
    June 11th, 2009 at 20:47 | #7

    Thanks Hitesh.

  7. Manish
    June 15th, 2009 at 21:17 | #8

    Hi Hitesh

  8. Ajay
    June 16th, 2009 at 12:01 | #9

    hi hitesh,
    i just want to learn ajax.
    and i am from java so what should i do?
    plz guide me.
    i am new for ajax

  9. Rajnish
    June 20th, 2009 at 21:39 | #10

    Hi Hitesh,
    can u tell me the url that can help me to learn hibernate from starting and also guide me to use with struts2.

    • June 20th, 2009 at 22:47 | #11

      Hi Rajnish,
      I have still not explored Struts2 and Hibernate. But will surely post the Hibernate and Struts2 Tutorial when i have explored it.

      Thanks,
      Hitesh Agarwal

  10. debranjan bera
    June 24th, 2009 at 23:59 | #12

    Hi Hitesh

    I am interesting to learn OOP in PHP5. Please send all tutorials WITH examples on OOP Concept for becoming a master in OOP in PHP5 .

    Thanks,
    debranjan bera

  11. July 1st, 2009 at 19:44 | #14

    Hi Hitesh

    I want some more example and explanatin about other design patterns
    specially prototype and others creational patterns along with ur
    excellent explanation.thanks in advance
    Gajendra!

  12. ram
    August 6th, 2009 at 00:38 | #15

    hi,
    i have to search the keyworld in uploded .doc file using java application,plz help me.

  13. Balaji D
    August 7th, 2009 at 01:00 | #16

    Hi Hitesh,
    I want some more example and explanatin about other design patterns java Multithreading and
    specially prototype and others creational patterns along with ur
    excellent explanation.thanks in advance
    Balaji!

  14. Sr. Programmer
    August 10th, 2009 at 04:56 | #17

    this is my comment.

  15. subhabrata poddar
    August 22nd, 2009 at 22:33 | #18

    Good

  16. September 17th, 2009 at 04:13 | #19

    Hey hello can u tell me how to code in php to create insert updata and delete in one page.

  17. Sushil
    October 7th, 2009 at 10:38 | #20

    hi hitesh,
    i want to learn ajax,so what should i do?
    plz guide me.i am new for ajax.

    and how to call package servelet using AJAX

  18. October 21st, 2009 at 02:40 | #21

    Hi all, i am interested in mysql. Just want to learn and apply new things in my projects. So u guys please share your knoweldge with me. Thats would be great for me…

  19. jigar
    November 6th, 2009 at 03:21 | #22

    hi

  20. Akhilesh Singh
    November 11th, 2009 at 06:36 | #23

    Hi,

    You have a very fine concept, and you are doing great job by publishing all these through WWW.

    Have to say I am 3+ yrs experienced developer, But I am nowhere in compare of you Concept.

    Please suggest some books for me, I am a PHP, MySQL Devloper.

    Keep posting, it mean a lot to other devlpoers.

    Thanks ,
    Akhilesh Singh

  21. Swarup Konchada
    November 27th, 2009 at 02:47 | #24

    Hi Hitesh,

    You are doing an excellent job contributing your knowledge in such a wise and health manner.
    Am working as a developer in Java. Can you just help me out in providing me with the code for \Comparing the data of Two Excel Files which compares data row by row and lists out the differences in another excel sheet leaving out the similar entries\.

    Keep rocking.

    Thanks,
    Swarup

  22. pawan
    December 7th, 2009 at 22:59 | #25

    thanks, Hitesh

  23. obaid
    January 10th, 2010 at 10:24 | #26

    Hi,
    Hitesh.

    i just want to know \how to make setup File of a java Program\

  24. Austin
    February 9th, 2010 at 09:56 | #27

    HI Hitesh,

    I have read your example on how to read MS word documents using java. I need to know if it is possible to modify this into a form of search to search through Multiple MS Word documents.

  25. karthik
    February 23rd, 2010 at 20:45 | #28

    HI

  26. Sathish
    March 3rd, 2010 at 03:57 | #29

    Hai.. I need to open the files(.txt,.java,.c) from my eclipse platform to the MSWORD while i clicking the MSWord plugin that i have created. I can able to open the MSWord application but the content in the files is not shown in Word while i opened. So i need the help from someone that how to pass the files as an argument in java so that i can open the file content. Thanks in Advance

  27. Sathish
    March 3rd, 2010 at 04:02 | #30

    i need to develop the toolchain in eclipse. In default the eclipse CDT will have GCC as toolchain i need to extent it for Fijitsu, Win Diab, XC2XXX like that. So i need ur help in the creation of plugins for those toolchain integration. Thanks in Advance. Pls Reply as early as possible.

  28. sanjay
    March 11th, 2010 at 21:35 | #31

    HI
    i am using javascript nd xml for web application. it’s working fine with IE. but it’s not working in mozilla and opera browser. can you please send me the code for mozilla and opera browser
    on my mail id .
    thanks & regards
    sanjay

  29. UJJAL
    May 6th, 2010 at 07:07 | #33

    Please anyone help me…
    Let me know about the basic job of mine to read from a document..

  30. UJJAL
    May 6th, 2010 at 07:08 | #34

    When I compile this example I got 9 errors.
    Help me please…

    package org.apache.poi.poifs.filesystem does not exist
    import org.apache.poi.poifs.filesystem.*;

    package org.apache.poi.hwpf does not exist
    import org.apache.poi.hwpf.*;

    package org.apache.poi.hwpf.extractor does not exist
    import org.apache.poi.hwpf.extractor.*;

    cannot find symbol
    symbol : class POIFSFileSystem
    location: class readDoc
    POIFSFileSystem fs = null;

    cannot find symbol
    symbol : class POIFSFileSystem
    location: class readDoc
    fs = new POIFSFileSystem(new FileInputStream(filesname));

    cannot find symbol
    symbol : class HWPFDocument
    location: class readDoc
    HWPFDocument doc = new HWPFDocument(fs);

    cannot find symbol
    symbol : class HWPFDocument
    location: class readDoc
    HWPFDocument doc = new HWPFDocument(fs);

    cannot find symbol
    symbol : class WordExtractor
    location: class readDoc
    WordExtractor we = new WordExtractor(doc);

    cannot find symbol
    symbol : class WordExtractor
    location: class readDoc
    WordExtractor we = new WordExtractor(doc);

    9 errors

  31. manjunath
    June 13th, 2010 at 21:09 | #36

    Hi Hitesh,

    I want to learn Ajax can u help me….

    thnak,
    Manjunath

  32. anadini
    June 24th, 2010 at 22:09 | #38

    I am new for Ajax. How can combined Ajax with webservice & java. Plz guide me. I want to know about Weservice & Ajax with java. I want some implementation of this with some examles. Plz send me.

  33. manjuv
    July 15th, 2010 at 07:23 | #39

    thank you…::

  34. manjuv
    July 15th, 2010 at 07:25 | #40

    hello,,,,
    i want how custom tags methods invoked in jsp by container…?
    i’m a newbie to custom tags…?

  35. backtogeek
    July 19th, 2010 at 12:17 | #41

    Hi Hitesh,

    I am going to write a guide for those who wish to run multiple instances of darwin streaming server from 1 server in a multiple IP address scenario and am looking for interested people to get involved and assist in creating the guide.

    I will be scripting the whole thing at the end so people can create and run a setup.sh for each additional instance they want to create.

    I am no expert but should be able to work this out with a little help so here goes.

    Assumptions:
    1) Each instance will have a unique admin account
    2) You allready have installed DSS once.
    3) You know how to start it.
    4) Default ports will be used.
    5) You have more than 1 ip address assigned to your server.
    6) You know the syntax to run DSS and specify additional options
    e.g.:
    usage: DarwinStreamingServer [ -d | -p port | -v | -c /myconfigpath.xml | -o /myconfigpath.conf | -x | -S numseconds | -I | -h ]
    -d: Run in the foreground
    -D: Display performance data
    -p XXX: Specify the default RTSP listening port of the server
    -c /myconfigpath.xml: Specify a config file
    -o /myconfigpath.conf: Specify a DSS 1.x / 2.x config file to build XML file from
    -x: Force create new .xml config file and exit.
    -S n: Display server stats in the console every “n” seconds
    -I: Start the server in the idle state
    -h: Prints usage

    What is known:
    In order to run DSS multiple times you must have unique config files and locations for each instance, those files are:
    files:
    /etc/streaming/streamingserver.xml
    /etc/streaming/qtusers
    /etc/streaming/qtgroups
    /etc/streaming/streamingloadtool.conf
    /etc/streaming/relayconfig.xml

    In order to run muliple instances you require a set of these files in a unique location e.g.
    /etc/streaming/second_instance/
    /etc/streaming/third_instance/

    The streamingserver.xml file must be altered per instance, I have extracted the linesI personaly belive have to be unique as below:
    key:
    ? = not 100% sure it needs a qunique value
    opt = does not need to be unique but can be specified

    opt 1000
    /usr/local/movies/
    0
    /var/streaming/logs/
    qtss
    ?qtss
    ?/var/run/DarwinStreamingServer.pid
    ?/etc/streaming/relayconfig.xml
    /var/streaming/logs/
    StreamingServer
    /var/streaming/logs/
    xxxx
    /etc/streaming/qtusers
    /etc/streaming/qtgroups

    What is not know/Questions:

    1) Where to specify unique WebAdmin port i.e. not 1220 ?
    2) Is a seperate /var/streaming/AdminHtml e.g. /var/streaming/second_instance/AdminHtml required or can all instances use the 1 directory ?
    3) Are there any other config files or lines within config files that need to be unique?

    If are interested please comment or get back to me ultimatley I would like to automate the whole install proccess and the proccess of crating multiple instances with either answer files or prompts.

    • July 19th, 2010 at 13:55 | #42

      I would be interested in it as it definitely benefit the community as whole.

      Thanks,
      Hitesh Agarwal

  36. jack
    July 20th, 2010 at 03:15 | #43

    hi,
    Im new to struts ..im trying to extract the data from excel…by using poifsfilesystem……i got error as follows,
    code:
    file-is the FormFile object
    filesystem=new POIFSFileSystem(file.getInputStream());
    HSSFWorkbook workbook= new HSSFWorkbook(filesystem);
    error:
    java.IO.Exception:unable to read entire header 292 bytes,expected 512 bytes…

  37. Imran
    July 26th, 2010 at 06:05 | #44

    Hi,
    can u tell me the url that can help me to learn hibernate from starting and also guide me to use with struts2.

  38. Vikas
    August 4th, 2010 at 21:52 | #45

    Thanks a lot Hitesh!

  39. August 6th, 2010 at 02:24 | #46

    how to use php coding joomla

  40. priyanka
    August 31st, 2010 at 04:41 | #47

    hii can u tell me how to enter in excel sheet from a text file ,using a buffferedreader i have created a string variable having content of text file using jxl jar file

  1. No trackbacks yet.