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


  • Justin 29 September, 2013, 14:54

    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 :)


  • Mahesh Patil 30 September, 2013, 17:17

    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


  • Dinesh 7 October, 2013, 21:11

    Hi thansk for information and tutorail.

  • Rina Patel 14 November, 2013, 16:55

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

  • Anaida 7 December, 2013, 1:46

    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,

  • Satya 28 December, 2013, 12:49

    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.

  • akhilesh singh 8 January, 2014, 16:42

    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

  • Chris Sanjiv Xavier 15 January, 2014, 15:32

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

  • Vijay 25 January, 2014, 14:29

    Hi Viral,

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


  • Anu 3 February, 2014, 12:49

    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

  • ara 5 March, 2014, 23:16

    congrats buddy and all the best

  • Paulina 19 March, 2014, 1:06

    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.


  • Paulina 19 March, 2014, 1:07

    BTW your site is awesome very good exercises.

  • harshida 1 April, 2014, 16:37

    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 21 November, 2014, 12:01

      Interesting blog

  • kartikpatel 25 April, 2014, 8:45

    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

  • Mukesh 3 May, 2014, 15:01

    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.

  • Haresh Prajapati 6 August, 2014, 14:52

    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?

  • Bhavik Patel 18 August, 2014, 17:08

    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

  • Santosh Kumar Chourasiya 17 October, 2014, 12:29

    well done!

  • Rohit Debnath 2 November, 2014, 18:19

    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,

  • anil 11 December, 2014, 14:19

    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.

  • Jayganesh 18 February, 2015, 17:05

    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.

  • Naveen 27 February, 2015, 13:24

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

Leave a Reply

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


To post source code in comment, use [code language] [/code] tag, for example:

  • [code java] Java source code here [/code]
  • [code html] HTML here [/code]