web.xmlは、標準のWebアプリケーションパッケージ構造の一部です。この構造により、パッケージ化されたwarファイルをTomcatやJettyなどのさまざまなサーバーにデプロイできます。
web.xmlの詳細については、http://en.wikipedia.org/wiki/Deployment_descriptorを参照してください。
ここで標準のディレクトリ構造について読むことができます(これはTomcat用ですが、ほとんどのWebサーバーは同じ/類似の構造に従います): 
 http ://tomcat.apache.org/tomcat-6.0-doc/appdev/deployment.html# Standard_Directory_Layout
アプリケーションがWebアプリケーションの場合は、すでにweb.xmlが必要です。そうでない場合は、 web.xmlを作成するのではなく、SpringSecurityにフックする別の方法を見つける必要があります。アプリケーションが現在どのように展開されているかをお知らせください。
SpringSecurityを使用したSpringのweb.xmlの例を次に示します。
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
    <!-- Spring Security Filter -->
<filter>
    <filter-name>springSecurityFilterChain</filter-name>
    <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
</filter>
    <filter-mapping>
    <filter-name>springSecurityFilterChain</filter-name>
    <url-pattern>/*</url-pattern>
</filter-mapping>
    <listener>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<listener>
    <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
</listener>
    <!-- The front controller of the Spring MVC Web application, responsible 
    for handling all application requests -->
<servlet>
    <servlet-name>Spring MVC Dispatcher Servlet</servlet-name>
    <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
    <init-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>
            /WEB-INF/web-application-config.xml
        </param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
</servlet>
<!-- Map requests to the DispatcherServlet for handling -->
<servlet-mapping>
    <servlet-name>Spring MVC Dispatcher Servlet</servlet-name>
    <url-pattern>/app/*</url-pattern>
</servlet-mapping>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>