File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes deploy file .html or .xls ... jboss 7.1.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "deploy file .html or .xls ... jboss 7.1.1 " Watch "deploy file .html or .xls ... jboss 7.1.1 " New topic

deploy file .html or .xls ... jboss 7.1.1

Doan Long

Joined: Jul 26, 2012
Posts: 20
Path \jboss-as-7.1.1.Final\standalone\deployments\excel\export\F02
or \jboss-as-7.1.1.Final\standalone\deployments\enter.html
start Jboss
access http://localhost:8080/enter.html

HTTP Status 404 - /enter.html

type Status report

message /enter.html

description The requested resource (/enter.html) is not available.

JBoss Web/7.0.13.Final
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

The deployments folder is not meant to place random files. It's supposed to contain Java EE deployments like .war files. You'll have to package those files in a proper Java EE packaging and then deploy it in that folder. If you want to deploy your application at root context (which is what I think you are trying to do) then follow this

[My Blog] [JavaRanch Journal]
I agree. Here's the link:
subject: deploy file .html or .xls ... jboss 7.1.1
It's not a secret anymore!