thanks Matt, does this snippet work?
ApplicationContext context = new ClassPathXmlApplicationContext( new String
[] {"applicationContext-service.xml"});
----- Original Message -----
From: "Matt Raible" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, September 04, 2007 2:06 PM
Subject: Re: [appfuse-user] load an applicationContext from a jar file...
> Yes, just use classpath:/filename.xml. If there's multiple
> classloaders (the previous doesn't work), use
> classpath*:/filename.xml.
>
> Matt
>
> On 9/4/07, Julius <[EMAIL PROTECTED]> wrote:
> >
> >
> > Is it possible to use an applicationContext from a .jar file? I wanted
to
> > use the same bean definitions a web app to an ordinary application...
>
>
> --
> http://raibledesigns.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]