setresponsepage(foo);throw new restartresponseexception();

-igor

On Mon, Apr 13, 2009 at 3:13 AM, Carlo Camerino <[email protected]> wrote:
> Hi I have This Page,
>
> This page is handled by my link....
>
> public UploadFeedBackPageMain() {
> User user = this.getSessionUser();
> if (user.getCommunityType().equalsIgnoreCase("COURIER")) {
> logger.debug("Directing to upload feedback file.");
> Courier courier =
> this.courierService.findCourierByCode(user.getCommunityCd());
> this.setResponsePage(new UploadFeedBackPageTwo(courier));
> }
> else {
> logger.debug("Directing to upload feedback file with courier search.");
> // this.setRedirect(true);
> // this.redirectToInterceptPage(new SearchCourierPage());
> //this.setResponsePage(new SearchCourierPage());
>
> }
> }
>
> I want to go to a different page upon load.
> What command can I use to ti?
>
> Thanks
> Carlo
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to