[jboss-user] [Javassist user questions] - Re: how to load external property file in JBOSS

jefo do-not-reply at jboss.com
Fri Feb 22 14:39:36 EST 2008


Hi guys,

I have followed some tips in other posts but I cannot make this works.

My properties-service.xml

  | <attribute name="Properties">
  |   myProperty=myPropertyValue
  | </attribute>
  | 

my app-servlet.xml

  | <bean id="MyService" class="acme.MyServiceImp">
  |   <property name="myProperty" value="${myProperty}"/>
  | </bean>
  | 

The issue is that the ${myProperty} value in my app-servlet.xml are not bind to the correct value that I spect for, myPropertyValue.

Is there some additional spring conf that I forgot?!?

Any help will be apreciate, tks.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131543#4131543

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131543



More information about the jboss-user mailing list