struts-user mailing list archives

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

Hi,

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
using JSONPLUGIN.

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.

Regards

Rajib
Product Architect
-- 
View this message in context: http://www.nabble.com/Struts-2-dojo-jsonrpc-SMD-problem-tp21286882p21286882.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message