You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by julio <ju...@softsite.com.br> on 2002/07/23 16:27:01 UTC

Select Data Source in a Sub-application

Hi everybody,

I´m running struts 1.1 and I have an Application(X) with a
Sub-application(Y), each application has his own data source. Suppose
that i´m in the application X(http://localhost/X and then I switch the
context to the application Y (http://localhost/X/Y): Struts change the
data source that is associated with application X to the data-source
that is associated with sub-application Y? 


Thank you,


Julio Cesar



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Select Data Source in a Sub-application

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Tue, 23 Jul 2002, julio wrote:

> Date: Tue, 23 Jul 2002 11:27:01 -0300
> From: julio <ju...@softsite.com.br>
> Reply-To: Struts Users Mailing List <st...@jakarta.apache.org>
> To: struts-user@jakarta.apache.org
> Subject: Select Data Source in a Sub-application
>
> Hi everybody,
>
> I´m running struts 1.1 and I have an Application(X) with a
> Sub-application(Y), each application has his own data source. Suppose
> that i´m in the application X(http://localhost/X and then I switch the
> context to the application Y (http://localhost/X/Y): Struts change the
> data source that is associated with application X to the data-source
> that is associated with sub-application Y?
>

Unfortunately, it will not at the moment -- data source names all end up
being global, so each sub-application (they will be called application
modules in the final release) needs to remember the "key" under which its
connection pool was stored.

>
> Thank you,
>
>
> Julio Cesar
>

Craig


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>