DEXTUploadJ
DEXTUploadJ References > FileUpload > Method > setLicenseFilePath

setLicenseFilePath Method

Version
1.0.1.0
Environment
Sun JDK1.4
Target
Upload
Signature
public void setLicenseFilePath(java.lang.String strLicenseFilePath)
Parameters
Name Signature Description
strLicenseFilePathjava.lang.StringPhysical route of dextuploadj.config file
Return value
Throws
DEXTUploadException
Description

Set the location of dextuploadj.config file with authorization information. Folder with dextuploadj.config file should be authorized to write/delete files.

Usage
FileUpload fileUpload = new FileUpload(request, response);

String strPath = request.getRealPath("/");

fileUpload.setLicenseFilePath(strPath + File.separator + "dextuploadj.config");