<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>GrassField &#187; struts</title>
	<atom:link href="http://blog.grassfield.org/category/programming/java/struts/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.grassfield.org</link>
	<description>Classroom notes on Java SE, EE &#38; ME</description>
	<lastBuildDate>Fri, 02 Jul 2010 06:29:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Expression eKey is undefined on line 71, column 63 in template/simple/fielderror.ftl</title>
		<link>http://blog.grassfield.org/2010/05/12/expression-ekey-is-undefined-on-line-71-column-63-in-templatesimplefielderror-ftl/</link>
		<comments>http://blog.grassfield.org/2010/05/12/expression-ekey-is-undefined-on-line-71-column-63-in-templatesimplefielderror-ftl/#comments</comments>
		<pubDate>Wed, 12 May 2010 10:10:07 +0000</pubDate>
		<dc:creator>Pandian R</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[struts]]></category>
		<category><![CDATA[fielderror]]></category>

		<guid isPermaLink="false">http://blog.grassfield.org/?p=311</guid>
		<description><![CDATA[This is one nasty exception occured due to carelessness.  I have added one field error in my action.
super.addFieldError("userName", "User name is null");
Instead of the field name &#8220;userName&#8221;, I have given the variable itself  
super.addFieldError(userName, "User name is null");
Replacing this removed this error.
10:40:24,859        ERROR runtime:96 -
Expression eKey is undefined on line 71, column 63 in [...]]]></description>
		<wfw:commentRss>http://blog.grassfield.org/2010/05/12/expression-ekey-is-undefined-on-line-71-column-63-in-templatesimplefielderror-ftl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>problem with multiple tiles configuration files</title>
		<link>http://blog.grassfield.org/2010/04/27/problem-with-multiple-tiles-configuration-files/</link>
		<comments>http://blog.grassfield.org/2010/04/27/problem-with-multiple-tiles-configuration-files/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 11:52:55 +0000</pubDate>
		<dc:creator>Pandian R</dc:creator>
				<category><![CDATA[struts]]></category>
		<category><![CDATA[struts 2]]></category>
		<category><![CDATA[tiles]]></category>

		<guid isPermaLink="false">http://blog.grassfield.org/?p=280</guid>
		<description><![CDATA[This is an interesting problem for this newbie. I have one common tiles configuration file tiles.xml. I decided to split it into pieces based on modules. The syntax allows me to do it. the web.xml entry changed from
&#60;context-param&#62;
 &#60;param-name&#62;org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG&#60;/param-name&#62;
 &#60;param-value&#62;/WEB-INF/tiles.xml&#60;/param-value&#62;
 &#60;/context-param&#62;
to
&#60;context-param&#62;
 &#60;param-name&#62;org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG&#60;/param-name&#62;
 &#60;param-value&#62;/WEB-INF/tiles-license.xml,/WEB-INF/tiles-common.xml&#60;/param-value&#62;
 &#60;/context-param&#62;
Fortunately/Unfortunately, I declared all my basic templates in tiles-common.xml which is reused [...]]]></description>
		<wfw:commentRss>http://blog.grassfield.org/2010/04/27/problem-with-multiple-tiles-configuration-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Passing Struts values to Javascript</title>
		<link>http://blog.grassfield.org/2008/11/30/passing-struts-values-to-javascript/</link>
		<comments>http://blog.grassfield.org/2008/11/30/passing-struts-values-to-javascript/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 19:45:16 +0000</pubDate>
		<dc:creator>Pandian R</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[struts]]></category>

		<guid isPermaLink="false">http://blog.grassfield.org/2008/11/30/passing-struts-values-to-javascript/</guid>
		<description><![CDATA[


This another day to get into struts. See, I have an input type as image and onclick function.
&#60;input type=&#8221;image&#8221; name=&#8221;" src=&#8221;/teller/images/close.gif&#8221; onclick=&#8221;del(200);&#8221;&#62;
The 200 given as parameter should be passed from struts form bean. Different type of combinations lead to error. finally defining a variable helped as follows.
&#60;bean:define id=&#8221;myID&#8221; name=&#8221;resultI&#8221; property=&#8221;id&#8221;&#62;&#60;/bean:define&#62;
&#60;html:image src=&#8221;/teller/images/close.gif&#8221;  onclick=&#8221;&#60;%=&#8221;del(&#8220;+myID+&#8221;);&#8221; %&#62;&#8221;&#62;&#60;/html:image&#62;
]]></description>
		<wfw:commentRss>http://blog.grassfield.org/2008/11/30/passing-struts-values-to-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Way to Struts 1.2 DataSource</title>
		<link>http://blog.grassfield.org/2008/11/23/way-to-struts-12-datasource/</link>
		<comments>http://blog.grassfield.org/2008/11/23/way-to-struts-12-datasource/#comments</comments>
		<pubDate>Sat, 22 Nov 2008 20:31:03 +0000</pubDate>
		<dc:creator>Pandian R</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[datasource]]></category>
		<category><![CDATA[jdbc]]></category>
		<category><![CDATA[struts]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://blog.grassfield.org/2008/11/23/way-to-struts-12-datasource/</guid>
		<description><![CDATA[
Today I had downloaded struts 1.2.7 and tried to write an application. (I know I am selecting a bit old.) I configured the datasource in struts. Alas. When I tried to start my server, tomcat 6.0, I got the error saying "java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource". With Googling I found struts-legacy.jar need to downloaded and copied to lib [...]]]></description>
		<wfw:commentRss>http://blog.grassfield.org/2008/11/23/way-to-struts-12-datasource/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>validator by night</title>
		<link>http://blog.grassfield.org/2007/06/17/validator-by-night/</link>
		<comments>http://blog.grassfield.org/2007/06/17/validator-by-night/#comments</comments>
		<pubDate>Sun, 17 Jun 2007 18:56:00 +0000</pubDate>
		<dc:creator>Pandian R</dc:creator>
				<category><![CDATA[struts]]></category>

		<guid isPermaLink="false">http://grassfield.org/blog/?p=50</guid>
		<description><![CDATA[I was trying to look at the validator plugin for struts. Struts counted the number of its beginners by one, ya. that&#8217;s me!!
Previously I have a simple collection of jsps and classes. something like get employee number, and display the employee details. employee number is in the form of xxx-xx-xxxx, where an x is a [...]]]></description>
		<wfw:commentRss>http://blog.grassfield.org/2007/06/17/validator-by-night/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannot find message resources under key org.apache.struts.action.MESSAGE</title>
		<link>http://blog.grassfield.org/2007/06/06/cannot-find-message-resources-under-key-orgapachestrutsactionmessage/</link>
		<comments>http://blog.grassfield.org/2007/06/06/cannot-find-message-resources-under-key-orgapachestrutsactionmessage/#comments</comments>
		<pubDate>Tue, 05 Jun 2007 20:17:00 +0000</pubDate>
		<dc:creator>Pandian R</dc:creator>
				<category><![CDATA[struts]]></category>

		<guid isPermaLink="false">http://grassfield.org/blog/?p=48</guid>
		<description><![CDATA[I am very new to struts, and today I did something to get an info from DB and to display it on a jsp with struts. Once I completed the coding and restarted the webapp, i got the following error in index.jsp itself.Cannot find message resources under key org.apache.struts.action.MESSAGE.
Clearly the trace points out the place [...]]]></description>
		<wfw:commentRss>http://blog.grassfield.org/2007/06/06/cannot-find-message-resources-under-key-orgapachestrutsactionmessage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tomcat &#8211; struts datasource &#8211; mysql</title>
		<link>http://blog.grassfield.org/2006/10/19/tomcat-struts-datasource-mysql/</link>
		<comments>http://blog.grassfield.org/2006/10/19/tomcat-struts-datasource-mysql/#comments</comments>
		<pubDate>Thu, 19 Oct 2006 03:34:00 +0000</pubDate>
		<dc:creator>Pandian R</dc:creator>
				<category><![CDATA[datasource]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[struts]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://grassfield.org/blog/?p=15</guid>
		<description><![CDATA[I was configuring struts DS to connect to mysql today morning. i got failed day be4 yesterday, it ended with some classnot found exception. ooops! i noted tday, there was some error in the webpage i read. here is the details.
mydb name: shikshau/n: rootpwd: mysql
here is the datasource part of my struts-config.xml

< type="org.apache.tomcat.dbcp.dbcp.BasicDataSource">   [...]]]></description>
		<wfw:commentRss>http://blog.grassfield.org/2006/10/19/tomcat-struts-datasource-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
