Hi Umo,
Could you test your application with the "main.xhtml" file attached ?
Basically, the link won't be displayed and the file is automatically launched.
If it doesn't meet your need, please send me your test program to be sure we are on the same way.
Best regards,
Guney