Jeanne Boyarsky wrote:Selvaraju,
You can have the action call or have a helper layer that does the JNDI lookup. I prefer the later.
Extremely sorry for asking question in middle of
Thread than creating a New Thread.
Jeanne Boyarsky ,
AS you said "have a helper layer that does the JNDI lookup" .This would be better .
Now i want to ask
1. Should i write this helper class as a Interceptor and integrate it with Struts 2 Framework ? OR
Do i write a individual class that will be responsible to do this operation ??
What approach will be better .
Waiting for your response .