[Solved]: Enable Multithreaded Downloading from Glassfish /Tomcat server

Dear All,

We had a requirement to enable multithreaded downloading from a website which is configured in glassfish and tomcat on Ubuntu 12.04 server

Tried a lot on internet to search for such requirement but didn’t get any solution, as I know in IIS to do such thing we need to add in handler mapping settings.

We can do the same from Glassfish’s domain folder you will see one more folder as CONFIG in that one file “default-web.xml”. Open the file and add below in it and save.





Now stop and start the domain.

same lines needs to be added in Web.xml file for tomcat/conf folder in Servlet mapping

You can check in DAP by adding the url to download & you will see the zip file is getting downloaded with multiple threads. J


Prashant Deshpande


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s