Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: schema aop spring 2 struts actions

  1. #11
    Join Date
    May 2007
    Posts
    6

    Default files from tutorial

    Hopefully, the attachment will have what you need Javier.

    Mike
    Attached Files Attached Files

  2. #12
    Join Date
    Sep 2007
    Posts
    16

    Default

    I am trying to do the same thing but with no luck.

    Here's my thread:
    http://forum.springframework.org/showthread.php?t=44324

    I'm basically doing the same thing but it's not working for me.

    One thing the example posted above is doing differently is repeating the aspect configuration and advice bean in both the struts-config.xml and the applicationContext-web.xml. Not only is it repeated in both but both are loaded in the struts-config.xml plugin part - that I don't understand at all. Why repeat it and why load both ????

    This is in the struts-config.xml in the attachment from the post above:
    Code:
    	<plug-in
    		className="org.springframework.web.struts.ContextLoaderPlugIn">
    		<set-property property="csntextConfigLocation"
    			value="/WEB-INF/action-servlet.xml,/WEB-INF/applicationContext-web.xml" />
    	</plug-in>
    Note how we're loading both - I don't get it.
    Last edited by LordHalbert; Sep 28th, 2007 at 06:23 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •