I think you might be trying to return an URL from an AJAX event handler method and not from a rendereing lifecycle event method.
The URL return type is only allowed in the latest. On Wed, Nov 19, 2008 at 3:24 PM, Sonu bhavsar <[EMAIL PROTECTED]>wrote: > > I had tried this solution but it doesn't work. > It shows the following exception > > Return type java.net.URL can not be handled. Configured return types are > java.lang.Class, java.lang.Object, java.lang.String, > org.apache.tapestry.Link, org.apache.tapestry.StreamResponse, > org.apache.tapestry.runtime.Component, > org.apache.tapestry.services.ActionResponseGenerator. > > Thanks > Amol > > Thiago H. de Paula Figueiredo wrote: > > > > Em Wed, 19 Nov 2008 04:03:27 -0300, Sonu bhavsar <[EMAIL PROTECTED] > > > > escreveu: > > > > > >> I working in a project which consist of both jsp pages and tapestry > >> pages. forwarding control to tapestry page from jsp page has no problem. > >> But i failed to redirect control to jsp page from tapestry page > > > > Try this: > > > > class YourTapestryPage { > > > > Object onActivate() { > > return new java.net.URL("your jsp page address"); > > } > > > > } > > > > -- > > Thiago H. de Paula Figueiredo > > Independent Java consultant, developer, and instructor > > Consultor, desenvolvedor e instrutor em Java > > http://www.arsmachina.com.br/thiago > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/How-to-forward-control-to-the-jsp-page-from-tapestry-page.-tp20574551p20582109.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >