Sallo Laszlo wrote:
Unfortunately this is not what I need. My list is like :<init-param> <param-name>/index.jsp</param-name> <param-value>none</param-value> </init-param> <init-param> <param-name>/img/*</param-name> <param-value>none</param-value> </init-param> <init-param> <param-name>/*</param-name> <param-value>admin</param-value></init-param>Is a list with some path-role mapping. And I need in this order. I looked in Context implementation of tomcat and I saw they are using HashMap-s and that's why it comes arbitrary.
So add another parameter: <init-param> <param-name>params-order</param-name> <param-value>/index.jsp /img/* /*</param-value> </init-param>Tokenize its value with spaces (or some other char) and you are ready to read the rest of parameters in the order you want.
-- Mikolaj Rydzewski <[EMAIL PROTECTED]> Becomo S.A. tel. (12) 2927104
smime.p7s
Description: S/MIME Cryptographic Signature
