You can get the action name in a JSP with
"#context['struts.actionMapping'].name".
What I do is to add a getActionName() to the action base class which
returns ActionContext.getContext().getName()
On Wed, Sep 15, 2010 at 5:45 PM, Daniel Rindt wrote:
> Hello,
>
> i would like to know how to obta
Hello,
i would like to know how to obtain the name of the current action inside
the JSP code. I found code: but this
is showing me: "action.regis...@ce41cc" but its useless information for
me.
next question i had is i invoke a request to any action like this:
"?request_locale=tr", the form i use
uld have looked.
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: 08 August 2005 19:57
To: Struts Users Mailing List
Subject: Re: My first JAAS implementation. A few questions.
Hi Mark,
this wasn't really Struts but here goes anyway since I happen to know.
If
AIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: Struts Users Mailing List
Subject: Re: My first JAAS implementation. A few questions.
Date: Mon, 08 Aug 2005 19:57:12 +0100
Hi Mark,
this wasn't really Struts but here goes anyway since I happen to know.
If you are using conta
Hi Mark,
this wasn't really Struts but here goes anyway since I happen to know.
If you are using container-managed security in tomcat, then you should
be aware that tomcat has not implemented a pathway between JAAS and the
session which provides any more than the transfer of the username and
I am implementing my first JAAS implementation and have some
problems/questions.
Firstly my commit method of my LoginModule does the following (User and Role
both implement Principal)
// Create a new User Principal with the user name retrieved from the
NameCallback
User user = new User(username);
6 matches
Mail list logo