Hi,
I'am trying to test sessionAware action with strutstestcase but I get NullPointerException while trying to insert stuff into the session. It seems that interceptor inserts null into the action's session. Has someone solved the problem or is there some kind of work around?
Are you sure that running through the action proxy execute simulates an entire request?
Ville Korhonen
Greenhorn
Joined: Jun 03, 2010
Posts: 3
posted
1
I found the solutions from dicital sanctum. I was lazy and thought that execute method would do everything for me Thanks for help.
Here is the code if someone else needs it
Soheil Tayari
Greenhorn
Joined: Apr 04, 2008
Posts: 29
posted
0
Thanks dude that's exactly what I was looking for.