struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RajibJana <>
Subject Struts 2 dojo jsonrpc SMD problem
Date Mon, 05 Jan 2009 07:51:56 GMT


I am building a web application using Dojo 1.2.2 and struts 2.0.14 with
spring plugin.

The application is using Dojo JSONservice to call the remote action methods

The problem is that while all the interceptors ( defined in default stack)
are called during creation of proxy object (by json rpc), no interceptors
are called when the SMD method is called, it bypasses the interceptor stack.
In fact, by calling SMD method, a new action instance is created, but none
of the interceptors are called.

I want the session map set by the SessionAware interceptor to get some
information like user details etc.

My question :

1) How can I force struts2/spring to consider interceptor stack while
creating an action instance when SMD method is called?

2) Can I get the list of interceptors for a action class inside an action
method ( SMD method)? Then I can call programmatically all the configured
interceptors inside the SMD method.

Your help is urgently needed.


Product Architect
View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message