I am pretty sure that mine looks like that:
public class Login implements ActionBean {
private FnfActionBeanContext context;
private String username;
private String pass;
private String targetUrl;
public void setContext(ActionBeanContext arg) {
if ( arg instanceof FnfActionBeanContext)
System.out.print("is good one");
else System.out.println("not a winner " +
arg.getClass().getName());
context = (FnfActionBeanContext) arg;
}
public FnfActionBeanContext getContext() {
return context;
}
}
--
Pat Farrell
http://www.pfarrell.com/
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users