You must supply an archive file (EAR, WAR, etc), but there is a "Deploy Exploded" option on the deployment page.
This is a security issue - giving the browser a directory and allowing it to scan that directory and its subdirectories opens up a huge security hole. Anyone could then easily upload all of your personal data. Thus the browser is restricted to uploading only the one file you told it about.
yeah - i wasn't implying you could upload a directory, it was assuming that the exploded archive was already on the server and could reference that.
i'll have to look again, i didn't see a Deploy Exploded.
assuming that the exploded archive was already on the server and could reference that
If that is your goal, use the deploy operation on the MainDeployer MBean from the JMX console. For that operation you must supply a URL that the server has access to.
For the admin console, whatever archive file you supply, it will be uploaded to the server and then deployed, thus the archive is not deployed "in place".