I created an xml file through java by using DOM
Now..I need to get the prompt for download when i clicked the button...
I used downloadaction...for this
But it didn't worked..
Its jus viewing the xml file in browser..instead of prompting for download
How can i do this...??
thanks in advance