Patrice Le Cozler ha scritto:
My business logic is not in actions but is not struts-independant
since it
uses datasources initialized during struts servlet loading. Is there a
way
to get theses datasources and more generally get struts config from
another
servlet inside the same webapp ?
For datasources, you can use JNDI (the simplest way):
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
Or you can use Spring IoC container (this is what I prefer):
http://www.springframework.org/
About Struts config, I don't know how you it is useful for a webservice,
what do you want to do with it?
Ciao
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]