dev@glassfish.java.net

what will the web sniffer recognize?

From: Peter Williams <Pete.Williams_at_Sun.COM>
Date: Wed, 27 Aug 2008 19:21:09 -0700

What are the rules for the web sniffer to recognize a web app?

I find that the http api will deploy pretty much any folder (and
classify it as a web app). For example, if you pass a command like this:

http://localhost:4848/__asadmin/deploy?path=/tmp/junk/morejunk?name=lots_of_junk

where /tmp/junk/morejunk is just some random folder full of folders and
other stuff, but no JSP or xml files of any kind, nor folders named src,
web, or WEB-INF.

Bug or feature?

I would have expected this deploy to fail (or at least, not be
recognized as a web app).

-Peter