This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am working on Online Banking project, right now on the enrollment part. My code is not yet complete, still have to take care of validations, set the results etc. I wanted to check whether my code written until now works correctly. But I am getting the Module 'null' exception. I have copied all the jar files in WEB-INF/lib directory. struts-config and web.xml are under WEB-INF directory.
Can you help me find where I am going wrong. Any help will be greatly appreciated!
Thank you so much for the reply.. I did check the link that you have given.
1. Accordingly I changed the value of load on startup from 1 to 2
2. I checked once again that I have all the jar files in WEB-INF/lib directory
But I still get that exception
3. I am not sure if I am checking the correct log files. I checked the log files under tomcat directory and did not find any error there.
Still trying to figure out whats wrong.
Is thats how your web.xml looks, than you are putting wrong DOCTYPE dtd deceleration,
Also the problem is with the struts configuration, what exactly you need to post is struts-config.xml, action class and may by action form, not database code and any helper classes. It may be possible that some one who want to help you will just move on when he/she saw such long, untidy code .
Joined: Jul 03, 2009
Thanks again Sagar. I changed the web.xml DTD as you pointed out. But I am still getting the same exception. I will once again post my question in a new topic, now with only the required files.
Ok, one thing I would like to see in your next post, i.e
Use The Code Tags Also, I request you to validate the XML before posting them here, that's just rectify error at first place, and we needn't to do an extra work of validation and checking the well formedness of XML.
Here is an error, </xml> tag has no matching start tag