<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Inject Spring Beans into JSP Tags</title>
	<atom:link href="http://www.digizenstudio.com/blog/2006/05/07/inject-spring-beans-into-jsp-tags/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.digizenstudio.com/blog/2006/05/07/inject-spring-beans-into-jsp-tags/</link>
	<description>Jing Xue's Weblog</description>
	<pubDate>Fri, 21 Nov 2008 12:01:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Jing Xue</title>
		<link>http://www.digizenstudio.com/blog/2006/05/07/inject-spring-beans-into-jsp-tags/#comment-95561</link>
		<dc:creator>Jing Xue</dc:creator>
		<pubDate>Wed, 02 Jul 2008 14:59:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.digizenstudio.com/blog/?p=96#comment-95561</guid>
		<description>Gareth, sorry I haven't got around to play with this with 2.5. 2.5 is supposed to be a drop-in upgrade though, so I'm pretty sure the technique should still work. Did you ask on the spring forums?</description>
		<content:encoded><![CDATA[<p>Gareth, sorry I haven&#8217;t got around to play with this with 2.5. 2.5 is supposed to be a drop-in upgrade though, so I&#8217;m pretty sure the technique should still work. Did you ask on the spring forums?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gareth</title>
		<link>http://www.digizenstudio.com/blog/2006/05/07/inject-spring-beans-into-jsp-tags/#comment-95322</link>
		<dc:creator>Gareth</dc:creator>
		<pubDate>Thu, 26 Jun 2008 04:41:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.digizenstudio.com/blog/?p=96#comment-95322</guid>
		<description>Hi,

I've followed your instructions with no luck. I am using Spring 2.5.

Could you please tell me where I am going wrong?

I have changed the applicationContext.xml from  to  and have added the namespace  xmlns:context="http://www.springframework.org/schema/context"
I have also added all the relevant AspectJ libraries 

Now, I get an error of :
SEVERE: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.config.internalBeanConfigurerAspect': Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static org.springframework.beans.factory.aspectj.AnnotationBeanConfigurerAspect org.springframework.beans.factory.aspectj.AnnotationBeanConfigurerAspect.aspectOf()] threw exception; nested exception is org.aspectj.lang.NoAspectBoundException: Exception while initializing org_springframework_beans_factory_aspectj_AnnotationBeanConfigurerAspect: java.lang.InstantiationError: org.springframework.beans.factory.wiring.BeanConfigurerSupport

Thanks in advance</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;ve followed your instructions with no luck. I am using Spring 2.5.</p>
<p>Could you please tell me where I am going wrong?</p>
<p>I have changed the applicationContext.xml from  to  and have added the namespace  xmlns:context=&#8221;http://www.springframework.org/schema/context&#8221;<br />
I have also added all the relevant AspectJ libraries </p>
<p>Now, I get an error of :<br />
SEVERE: Context initialization failed<br />
org.springframework.beans.factory.BeanCreationException: Error creating bean with name &#8216;org.springframework.context.config.internalBeanConfigurerAspect&#8217;: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static org.springframework.beans.factory.aspectj.AnnotationBeanConfigurerAspect org.springframework.beans.factory.aspectj.AnnotationBeanConfigurerAspect.aspectOf()] threw exception; nested exception is org.aspectj.lang.NoAspectBoundException: Exception while initializing org_springframework_beans_factory_aspectj_AnnotationBeanConfigurerAspect: java.lang.InstantiationError: org.springframework.beans.factory.wiring.BeanConfigurerSupport</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jing Xue</title>
		<link>http://www.digizenstudio.com/blog/2006/05/07/inject-spring-beans-into-jsp-tags/#comment-25404</link>
		<dc:creator>Jing Xue</dc:creator>
		<pubDate>Thu, 18 Jan 2007 04:15:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.digizenstudio.com/blog/?p=96#comment-25404</guid>
		<description>netsesame, how are you loading that other xml file in which the bean is defined?  Maybe try importing that file into applicationContext.xml?</description>
		<content:encoded><![CDATA[<p>netsesame, how are you loading that other xml file in which the bean is defined?  Maybe try importing that file into applicationContext.xml?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: netsesame</title>
		<link>http://www.digizenstudio.com/blog/2006/05/07/inject-spring-beans-into-jsp-tags/#comment-25323</link>
		<dc:creator>netsesame</dc:creator>
		<pubDate>Wed, 17 Jan 2007 13:09:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.digizenstudio.com/blog/?p=96#comment-25323</guid>
		<description>A question hopes to resolve.

I need to invoke a bean's method in MyTag's doTag method. I can use ApplicatonContextUtil to get an applicationContext and then use getBean to get such bean. However, such bean configuration must be in the applicationContext.xml config file.

The question is, if the bean defined in another xml file, how do I can get it from the applicationContext variable?

Thanks.</description>
		<content:encoded><![CDATA[<p>A question hopes to resolve.</p>
<p>I need to invoke a bean&#8217;s method in MyTag&#8217;s doTag method. I can use ApplicatonContextUtil to get an applicationContext and then use getBean to get such bean. However, such bean configuration must be in the applicationContext.xml config file.</p>
<p>The question is, if the bean defined in another xml file, how do I can get it from the applicationContext variable?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jing Xue</title>
		<link>http://www.digizenstudio.com/blog/2006/05/07/inject-spring-beans-into-jsp-tags/#comment-24985</link>
		<dc:creator>Jing Xue</dc:creator>
		<pubDate>Sat, 13 Jan 2007 16:52:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.digizenstudio.com/blog/?p=96#comment-24985</guid>
		<description>p3t0r,  which problems are you getting?  I use compile-time weaving (i.e. iajc).  -- Jing</description>
		<content:encoded><![CDATA[<p>p3t0r,  which problems are you getting?  I use compile-time weaving (i.e. iajc).  &#8212; Jing</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: p3t0r</title>
		<link>http://www.digizenstudio.com/blog/2006/05/07/inject-spring-beans-into-jsp-tags/#comment-24903</link>
		<dc:creator>p3t0r</dc:creator>
		<pubDate>Fri, 12 Jan 2007 08:28:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.digizenstudio.com/blog/?p=96#comment-24903</guid>
		<description>Nice example!

But when I was trying to get you example to work I had some problems,  some information seems to be lacking....?

Are you using this in combination with Load or Runtime weaving, how did you make the setup work?</description>
		<content:encoded><![CDATA[<p>Nice example!</p>
<p>But when I was trying to get you example to work I had some problems,  some information seems to be lacking&#8230;.?</p>
<p>Are you using this in combination with Load or Runtime weaving, how did you make the setup work?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
