# learning how to navigate dhis2 sourcecode

**URL:** <https://community.dhis2.org/t/learning-how-to-navigate-dhis2-sourcecode/18449>\
**Category:** Support - Assistance technique\
**Created:** [4 March 2013 09:35 UTC](https://community.dhis2.org/t/learning-how-to-navigate-dhis2-sourcecode/18449 "2013-03-04T09:35:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nyaika\_David](https://dhis2.b-cdn.net/letter_avatar_proxy/v4/letter/n/258eb7/32.png) [@Nyaika\_David](https://community.dhis2.org/u/Nyaika_David)\
**Post date:** [4 March 2013 09:35 UTC](https://community.dhis2.org/t/learning-how-to-navigate-dhis2-sourcecode/18449/1 "2013-03-04T09:35:25Z")

</div>

Hi Guys

I have picked interest in the DHIS2 project, currently am trying to learn the code flow so that i can get actively involved in the development process and contribute towards the development of some modules at a later stage.

well i have kind of gotten stack in my learning process.

this is my understanding of the code flow using struts mvc

> **···**
>
> * * *
> 
> when a user logs in, execution goes to the InitAction.java action class.
> 
> but then in the action class i cant find the code that generates the objects sent to velocity pages.
> 
> please could some one let me know where the code generating the objects sent to velocity is located!
> 
> thanks in advance!
> 
> –  
> Regards  
> David Nyaika  
> Software Developer(SCJP,SCWCD Certified)
> 
> IICS Technologies, Muyenga
> 
> Phone:+256706353274  
> Skype:davie2086  
> Email: [davie2086@gmail.com](mailto:davie2086@gmail.com)

---

<div class="post-metadata">

**Author:** ![morten](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/morten/32/36295_2.png) [@morten](https://community.dhis2.org/u/morten)\
**Post date:** [4 March 2013 14:20 UTC](https://community.dhis2.org/t/learning-how-to-navigate-dhis2-sourcecode/18449/2 "2013-03-04T14:20:37Z")

</div>

Hi

You should be looking at the struts.xml files, e.g. in the dhis-web-light module, you will find a struts.xml where every action is mapped, the actions class then provides the data for the velocity file.

> **···**
>
> –  
> Morten
> 
> On Mon, Mar 4, 2013 at 12:35 PM, Nyaika David [davie2086@gmail.com](mailto:davie2086@gmail.com) wrote:
> 
> > Hi Guys
> 
> > I have picked interest in the DHIS2 project, currently am trying to learn the code flow so that i can get actively involved in the development process and contribute towards the development of some modules at a later stage.
> 
> > well i have kind of gotten stack in my learning process.
> 
> > this is my understanding of the code flow using struts mvc
> > 
> > * * *
> 
> > when a user logs in, execution goes to the InitAction.java action class.
> 
> > but then in the action class i cant find the code that generates the objects sent to velocity pages.
> 
> > please could some one let me know where the code generating the objects sent to velocity is located!
> 
> > –  
> > Regards  
> > David Nyaika  
> > Software Developer(SCJP,SCWCD Certified)
> 
> > IICS Technologies, Muyenga
> > 
> > Phone:+256706353274  
> > Skype:davie2086  
> > Email: [davie2086@gmail.com](mailto:davie2086@gmail.com)
> 
> > thanks in advance!
> 
> > * * *
> > 
> > Mailing list: [https://launchpad.net/~dhis2-devs](https://launchpad.net/~dhis2-devs)
> > 
> > Post to : [dhis2-devs@lists.launchpad.net](mailto:dhis2-devs@lists.launchpad.net)
> > 
> > Unsubscribe : [https://launchpad.net/~dhis2-devs](https://launchpad.net/~dhis2-devs)
> > 
> > More help : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)
