You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Alexandre Mendonça Lima <al...@embasa.ba.gov.br> on 2007/01/26 20:18:06 UTC

S2 - Error when I use include in struts.xml

Hello,

When I use tag include in my struts.xml, I get a error on startup of my 
application.

My struts.xml file is:
<struts>
<package name="jsime-default" extends="struts-default">
    <!-- ommited -->
</package>
<include file="struts-controleAcesso.xml"/>
</struts>

My struts-controleAcesso.xml is:
<struts>
<package name="jsime-controleAcesso" extends="jsime-default">
    <action name="Usuario_*" 
class="embasa.jsime.view.action.controleAcesso.UsuarioAction" method="{1}">
        <result 
name="success">/pages/ControleAcessoUsuarioListagem.jsp</result>
        <result 
name="input">/pages/ControleAcessoUsuarioCadastro.jsp</result>
    </action>
</package>
</struts>

The error that I catched in console is:
SEVERE: Exception starting filter struts2
Error building results for action Usuario_* in namespace - action - 
file:/F:/Alexandre/Sistemas/eclipseworkspace/JSIME/WEB-INF/classes/struts-controleAcesso.xml:8:99

Anyone know what is, please?

Thanks,

Alexandre Lima 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org