On the free side of things, I believe you could use a JNDI Realm in Tomcat
for this purpose. You would need to roll your own SOAPInitialContextFactory
and use that in the configuration of the JNDI Realm. Weblogic has an
implementation of a SOAPInitialContextFactory:
+1 on the ServletFilter approach.
Even better if you can get container managed security to meet your needs.
Depending on the container, your groups and group memberships can be
dynamically mapped to roles, with declarative specification of what
resources can be accessed. This approach is optimal
Depending on the container, your groups and group memberships can be
dynamically mapped to roles, with declarative specification of what
resources can be accessed.
Is this the case with tomcat? I did not think so.
Our needs our very similar.
The users with a admin page that allows them to
The keys in your KeyMethodMap should correspond to messages in your message
bundle used to render the button. So you would have in your jsp:
html:submit
bean:message key=button.add.banana/
/html:submit
in your action:
protected Map getKeyMethodMap(ActionMapping mapping,
ActionForm form,
The problem you're hitting is that there's really no concept of a key in a
List - it's just an ordered collection of objects. The closest you'd find
is the contains( Object o) method, but that looks for the entire object and
not just a key. I would suggest using a HashMap for what you're looking
In the header file, try request.getRequestURL() - it should give you the
page that was called. Tiles effectively does a jsp:insert, which means that
the request parameters are the same for any included tiles.
-Rob
-Original Message-
From: Kevin Tung [mailto:[EMAIL PROTECTED]]
Sent:
In fairness, I don't think it's clear from the documentation.
However, a google search yields:
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg52038.html,
which indicates someone looked at the source to find the answer.
Also in fairness, searching the list is not an easy task -
I think a shift in how you approach your JSPs and Actions will get you the
most mileage here. It seems that by storing this map in session, you're
trying to get around ever creating any additional references to it. What
I'd suggest is that you handle this in your Action.
In your action, fetch
the correct original url from
within these jsp pages?
Thanks,
Kevin
-Original Message-
From: Rob Kischuk [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 3:43 PM
To: 'Struts Users Mailing List'
Subject: RE: [Tiles] loses current url
In the header file, try request.getRequestURL
9 matches
Mail list logo