for a detected device I would like to use an appropriate xsl file.
To do this I have created a DeviceDisplayDetector object I have attempted to inject in
deviceDisplayTypes so that I can get at the associated xsl for the device that has made a request.
The configuration code within my applicationContext.xml is as follows:-
I keep getting the following error:-
applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException:
<Line 96, Column 12>: XML-20148: (Error) Invalid element 'util:map' in content of 'beans', expected elements '[import, alias, bean]'.
posted 10 years ago
Can a bean ref a util:map as in my example, or can anybody suggest a better way.