On Fri, Aug 15, 2008 at 2:39 PM, "Stephan Schröder" <[EMAIL PROTECTED]> wrote:
> Try this one:
> ServletActionContext.getRequest().getSession().getId();
>
> /Stephan
That's what I was looking for. Thanks!
-
To unsubscribe, e-mail
On Fri, Aug 15, 2008 at 9:47 AM, Chris Pratt <[EMAIL PROTECTED]> wrote:
> I usually implement ServletRequestAware so that I can call
> request.getSession().getId(). I would love to see them add that value to
> the SessionMap but it's not there at the moment.
> (*Chris*)
That would work for a act
Hi!
How can I get session ID from inside a Struts2 interceptor?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
something
What is the use of param here? I thought it would call
setSomething("something") on my action, but it won't.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Sun, Aug 3, 2008 at 5:04 AM, Pierre Thibaudeau
<[EMAIL PROTECTED]> wrote:
> Sorry to hear it didn't work.
>
> I am having my own share of problems with that ExpressionValidator, and I
> found one useful suggestion in the following doc:
> http://www.opensymphony.com/xwork/wikidocs/ExpressionValid
On Sat, Aug 2, 2008 at 9:17 PM, Pierre Thibaudeau
<[EMAIL PROTECTED]> wrote:
> Since it's "expression" is an OGNL expression, have you tried instead:
>
> @FieldExpressionValidator(expression = "usernameAvailable", message = "...")
>
> which would attempt to find, in turn, getUsernameAvailable() and
I placed validation code for one of my fields inside action's method
and I'm trying to call it using OGNL expression:
@Validation
public class RegistrationAction extends ActionSupport {
private String username;
public boolean isUsernameAvailable() {
7 matches
Mail list logo