You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nathan Coast <na...@codeczar.com> on 2004/09/12 13:37:37 UTC
no default struts config - NullPointerException
Hi, if this is the only module defined in the web.xml I get a NullPointerException
<init-param>
<param-name>config/upload</param-name>
<param-value>/WEB-INF/upload/struts-config.xml</param-value>
</init-param>
if I add this, the problem goes away
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/upload/struts-config.xml</param-value>
</init-param>
is this correct? Is it mandatory to have the default 'config' element?
cheers
Nathan
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org