In a JSP I'm using thisto set the file path and name of the generated fileCode:getServletContext().getRealPath("/filename.extension");
and it saves the file under Build/web directory while i want it in a directory near the JSP page. (for example www.site.com/images/)
Can anyone help me with this?
Thanks in advance.