Previously I was using jboss 4.0.4. I supposed to download the files by directly copying the files to the ROOT directory(ie, jboss-4.0.4.GA\server\all\deploy\jbossweb-tomcat55.sar\ROOT.war\downloads.html).
But in Jboss 4.2.2 I am getting the below error
"The requested resource (/downloads.html) is not available"
Should I need to configure my jboss 4.2.2?
I did not completely understand the question.
The downloads.html is your file, right? Have you placed it in server\< serverName>\deploy\jboss-web.deployer\ROOT.war folder? Note that the name of the web deployer folder has changed in 4.2.x. Earlier it was jbossweb-tomcat55.sar and now it is jboss-web.deployer.