This is part of the standard servlet API, and very valuable feature to a 
developer, is there a Jira to vote on?

----- Original Message -----
From: "Borut Bolčina" <borut.bolc...@gmail.com>
To: "Tapestry users" <users@tapestry.apache.org>
Sent: Friday, 27 March, 2009 16:33:06 GMT +02:00 Athens, Beirut, Bucharest, 
Istanbul
Subject: Re: t5: forwarding in index

In T5.0.18 forwarding causes ComponentEventException, so it does not
work. I am desperate because of this.

See thread "integrating T5 a login form with Spring Security" and
"Authentication Spring Security Captcha after 3 failed attempts"

-bb

2009/3/27 Peter Stavrinides <p.stavrini...@albourne.com>:
> Hi Angelo,
>
> I think a server redirect may do what you require, I have not used it yet 
> with Tapestry but it shouldn't be an issue.
> Try:
> RequestDispatcher rd = request.getRequestDispatcher("pathToResource");
> rd.forward(request, response);
>
> You could simply inject the request and response in the page.
>
> Peter
>
> ----- Original Message -----
> From: "Angelo Chen" <angelochen...@yahoo.com.hk>
> To: users@tapestry.apache.org
> Sent: Wednesday, 25 March, 2009 05:17:47 GMT +02:00 Athens, Beirut, 
> Bucharest, Istanbul
> Subject: t5: forwarding in index
>
>
> Hi,
>
> we can return a page class in the index page to redirect to another page,
> but the URL in the browser got changed as well, is there a way to do a
> forward in the index page so that the URL in the browser remain the same,
> example:
>
> http://localhost:8080?myquerystring
>
> I can capture myQueryString in the HttpServletRequest injected in the
> Index.java, and I'd like to forward this to /myOtherPage/p1/p2, without
> browser's url got updated, possible?
>
> Thanks,
>
> Angelo
>
>
>
> --
> View this message in context: 
> http://www.nabble.com/t5%3A-forwarding-in-index-tp22694515p22694515.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to