com.mycompany.myusers.action in this package I have all beans and action classes
this is my structure and while building the war I am placing the META-INF/persistance.xml in WEB-INF/classes directory and now I need to add orm.xml so in which path should it be place. Is it be placed with persistance.xml or where I need to place this orm.xml to work.
From the hibernate documentation in chapter 2 with regard to the persistence.xml file
The class element specifies a EJB3 compliant XML mapping file that you will map. The file has to be in the classpath. As per the EJB3 specification, Hibernate EntityManager will try to load the mapping file located in the jar file at META_INF/orm.xml. Of course any explicit mapping file will be loaded too. As a matter of fact, you can provides any XML file in the mapping file element ie. either hbm files or EJB3 deployment descriptor.