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 an application which was developed on struts frame work.When i deploy and run the application, occasionally i used to get Null Pointer Exception after i login into that page.when i check the log file i used to get "struts-config" must match "(data-sources?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*).Is this error because of the version of struts config file does not match and it does not have a doc type tag in struts config file.
As you demonstrated errors, It appears that there are mismatching in the declared name attributes of either form-beans or any others components (like bean name,action name, data-source ..etc) please verify struts-config.xml once again and restart server.
or if possible please provide me struts-config.xml details so that i can confirm about the error.
This seems to be a question about Struts configuration files, so let's try putting it in the Struts forum.
Joined: Dec 30, 2008
Thanks for the reply.I cannot give the struts config file, Since it is confidential one.When I viewed my config file I found that there is no document type tag that was present in before the strut-config tag. in strut config file .Can I know is it ok if the document type tag is not present in struts config file?