Why do you want to do this? dukehoops wrote:
Hi,I'd like to redirect requests for page A to page B without constructing page A. Typically I'd use URL parsing in a servlet filter to accomplish this but would like to figure out an OO way to do so. In my RequestCycle I tried: @Override protected void onBeginRequest() { if(PageA.class.equals(this.getResponsePageClass()) && someCondition) { this.setResponsePage(pageB); } super.onBeginRequest(); } The problem is that this.getResponsePageClass() is null in onBeginRequest. Is overriding a RequestCycle method the right way to address this problem? If so which method should I override given that: -I need to ascertain that intended request target is PageA -I'd like to avoid constructing page A thanks -nikita
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
