About viralpatel.net

viralpatel-profileHey Everyone! I’m Viral Patel. Welcome to my technology blog!

I created this blog to narrate my coding and technology learning experiences. I like sharing my experiments and ideas with everyone by writing articles on latest technological trends.

I work for an IT company as Technology Lead and in my leisure time I bake new recipes for applications and try my hands on latest trends on programming.

Primarily I write about Java, JEE, Spring, Hibernate, jQuery, PHP, CakePHP, Maven, Web 2.0, Cloud and the list goes on…. Of late I am trying new technologies such as Google app engine, play framework etc and I love it.

Not all the articles that you find on this blog are written by me. Intermittently my friends / colleagues share some very useful tips and tricks.

I write simple apps / tutorials to learn a new technology in my spare time. Here’s a list of things that I’ve done in the past.

Taj Operating System – TAJ is India’s first Object oriented multitasking, multithreading operating system created from scratch. It is written in C++ and assembly. Its 32-bit Protected mode Operating System. Read more about Taj on its homepage.

eazyDiary – Easy way to write / manage your personal diary online without any hassels and manage all your events and people you share your day with. This app is created using Play! framework in Java and hosted on Google’s very own cloud – Google App engine.

eazyBookmark – An easy way to synchronize your bookmarks between different computers. All you need to do is to add your links in eazyBookmark. Also you can login into eazyBookmark using your Google Account. So no hassle of rememberring passwords. The application is being hosted on Google app engine.

Realtime search – A real time search experience using purely Javascript and Google Search API

Spring 3 article series – A series of 7 articles on Spring 3 MVC which explains different aspects such as form handling, tiles plugin integration, internationalization / localization, themes in spring mvc etc.

Struts 2 article series – A series of 7 articles on Struts 2 which explains different features such as Validations, Interceptors, Tiles plugin integration, Ajax on Struts 2 etc.

Articles cited by other websites




