History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: APF-830
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Matt Raible
Reporter: Theo Platt
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
AppFuse

Missing imports in Struts2 PersonActionTest example code

Created: 28/Jun/07 08:35 AM   Updated: 13/Aug/07 11:26 PM
Component/s: Documentation
Affects Version/s: 2.0-M5
Fix Version/s: 2.0-RC1


 Description  « Hide
Need to include

import org.springframework.mock.web.MockHttpServletRequest;
import org.apache.struts2.ServletActionContext;

in PersonActionTest.java to compile. This is not mentioned in the first PersonActionTest.java snippet nor when you add the testEdit(), testSave() and testRemove() methods (which need the imports)

Theo



 All   Comments   Change History   FishEye      Sort Order: