Nicholas Sanderson wrote: > Hi > > Please forgive me if these questions have been answered elsewhere but I > haven't found > any definitive answers in the documentation or archives. > > I'm considering using Tapestry but I want to link to other resources, for > example I have a > servlet that I use for creating pdf documents on the fly using fop and > another servlet > that I use as a gateway to filter requests for files so that I can limit who > downloads what.
I haven't done this, but it should be quite easy to wrap a servlet in a Tapestry page by overriding the renderPage() function, as long as *all* the output from the page comes from the servlet. >>From what I can see this is not really Tapestry's kind of area. However as > Tapestry wraps the session layer how easy is it to pass information , such > as a token to validate login credentials, to non tapestry resources. You can still access the HttpServletRequest/Response, so this should be doable. > In addition can the post from a tapestry form be sent to a non tapestry > resource and if so > how do I know what the parameter names in the request are? I would have the form set properties as usual, then make a new URL in the listener for the form and redirect to that (if you can redirect that late -- not sure) Tom _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ Tapestry-developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/tapestry-developer
