[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: web.xml

hAck3d do-not-reply at jboss.com
Thu Mar 6 16:38:35 EST 2008


Actually, that does not work either. After three login attempts, it basically change the URL to http://localhost:8080/something/index.faces
rather it should change it to
http://localhost:8080/something/error/error401.html
If I manually try to access this URL, it works. This sort of error could be the redirection that is not taking place. Any thoughts ?
The modified code is pasted below

<security-role>
      <role-name>BackofficeUser</role-name>
  </security-role>
  
  <login-config>
    <auth-method>BASIC</auth-method>
    <realm-name>backoffice</realm-name>
    
  </login-config>
  
   <!-- static error HTML pages -->
   <!-- HTML errors: 400,401,403,404,408,500,503,505,508 -->
   <!-- start here -->
	<error-page>
	<error-code>404</error-code>
	/error/error404.html
	</error-page>
	<error-page>
	<error-code>401</error-code>
	/error/error401.html 
	</error-page>
	<error-page>
	<error-code>400</error-code>
	/error/error400.html
	</error-page>
	<error-page>
	<error-code>403</error-code>
	/error/error403.html
	</error-page>
	<error-page>
	<error-code>408</error-code>
	/error/error408.html
	</error-page>
	<error-page>
	<error-code>503</error-code>
	/error/error503.html
	</error-page>
	<error-page>
	<error-code>500</error-code>
	/error/error500.html
	</error-page>
	<error-page>
	<error-code>505</error-code>
	/error/error505.html 
	</error-page>	
	
	<!-- end here -->
	  <welcome-file-list>
		<welcome-file>index.jsp</welcome-file>
	</welcome-file-list> 
	
	</web-app>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134685#4134685

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134685



More information about the jboss-user mailing list