Since my understanding of the goal is to eventually merge Tobago in with tomahawk, would it make more sense to move the servlet into myfaces-commons, and have tobago depend on it? It'd be good if we could do the same for any other tobago pieces that aren't directly tied to the tobago viewhandler. It'd be a first step toward merging the two.
-Mike On 1/11/06, Simon Kitching <[EMAIL PROTECTED]> wrote: > I think Volker's suggestion of duplicating the tobago > NonFacesRequestServlet into tomahawk or myfaces-commons is a good idea. > > It is very useful for performing pre-processing of any sort before > forwarding to a JSF page. I've added the code to the myfaces wiki for > the moment, but having a class in the myfaces distro itself sounds nice > to me. > > Any other opinions? > > By the way, I vaguely remember a new feature in the latest servlet spec > that allows servlets to be run on forwarded-to resources. Is this true, > or is my memory misleading me? > > Regards, > > Simon > > Volker Weber wrote: > > Hi Jeffrey, > > > > you are in the situation to serve a Non-Faces Request to a Faces > > Response as described in the jsf 1.1 spec in section 2.1.1. > > > > Take a look at tobagos NonFacesRequestServlet [1] how this situation > > could handled. > > > > I don't know if there is somthing like this in tomahawk, could be a > > candidate for commons.jar. > > > > Regards, > > Volker > > > > [1]: > > http://svn.apache.org/viewcvs.cgi/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/servlet/NonFacesRequestServlet.java?view=markup > > > > Jeffrey Porter wrote: > >> > >> > >> Hello all. > >> > >> > >> > >> I have the situation where I want to send a URL out in an email for a > >> person to click on, so that they can then see a page in my system. > >> > >> > >> > >> Normally I'd have a backing servlet that takes the parameters in and > >> redirects to the page I want the user to view. > >> > >> But since I'm using myfaces, I don't know how to redirect to a JSF page. > >> > >> > >> > >> In this case I'm at a complete loss to where I should start. > >> > >> > >> > >> Can some one please prod me in the correct direction. > >> > >> > >> > >> Thanks > >> > >> Jeff > >> > >> > >> > > > >
