| Author |
Struts2 - execAndWait Interceptor
|
sri ram kotireddy
Greenhorn
Joined: Mar 13, 2012
Posts: 16
|
|
Hi folks,
After submitting a form with values, it goes fine to the wait result but in the action class i am getting null values to the form parameters.
Any suggessions,
Thanks in advance.
ram.
|
 |
Mohana Rao Sv
Ranch Hand
Joined: Aug 01, 2007
Posts: 485
|
|
|
Provide more details, Let us know what and how you are doing?
|
ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
|
 |
sri ram kotireddy
Greenhorn
Joined: Mar 13, 2012
Posts: 16
|
|
|
|
 |
sri ram kotireddy
Greenhorn
Joined: Mar 13, 2012
Posts: 16
|
|
In the above code, I am getting null values for the salary and name.
Can you please help me with that?
Ram.
|
 |
sri ram kotireddy
Greenhorn
Joined: Mar 13, 2012
Posts: 16
|
|
Hi I did some research and came to know that, while using execAndWait interceptor the session will be lost. So the action class must implement the SessionAware.
I tried this one but seems to be not working for me.
Any Suggessions Ranchers.
Thanks in advance.
Ram.
|
 |
Mohana Rao Sv
Ranch Hand
Joined: Aug 01, 2007
Posts: 485
|
|
Here you are configured executeAndWait interceptor explicitly so it's not going execute your default interceptor that's why your properties not available in your action. And add completeStack reference.
|
 |
sri ram kotireddy
Greenhorn
Joined: Mar 13, 2012
Posts: 16
|
|
Thanks Mohana Rao. Its working.
Praveen.
|
 |
sri ram kotireddy
Greenhorn
Joined: Mar 13, 2012
Posts: 16
|
|
|
thanks
|
 |
 |
|
|
subject: Struts2 - execAndWait Interceptor
|
|
|