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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "using spring expressions" Watch "using spring expressions" New topic
Author

using spring expressions

sam bartl
Ranch Hand

Joined: Oct 29, 2010
Posts: 44
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: 17250
    
    6

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