<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: nested exception is java.lang.IllegalStateException: Cannot create command without commandClass</title>
	<atom:link href="http://www.techpitcher.com/nested-exception-is-javalangillegalstateexception-cannot-create-command-without-commandclass.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.techpitcher.com/nested-exception-is-javalangillegalstateexception-cannot-create-command-without-commandclass.html</link>
	<description></description>
	<lastBuildDate>Thu, 07 Apr 2011 07:04:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Abhishek</title>
		<link>http://www.techpitcher.com/nested-exception-is-javalangillegalstateexception-cannot-create-command-without-commandclass.html/comment-page-1#comment-5</link>
		<dc:creator>Abhishek</dc:creator>
		<pubDate>Wed, 10 Sep 2008 18:06:15 +0000</pubDate>
		<guid isPermaLink="false">http://techpitcher.com/?p=31#comment-5</guid>
		<description>It seems that you are not setting command class. If you are using AbstractCommandController then you need to set command class for that controller. An instance of this command class gets populated and validated on each request.
if you are not sure which command class to use or you don’t have any data in the request which needs to be populated then you can use Object as command bean.

public LoginController() {
setCommandClass(Object.class);
}</description>
		<content:encoded><![CDATA[<p>It seems that you are not setting command class. If you are using AbstractCommandController then you need to set command class for that controller. An instance of this command class gets populated and validated on each request.<br />
if you are not sure which command class to use or you don’t have any data in the request which needs to be populated then you can use Object as command bean.</p>
<p>public LoginController() {<br />
setCommandClass(Object.class);<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>

