dcsimg
How to use J2ee Server's Datasource in Struts
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Thomas_Tai
Posted On:   Tuesday, January 22, 2002 10:10 AM

I want to use some way to setup struts-config.xml ,that can use jndi .
But no document shows me how .
Does anybody has any comments??





Thomas
http://www.iasolution.net
mailto:thomas.tai@iasolution.net

Re: How to use J2ee Server's Datasource in Struts

Posted By:   Ted_Husted  
Posted On:   Thursday, January 24, 2002 01:12 AM


The Struts config is designed to load some objects for
use by the ActionServlet controller. Other services, like JNDI, can
be setup in the usual way. You can then access them
from the Action as you would using a plain HTTP servlet.
The ActionServet is exposed to the Action through
getServer().



HTH -Ted

About | Sitemap | Contact