How to get full path when upload file choose desktop file workflow?
Hi Team,
I done customization for startworkflow.jsp("/libs/cq/gui/components/authoring/workflow/startworkflow/startworkflow.jsp").
When click upload file choose option getting fakepath append filename,How to get full path directory need to send email attachment.


I am not able send file attached by using fakepath. error message : java.io.FileNotFoundException: C:\fakepath\testJcrcontent.txt(The system cannot find the path specified).
EmailAttachment attachment = new EmailAttachment();
attachment.setPath("C:\fakepath\testJcrcontent.txt");
attachment.setDisposition(EmailAttachment.ATTACHMENT);
attachment.setDescription("Any Description");
attachment.setName("Any name you can set");
Thanks
Kotireddy