return archiveName.substring(0, archiveName.lastIndexOf("."));
}
public void findServlets(HTTPContext httpContext, String deploymentName) throws GlassFishException
{
WebContainer webContainer = glassfish.getService(WebContainer.class);
for(VirtualServer server : webContainer.getVirtualServers())
{
for(Context context : server.getContexts())
{
if(context instanceof WebModule)
{