This content has been marked as final.
Show 3 replies
-
1. Re: identity.logout from javascript
msduk Jul 25, 2007 8:11 AM (in response to msduk)I was trying this as a servlet but any attempts to reference Identity from inside the doGet results in
java.lang.IllegalStateException: No active session context -
2. Re: identity.logout from javascript
msduk Jul 25, 2007 8:34 AM (in response to msduk)I think my url-pattern is incorrect in my components.xml can anyone tell me what it should be.
<servlet-mapping>
<servlet-name>logout</servlet-name>
<url-pattern>/logout</url-pattern>
</servlet-mapping>
<web:context-filter url-pattern="/logout/*" />
I think I have tried most combinations now... -
3. Re: identity.logout from javascript
shane.bryzak Jul 25, 2007 1:07 PM (in response to msduk)The easiest way to do this would be with a Seam Remoting call. Something like this should work:
Seam.Remoting.eval("#{identity.logout}");