[jboss-dev-forums] [Design of POJO Server] - Re: Exploded WAR archive with no web.xml is no longer suppor
adrian@jboss.org
do-not-reply at jboss.com
Fri Oct 10 11:43:34 EDT 2008
"adrian at jboss.org" wrote : "alesj" wrote : "adrian at jboss.org" wrote :
| | | wouldn't have the correct classpath, etc.
| | |
| | Why wouldn't it have correct classpath?
| |
|
| Because it the war has no WEB-INF/web.xml it is currently treated as a jar.
| i.e. the root for the war will be the classpath which is clearly wrong.
Actually, I see the WARStructure already recognises .war files as webapps.
| if (isLeaf(file) == false)
| {
| // We require either a WEB-INF or the name ends in .war
| if (file.getName().endsWith(".war") == false)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181554#4181554
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181554
More information about the jboss-dev-forums
mailing list