struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Römer <>
Subject Struts2, Tiles2 and Container Managed Security
Date Mon, 16 Apr 2007 23:40:55 GMT
I am trying to use Container managed security with Struts2 and Tiles2.

I created a Tiles definition called "loginTiles" for the login page, and
in my package called "page" with namespace "/page", I have the following

<action name="*" >
  <result type="tiles">{1}Tiles</result>

I am using this action as <form-login-page> and <form-error-page> in


Now, when I try to access some protected resource, the Container managed
security is requesting the right action, but I get a HTTP 404 error.
If I request the same action direcly from the browser, the login page
comes up fine.

As far as I understand, Container managed security is applied before the
struts2 filter, so when it requests the <form-login-page>, the filter
should "resolve" it, right?

Probably I got this wrong? How can I solve this?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message