You need to change the content-disposition header to "attachment", I think.
There is a MyFaces example which shows how to do this! regards, Martin On 12/4/05, hilz <[EMAIL PROTECTED]> wrote: > Hi all... > I have a <h:outputLink> element where the link points to an XML file. > when a user clicks the link in the browser, the XML file is opened. > I want to make it in such a way that when the user clicks on the link, > it saves the file on the client (by opening the save as dialog). > > Does anyone know how to do that? > > thanks > > -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces

