Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
据我所知,我可以通过使用 spring-el 来注入
<property name="someProperty" value="#{someBean.aMethod()}" />
但是我们的代码约定要求名称 bean 带有前缀,如
<bean id="{moduleName.ClassName}" />
这将导致 spring-el 将 moduleName 解析为不存在的 bean。
有什么办法可以逃脱这个点吗?
试试<property name="someProperty" value="#{@'moduleName.ClassName'.aMethod()}" />。
<property name="someProperty" value="#{@'moduleName.ClassName'.aMethod()}" />
希望这可以帮助。
I've noticed that there are 2 ways we can create ActiveX object in JavaScript, one is by embedding:
<object id="TestControl" classid="clsid:xxx-xx-xx-