Parth Patel

Greenhorn
+ Follow
since Oct 13, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Parth Patel

Tommy Delson,

The command class is already defined. I didn't understood what exactly you mean to say. The same structure is applied everywhere in the project and everything else runs perfect. I am not able to understand why only this module fails to load for the first time.

Did you mean to say that I need to set the command class and command name in the constructor of the controller ?

for e.g :


I tried it with the above code too but it didn't help.


Please can you give me an example related to my code or explain a little more detail about the code ?

Thanks,
Parth
12 years ago
I am new to Spring and I am not able to solve this issue. I read almost all the post regarding this issue but I am not able to figure out the problem in my code.

java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name 'cmd' available as request attribute

I am getting this error only at the loading of the page for the first time. In edit mode it works perfectly fine.

Controller Class Object

JSP

Bean

Object


Any help will be appreciated.

Thanks,
Parth
12 years ago