This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Spring and the fly likes byte[] using Springs Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Spring
Reply Bookmark "byte[] using Springs" Watch "byte[] using Springs" New topic
Author

byte[] using Springs

muhilan govin
Greenhorn

Joined: Jul 26, 2005
Posts: 21
Hi Ranchers,

I am using springs to return mocked up values for the Value Objects. One of the Value Objects has a byte[] property which i want to point to an image(byte[] representation of an Image from local drive). Is there a way through XML Tags to accomplish this? I was even thinking of some utility method which would return this byte[] and some spring way of invoking that method and assigning it to the property(byte[]).

Kindly help me out.

Thanks and Regards,
Muhilan
SCJP,SCWCD,SCBCD,SCBCD5,SCDJWS,SCEA%,Oracle SQL 9i,IBM Certified WAS v6 Core Administrator


Thanks and Regards,
Muhilan
SCJP,SCWCD,SCBCD,SCBCD5,SCDJWS,SCEA5,Oracle SQL 9i,IBM Certified WAS v6 Core Administrator
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: byte[] using Springs
 
Similar Threads
Error instantiating a datasource bean
Facing problem in loading embadded image from xls sheet into oracle database
multiple recursion and stacks
Need Help Reading/Writing an Image using Spring MVC
How to access byte array web method