thanks,
but i definide in struts my interceptors in this way:
<package name="admin" extends="default" namespace="/admin">
<interceptors>
<interceptor name="adminLogin" class="interceptors.AdminLogin"/>
</interceptors>
in order to use the interceptors only when namespace is /admin/*
but the interceptor is never called!
And:
where i've to put the globalforward?
i putted a the end of the sturts.xml
something like that
<global-forwards>
<forward name="denied" path="/deniedShow.action"/>
</global-forwards>
has to be inside package or something else?
the error is:
2009-05-21 16:56:51,171 ERROR [com.opensymphony.xwork2.util.DomHelper]
(HDScanner) Element type "global-forwards" must be declared. at
(null:92:22)
org.xml.sax.SAXParseException: Element type "global-forwards" must be declared.
2009/5/21 Stefano <[email protected]>:
> 2009/5/21 Paweł Wielgus <[email protected]>:
>> global forward
>
> thanks,
>
> but i definide in struts my interceptors in this way:
>
> <package name="admin" extends="default" namespace="/admin">
> <interceptors>
> <interceptor name="adminLogin" class="interceptors.AdminLogin"/>
> </interceptors>
>
> in order to use the interceptors only when namespace is /admin/*
>
> but the interceptor is never called!
>
> ideas?
>
> thanks
>
> --
> Stefano
>
--
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]