package your.app; import your.app.components.Main; import com.webobjects.appserver.WOActionResults; import com.webobjects.appserver.WODirectAction; import com.webobjects.appserver.WORequest; public class DirectAction extends WODirectAction { public DirectAction(WORequest request) { super(request); } @Override public WOActionResults defaultAction() { return pageWithName(Main.class.getName()); } }