Hi.
I am using WSAD 5. I have a java project to manage my databases using hibernate. I wanted to put a web interface to it, and coded it separately using struts.
I made a jar with the database (hibernate) app and put it in the /WEB-INF/lib directory of the struts app.
The only problem is that when I initialize hibernate, I get a HibernateException: /hibernate.cfg.xml not found. I have tried to put that file in many places without success. I don't want to hard code the name in the java code.
What is the default location, or what configuration parameters need to be adjusted for the struts app to be able to find that file?
thanks.
fid.
|