Hi,

in my application there is an action class named ShowSearchResult, which
is derived from BaseActionSupport. BaseActionSupport implements
ServletContextAware. The app stores some object in the servlet context,
e.g. an object for the database connection. Other classes derived from
BaseActionSupport have no problem to access the servlet context.
In ShowSearchResult there is a method named getRows. I import the
jsonplugin and annotate getRows with the SMDMethod tag. The execution of
getRows via javascript works just fine, but I have no access to the
servlet context in this method. Is there any way to get access to the
servlet context?

Andreas Daab


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to