Announcement Announcement Module
Collapse
No announcement yet.
Spring and ContextLoaderPlugIn for Struts Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring and ContextLoaderPlugIn for Struts

    Hi,

    i want to use the ContextLoaderPlugInf for Struts, defined in the struts-config.xml:
    Code:
    <plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
    <set-property property="contextConfigLocation"
    value="/WEB-INF/myWebApp.xml"/>
    </plug-in>
    This works fine. But in myWebApp Context i have a bean, that needs a reference of another bean
    Code:
    <bean name="/customerOverview" class="at.demolsky.customer.struts.CustomerOverviewAction">
        <property name="customerDAO">
          <ref bean="customerDAO"/>
        </property>
    </bean>
    , defined in another context-file which is inside a jar-file, located in the lib folder. Is it possible to use a context-file of a jar file? I always get an exception, that the file can't be find.

    Thanks
    markus

  • #2
    I am alone with this problem?

    Does nobody know an advice????

    thanks

    Comment

    Working...
    X