---
title: "uploadSettings.actionUrl Property  ActiveX/Java Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/JA_P_J_$au_uploadSettings_actionUrl.htm
product: "Upload Suite 8"
---

# uploadSettings.actionUrl Property ActiveX/Java Uploader JavaScript

Supported browsers: ![Internet Explorer](https://www.aurigma.com/docs/us8/icons/ie8.png)![Firefox](https://www.aurigma.com/docs/us8/icons/firefox.png)![Google Chrome](https://www.aurigma.com/docs/us8/icons/chrome.png)![Safari](https://www.aurigma.com/docs/us8/icons/safari.png)
 
Gets or sets a URL to the page files are posted to.

## Syntax
 
```
$au.uploader({
    uploadSettings: {
        //...other params...
        actionUrl: ".",
        //...other params...
    }
})
```

```
$au.uploader('uploaderID').uploadSettings().actionUrl(value);
value = $au.uploader('uploaderID').uploadSettings().actionUrl();
```
 
### Property Value
 
Type: **String**
 
The URL to the page files are posted to. When specifying this value, take into account the following cases:
 
##### Using Quotation Marks and Semicolons
 
URLs can contain semicolon or quotation mark characters (like this one: `http://upload.server.com/uploadFile;jsessionid=123?param='value'`). If so, to avoid parameter parsing errors enclose such URLs in single (`' '`) or double (`" "`) quotes. Additionally, quotation marks (both single `'` and double `"`) inside URLs should be escaped with a backslash:
 
`"http://upload.server.com/uploadFile;jsessionid=123?param=\'value\'"`
 
##### Uploading to the Same Page
 
If you want to submit files to the same page where ActiveX/Java Uploader is hosted, specify the dot character (`.`) as a value of this property.
 
##### Using Absolute and Relative URLs
 
URLs can be both absolute (e.g. `http://domain.com/upload/upload.aspx`) and relative to the current page (e.g. `/upload/upload.aspx`).
 
For example, if ActiveX/Java Uploader is inserted to the `http://domain.com/ImageUploader/default.aspx` page, the relative URLs specified via this property will correspond to the following locations.
 
| Specified URL | Expected Location |
| --- | --- |
| **`"/upload/upload.aspx"`** | `http://domain.com/upload/upload.aspx` |
| **`"./upload/upload.aspx"`** | `http://domain.com/ImageUploader/upload/upload.aspx` |
| **`"upload/upload.aspx"`** | `http://domain.com/ImageUploader/upload/upload.aspx` |
| **`"upload.aspx"`** | `http://domain.com/ImageUploader/upload.aspx` |
 
Default value is **"."**.

## Remarks
 
That page should contain the server code which parses the upload request, saves files to necessary folders on server and performs any other additional actions.
 
**Note** 
Usually this URL must have a specific extension (depending on the web server settings). For ASP platform it should be `.asp`, for ASP.NET the extension is `.aspx`, for PHP it is `.php`, for Perl it can be `.pl` or ` .cgi`, etc. In other words, the file containing this script should have the extension registered in the settings of your web server as a server page. Otherwise upload will fail.

## See Also
 
### Reference
 
- [redirectUrl Property](https://www.aurigma.com/docs/us8/JA_P_J_$au_uploadSettings_redirectUrl.htm.md)
- [Aurigma.ImageUploader.UploadSettings.ActionUrl ASP.NET PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_UploadSettings_ActionUrl.htm.md)
- [UploadSettings.ActionUrl PHP PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_P_UploadSettings_ActionUrl.htm.md)

### Manual
 
- [Configuring Common Upload Settings in ActiveX/Java Uploader](https://www.aurigma.com/docs/us8/configuring-common-upload-settings-iu.htm.md)
