How to get Session/Request Object in child class of QuartzJobBean
===

I am implementing cron job schedular to send periodic email with attachment in a web application. 

**Problem Description :**
For creating a file (that will be attached with mail) in java code, I need session object to get absolute path of file.

**For example :**

    request.getSession().getServletContext().getRealPath("/");
we use to get path.

So how can I implement/ get session object? Or is there any other way to get relative path of a file?

**Note:** I need to create attachmnet file in WebContent/MyFolder.