I’d love to hear from you! Say hello to me in comments section below, or if you’re shy then email me on viralpatel.net(at)gmail.com or follow me @viralpatelnet


  1. Justin says:

    Hi Viral,

    Thanks for the informative blog that you have created.
    I have really learnt a lot from your tutorials as your explanation is clear and easy to understand.
    Appreciate that you can continue to post more in future :)


  2. Mahesh Patil says:

    Hi Viral,

    Nice to refer your site and blogs…. It is really helpful and informative.
    I need your suggestions on cookieless wep site development and authentication.

    Currently we are facing issue in captcha values , struts token autentication etc…
    It is all working fine if we enable the cookies for third party. However since we can’t ask users to enable cookies we need some solution on the same.

    Pl. suggest


  3. Dinesh says:

    Hi thansk for information and tutorail.

    • narayana says:

      nice tutorial

  4. Rina Patel says:

    Hi Viral,
    your posts are very informative.learnt a lot from you.thanks.keep it up

    • calipus says:

      Hi Viral Patel,
      A big thanks for your posts. I am a regular reader of your blog and looking forward to some interesting posts on node.js. Please do add some posts related to the same.

  5. Anaida says:

    Hey Viral,
    Like your tutorial on Angularjs. I want some more on that describing $stateParameter and resolve. I am working on a project and used ui-router for the same. Want to pass parameter as a object so that can get all the values in other state. Can you give some example on this?

    Thanks in advance,
    Take care,

  6. Satya says:

    Is comment disabled on post? I saw the form and submitted a comment but did not received any response on the page. So, just informing you.

  7. Hi Viral,

    I like all your posts and fan of you and wanna learn angularjs and object oreinted javascript so can you please provide me some basic stuff so i can learn

  8. Chris Sanjiv Xavier says:

    Hi Virat can you tell me the how to auto.profile file would be for the greenplum database connection

  9. Vijay says:

    Hi Viral,

    Could you please post article about Podcast tutorial and I want to start podcasting in for technical vlog.


  10. Anu says:

    Hi Viral,

    I was expecting lot of Dojo Tuts from you, i was been working as dojo begginer since there no exact documentation for it rahter than dojotoolkit org i expect you to post some cleared and expalined very well tuts as all above for dojo also

  11. ara says:

    congrats buddy and all the best

  12. Paulina says:

    I would like to know if you have any blog about a small app to detect the device that a person is using when browsing(PC/Mobile) using Spring.


  13. Paulina says:

    BTW your site is awesome very good exercises.

  14. harshida says:

    Hi viral,

    Is it possible in api controller in multiple get method with same datatype parameter.
    if possible than how to use with angular routing?

    • Imran Khan says:

      Interesting blog

  15. kartikpatel says:

    hello mr. viral patel

    i want to join with you and i want many help .so i want your skype account or any other contact that give me response any time

  16. Mukesh says:

    I need your help.I want to know good domain hosting site for Java web technology . I am interested in software development business . I have 2 year experience . I am working on jsp,servlet,hibenrate,struts,spring ,mysql 4.1.html,css,jscript.

  17. Haresh Prajapati says:

    Hi viral,

    How HashMap values() method works? Compiled code of hashmap values method is shown as
    public Collection values()
    Collection localCollection = this.values;
    return this.values = new Values(null);

    private final class Values extends AbstractCollection
    private Values()

    public Iterator iterator()
    return HashMap.this.newValueIterator();
    public int size() {
    return HashMap.this.size;
    public boolean contains(Object paramObject) {
    return HashMap.this.containsValue(paramObject);
    public void clear() {
    here in statement
    return this.values = new Values(null);
    there is not any single argument constructor of private final Values class though how code works fine?

  18. Bhavik Patel says:

    You are doing great job.. I am regular reader of your blog.
    I want to request your for Explore more articles on Angular.js.

    Bhavik Patel

  19. Santosh Kumar Chourasiya says:

    well done!

  20. Rohit Debnath says:

    Hi Viral,

    I am a reader of your articles. I really enjoy your tutorials are easy to follow. Recently i came across Cygnite PHP Framework – The new Cool Kid. Looks good and promising but new to PHP world. I am interested to develop my coming project using Cygnite.

    I would like to see tutorial step by step of below –

    i. Insert, Update, Delete with Jquery, Ajax using Cygnite Framework.

    It will be really helpful for me to proceed if you please write in your next article.

    Thank you!

    With Regards,

  21. anil says:

    As a regular reader of your blog, i find it as one of the very giid written article for bith experienced and novice technical persons.

  22. Jayganesh says:

    0 down vote favorite

    I am trying to design a print page in which values such as amount,amount in words,date will be read from server side (here jsp scriptlet).On taking print of this page on a blank cheque, the scriplet values should appear against corresponding labels.

    I have written html code to adjust these values:

    <div style="width:767.244094488px; float:left; height:71.811023622px;">
         <div style="width:151.181102362px; height:18.897637795px; float:right; margin-right:0.456692913px; font-family:Arial, Helvetica, sans-serif; letter-spacing:13px; line-height:18.897637795px; font-size:15px;">scriptlet value</div>
    <div style="float:left; height:351.496062992px; width:767.244094488px;"  id="printdiv"><br>
    <div style="width:width:767.244094488px; height:26.456692913px; float:left;">
         <div style="width:540.472440945px;height:26.456692913px; line-height:26.456692913px;  margin-left:56px; font-family:Arial, Helvetica, sans-serif; font-size:15px; color:#000;">** scriptlet value**</div>
    <div style="width:width:767.244094488px; height:26.456692913px; float:left;">
         <div style="width:453.543307087px;height:26.456692913px; line-height:26.456692913px;  margin-left:76px; font-family:Arial, Helvetica, sans-serif; font-size:15px; color:#000;">scriptlet value</div>
    <div style="width:width:767.244094488px; height:26.456692913px; float:left;">
         <div style="width:453.543307087px;height:26.456692913px; line-height:26.456692913px;  margin-left:76px; font-family:Arial, Helvetica, sans-serif; font-size:15px; color:#000;">scriptlet value</div>
    <div style="width:188.976377953px;height:26.456692913px; float:left; line-height:26.456692913px;  margin-left:2px; font-family:Arial, Helvetica, sans-serif; font-size:15px; color:#000;">
         <div style="width:143.622047244px; height:26.456692913px; line-height:26.456692913px;  margin-left:70.354330709px; letter-spacing:1px; font-size:15px; font-weight:bold;">** scriptlet value **</div>

    The page size is defined in css as:

    body {
        height: 4in;
        width: 8in;

    The widths defined above are calculated by manually measuring cheque dimensions in mm and then converting it to pixels. When I take print out the values dont appear in front of corresponding labels as expected.

  23. Naveen says:

    Hi Viral,
    How to create the tree structure in angularjs.Each node with different views(like html forms,tables).

  24. pavzie says:

    I am impressed with your blog and content. I need to currently setup a technical blog. Can you give me some tips about your hosting details.

    Thanks again!

  25. Sai says:

    Hi Viral sir
    Is any post by you where web application which is built without using maven.
    A simple application with spring, hibernate, struts but without maven.

  26. Saurabh says:

    Hello Viral,
    Thanks for all great sharing. One thing I want to inform you, viralpatel.net is getting hanged very frequently from few days. I was trying to read your blogs on Angular Js but screen get freeze after ~1 minute. Some time it also crashesh shockwave player and we need to close tab. Can you please fix it ? looks like s3.buysellads.com taking forever to load

Leave a Reply

Your email address will not be published. Required fields are marked *