Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
xml
xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:aop="http://www.springframework.org/schema/aop"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/dtdbeans/spring-beans.dtdxsd
       http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd">

    <bean id="catalog"
          singleton="true"
          class="com.opensymphony.webwork.example.ajax.catalog.TestCatalog" />

    <bean id="shoppingCart"
          class="com.opensymphony.webwork.example.ajax.cart.DefaultCart">
          <aop:scope type="session" />
    </bean>


</beans>

...