Why "Module 'null' not found"
2 posts in topic
Flat View  Flat View

Posted By:   alex_del
Posted On:   Monday, December 10, 2007 10:05 AM

When I debug a struts aplication,it fails and I get the error "java.lang.NullPointerException: Module 'null' not found." if the .jsp file contain tag.
And if I get rid of the ,it can run successfully with any other tags.
Can you help me with the problem?Welcome to ask for more info in point from me.

Re: Why "Module 'null' not found"

Posted By:   Christopher_Koenigsberg  
Posted On:   Sunday, December 16, 2007 12:12 AM

Are you maybe giving your "html:form" tag with no "action" attribute? maybe that's what it means by module "null", because you haven't specified any module in the "action"? (by default if your application has no explicitly named modules, you get a single default module with the empty module name so its path relative to the context root is "/", and that's how you usually specify an action like "/foo.do").

Re: Why "Module 'null' not found"

Posted By:   Anonymous  
Posted On:   Friday, December 14, 2007 10:05 AM

I have also faced same problem in the past but it get resolved.Issue was that Form bean entry was missing in the struts-config.xml.You can verify your struts-config to see if all form bean entries are there or not.
About | Sitemap | Contact