File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes using spring expressions Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Reply Bookmark "using spring expressions" Watch "using spring expressions" New topic
Author

using spring expressions

sam bartl
Ranch Hand

Joined: Oct 29, 2010
Posts: 43
I have this traditional bean using methodInvokingfactoryBean



please tell me how to write the same using expressions ?
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17225
    
    1

basically use

#{systemProperties.find_service_url}

Where find_service_url is the property name in System.

That is using Spring's SpEL.

So if I want to set a property in my MarkService with that value




Mark>


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: using spring expressions
 
Similar Threads
Spring: Not able to redirect to a bean
Spring Transaction using Spring AOP
start up jobs on production environment
How to Pass arguements in errors.rejectValue()
how do i solve this error caused due to problem in spring initiation on tomcat