如在.net下的web项目:
       其文件夹如下:
    ---weblocalhost
         ---A
             --a1.aspx
             --a2.aspx
             --a3.aspx
             --web.config(a)
         ---B
             --b1.aspx
             --b2.aspx
             --b2.aspx
             --web.config(b)
       lcoa1.aspx
       lcoa2.aspx
       web.config
其中web.config
      <authentication mode="Forms">
<forms name="local" protection="All" timeout="30" loginUrl="lcoa1.aspx" />
</authentication>
web.config(a)文件以下:
      <location path="a1.aspx">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location> web.config(b)
           <location path="b2.aspx">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location> 这样的配置当用户还没有登录时访问如a2.aspx或者a3.aspx或者b1.aspx,b3.aspx时真接跳转到lcoa1.aspx
 现在想问的是在j2ee中如何去象.net中的配置达到这样的安全验证机制!如何去配置web.xml文件!??