Hi Rahul,
Please send it to rogerdotvarleyatgooglemaildotcom
Thanks
Roger
--
View this message in context:
http://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29736089.html
Sent from the Struts - User mailing list archive at Nabble.com
t; Given that it's me who is bleating about this, I'd be happy to try the
new
> interceptor. How do you want to proceed?
>
> Regards
>
> --
> View this message in context: http://old.nabble.com/Struts-2%2C-
> Session-Management-and-%22WorkFlow%22.-tp
Given that it's me who is bleating about this, I'd be happy to try the new
interceptor. How do you want to proceed?
Regards
--
View this message in context:
http://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29735458.html
Sent from the Struts - Use
> rahulmohan wrote:
> >
> >
> > Exactly! I think scope plugin solves your problem. The conversation
> > support in scope plugin is not as rich as that in seam, but can serve
as
> > the starting point. I have fixed a couple of bugs in the scope plugin
and
> > I am working on some enhancements
a single conversation, which
> of
> course doesn't help with supporting multiple tabs. Is this still the case,
> or is the page out of date?
>
> Regards
> --
> View this message in context:
> http://old.nabble.com/Struts
pe-plugin.html
states that the current plugin only supports a single conversation, which of
course doesn't help with supporting multiple tabs. Is this still the case,
or is the page out of date?
Regards
--
View this message in context:
http://old.nabble.com/Struts-2%2C-Session-Management-and-%2
ate:
16-09-2010 18:34
Subject:
Re: Struts 2, Session Management and "WorkFlow".
RogerV wrote:
>
>
>
> Dave Newton-6 wrote:
>>
>> Correct--the essence of implementation is just a "dual-layer" context
>> with
>> the additional key passe
Hi all,
i've just read about Seam,
and if i understand it wright,
creation of Conversation is made by annotation, so it's not an
automatic decision of the framework
but just a developer decision in action code to create a conversation.
>> Unlikely in an Intranet environment prehaps, but there are
ml#a7364935,
> it would appear that it either proved too complicated or there was
> insufficient "push". Any insights?
>
> Regards
>
>
>
Doh! This wouldn't be the raison d'etre for the Scope plugin by any chance?
--
View this message in context:
http://old.
t;. Any insights?
Regards
--
View this message in context:
http://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29728192.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
n the issues involved with multi tab processing
and
> concludes that none of Spring WebFlow, JBoss Seam or Apache Wicket
actually
> get it right 100%.
>
> Given that multi tab browsing has been around for a while now and even
core
> Struts seems to assume single window access to the sess
been around for a while now and even core
Struts seems to assume single window access to the session is the norm,
perhaps I'm just being over cautious.
Regards
--
View this message in context:
http://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29727862.ht
On Thu, Sep 16, 2010 at 7:57 AM, Martin Gainty wrote:
> com.opensymphony.xwork2.ValidationAware
> /**
> * Set the field error map of fieldname (String) to Collection of String
> error messages.
> * @param errorMap field error map
> */
> void setFieldErrors(Map> errorMap);
>
> fie
fet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Date: Thu, 16 Sep 2010 04:16:28 -0700
> From: roger.var...@googlemail.com
> To: user@struts.apache.org
&
> Agreed, but how do you check that the hidden ids that come back with the
> submit are the ones that
> you sent in the first place? It's not that hard to use something like
> HttpClient to send malicious POST's
Yes, it's possible but not likely, in general users use multiple tabs,
and they don't
threads accessing an
unsynchronized common resource - the HttpSession.
Regards
--
View this message in context:
http://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29727312.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
tecting malicious update attempts - I can check that the
> customerId/OrderId coming back are the ids that I originally sent - for
> example.
>
> I found this
> http://www.vitara.org/cms/struts_2_cookbook/using_a_conversation_scope -
> which looks like an attempt to do what I want to do, has anyone u
Hi Roger,
> That would work in this case, but my interceptor would be specific to the
> wizard. If I then introduced a second wizard, then I'd need another
> interceptor to handle that one. I was hoping for something a little more
> generic.
Won't You also add more bussiness logic if You add ano
anyone used it in
anger, or is there something similair out there?
Regards
--
View this message in context:
http://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29726763.html
Sent from the Struts - User mailing list archive at Nabble.com.
--
er "activity" that *absolutely
> must* be a session singleton. That is, it cannot start if the user is
> running another action, and while it's active, the user cannot start another
> action. What techniques/patterns is everyone using to handle this?
>
>
her
action. What techniques/patterns is everyone using to handle this?
Regards
--
View this message in context:
http://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29726121.html
Sent from the Struts - User mailing list archive at Nabble.com.
--
page is coming as a response of the http request I am making, do I
>> have to redirect it via my JSP page(using javascript)? As otherwise I
>> guess
>> the whole thing is working fine.
>>
>> Regards,
>
king fine.
>
> Regards,
> Baran
> --
> View this message in context:
> http://www.nabble.com/Session-Management-tp23074591p23076002.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> --
guess
the whole thing is working fine.
Regards,
Baran
--
View this message in context:
http://www.nabble.com/Session-Management-tp23074591p23076002.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To
; }
>>
>>
>> Regards
>> --
>> Lukasz
>> http://www.lenart.org.pl/
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apa
truts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
>
--
View this message in context:
http://www.nabble.com/Session-Management-tp23074591p23075474.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
package example3;
import com.opensymphony.xwork2.Action;
import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.Interceptor;
/**
*
* @author Lukasz
*/
public class LoginInterceptor implements Interceptor {
public void destroy() {
}
public void
ing on YUI + Ajax based application, so
>> basically
>> all the action requests are via javascript.
>>
>> Any help would be appreciated.
>>
>> Baran
>> --
>> View this message in context:
>> http://www.nabble.com/Session-Management-tp23074591p23
>
> Baran
> --
> View this message in context:
> http://www.nabble.com/Session-Management-tp23074591p23074591.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> -
> To unsub
the action requests are via javascript.
Any help would be appreciated.
Baran
--
View this message in context:
http://www.nabble.com/Session-Management-tp23074591p23074591.html
Sent from the Struts - User mailing list archive at Nabble.com
mthalis wrote:
i have already implemented login, logout parts using struts(jsp). But the
case is after logged out, when i press back button it is redirected to the
particular page that i was in before logged out. these are my codings, and
plz kind enough to give me reasonable answer.
//set ses
;
>> }
>> %>
>>
>> //logout
>> <%
>> session.removeAttribute("userName");
>> session.invalidate();
>> response.sendRedirect("./welcome.jsp");
>> %>
>>
>>
>
> --
> View this message in context:
>
;);
> session.invalidate();
> response.sendRedirect("./welcome.jsp");
> %>
>
>
--
View this message in context:
http://www.nabble.com/session-management-tp22054409p22114881.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
> <%
> }
> else{
>response.sendRedirect("./index.jsp");
> }
> %>
>
> //logout
> <%
> session.removeAttribute("userName");
> session.invalidate();
> response.sendRedirect("./welcome.jsp");
> %>
>
&
response.sendRedirect("./index.jsp");
}
%>
//logout
<%
session.removeAttribute("userName");
session.invalidate();
response.sendRedirect("./welcome.jsp");
%>
--
View this message in context:
http://www.nabble.com/session-management-tp22054409p22054409
You may want to add support for conversation scope to your application
so that objects stored in session scope doesn't get mixed up.
2008/7/28, Dave Newton <[EMAIL PROTECTED]>:
> --- On Mon, 7/28/08, OTA_DZ <[EMAIL PROTECTED]> wrote:
> > I think there is an overlapping of session in
> > my applica
--- On Mon, 7/28/08, OTA_DZ <[EMAIL PROTECTED]> wrote:
> I think there is an overlapping of session in
> my application.
Technically it's an overlapping of sessions in the browser.
Different browsers handle these things differently; in general tabbed browsing
will share a single session. That's
have the problem when using 2 different instance of my browser in 2 machine
or in the same machine.
Could you please help me?
Thanks.
--
View this message in context:
http://www.nabble.com/Session-management-when-using-IE-7-tp18688636p18688636.html
Sent from the Struts - User mailing list
contains it you need to reset it
Regards
-Original Message-
From: Maya menon [mailto:[EMAIL PROTECTED]
Sent: 15 March 2007 16:43
To: user@struts.apache.org
Subject: Session Management
All,
I have couple of questions while designing a web app using struts. My
application uses Httpsession
All,
I have couple of questions while designing a web app using struts. My
application uses Httpsession variables.
1. How do we handle a user from opening duplicate sessions ? Like if a user
is already logged in, if he/she tries to login again, system should mention
that user is already
Hi all,
This has totally baffled me and I desperately need help but I have a link as
follows that I have put in a Microsoft word document that calls my struts
action to display the specified resource. This was tested to be the same
with IE6 or IE7 so its not the browser version causing the issue
It is not clear what you are asking. Is the problem that
- the session is not being maintained even when setting the timeout to
30 minutes
- even after 1/2 hour the session does not timeout
An observation, "pinging" the server every 10 seconds will create a
lot of unnecessary work on the server.
So you know when exactly 30 mins elapses? right.?
immedietly after this you can invalidate the session right?
Regards
PH
On 10/3/06, sowjanya chimmani <[EMAIL PROTECTED]> wrote:
Hi All,
In our webapplication (struts based) we are using Ajax code
(as part of header in all jsp)whi
Hi All,
In our webapplication (struts based) we are using Ajax code
(as part of header in all jsp)which will hits the server for every 10 sec
so every time session will be updated so it is not possible to maintain the
session (sesstion will not expires though after the session time
Hi All,
Can some one help me in understanding the session management with
struts? How to do this with struts? I tried doing it in all the actions,
but am not sure what am doing wrong, it does not work. Can any body help
me on this. Any links, sample codes etc would be of great help.
Anil
> a)are you checking to ensure the getSession is NOT NULL before the isNew
> test ?
> b)In this scenario is the session is null or session isNew then the
> method returns false are your returning true/false?
> c)are you catching the IllegalStateException ???
>
> Anyone else
sion isNew then the
method returns false are your returning true/false?
c)are you catching the IllegalStateException ???
Anyone else ?
M-
- Original Message -
From: "Jim Reynolds" <[EMAIL PROTECTED]>
To:
Sent: Monday, October 24, 2005 10:57 AM
Subject: Session Ma
I have a project which I am working on. It does not have any type of form
login. It is just a merchant-type site.
When client hits the URL, the index.jsp calls a forward like so:
This of course sends the request to the struts-config.do.
I extended the RequestProcessor to set up some session typ
Sorry, have I missed something - where is the need to rewrite the URL
yourself? Java/Struts session management uses a cookie, when supported by
the browser, otherwise a jsession id is appended to the URL and this is done
automatically with the need to manually rewrite the URL yourself (thank
send with
?
Bye,
Mark Breitner
--- Ursprüngliche Nachricht ---
Von: Dave Newton <[EMAIL PROTECTED]>
An: Struts Users Mailing List
Betreff: Re: Newbie Question : Session Management without cookies
Datum: Fri, 27 May 2005 11:12:59 -0400
Nils Liebelt wrote:
>Have a look at J2ee Spe
che Nachricht ---
> Von: Dave Newton <[EMAIL PROTECTED]>
> An: Struts Users Mailing List
> Betreff: Re: Newbie Question : Session Management without cookies
> Datum: Fri, 27 May 2005 11:12:59 -0400
>
> Nils Liebelt wrote:
>
> >Have a look at J2ee Specs firs
Nils Liebelt wrote:
Have a look at J2ee Specs first. So you get an idea of the session concept.
-Original Message-
From: Mark Breitner [mailto:[EMAIL PROTECTED]
Sent: Friday, May 27, 2005 4:34 PM
Subject: Newbie Question : Session Management without cookies
I just started with
Hi Mark,
Have a look at J2ee Specs first. So you get an idea of the session concept.
Regards,
Nils
-Original Message-
From: Mark Breitner [mailto:[EMAIL PROTECTED]
Sent: Friday, May 27, 2005 4:34 PM
To: user@struts.apache.org
Subject: Newbie Question : Session Management without
Hi Mark,
Have a look at J2ee Specs first. So you get an idea of the session concept.
Regards,
Nils
-Original Message-
From: Mark Breitner [mailto:[EMAIL PROTECTED]
Sent: Friday, May 27, 2005 4:34 PM
To: user@struts.apache.org
Subject: Newbie Question : Session Management without
Hello,
I just started with struts and wanted to implement an application that is
able to do session management (f.e. user + password) even if the user has
turned cookies off.
what is the best way to do this ?
With kind regards
Mark Breitner
--
Weitersagen: GMX DSL-Flatrates mit Tempo
This is an excellent suggestion. I tried hard coding the value that
layout1.layout should be giving and everything worked. I also tried
testing to see if layout1 was null, and it was. Since layout1.layout is a
value I want to use throughout the session, always, and is a value that is
only us
Heh, Rick, I said it was impossible first. I agree with everything you say
and I know the computer is always right. But, this is what I see and I
have reported it accurately, I think.
Regarding what you did not know I meant. I thought I explained it but I
will try again, and try to do better
Michael McGrady wrote:
No, this is not correct, Rick. The null pointer is for the reference to
the Layout object in the session, which in fact is there. When I have
the index page check to see if the object is there, Opera does not have
a problem on OTHER pages. Odd? It is as if the placemen
No, this is not correct, Rick. The null pointer is for the reference to
the Layout object in the session, which in fact is there. When I have the
index page check to see if the object is there, Opera does not have a
problem on OTHER pages. Odd? It is as if the placement of that object in
th
Michael McGrady wrote:
I probably should have added that in my ForwardAction I convert a path
from the ActionMapping so that users can be allocated a particular look
and feel that they have chosen on the website. The line that is related
to the Opera failure is:
return new ActionForward(la
I probably should have added that in my ForwardAction I convert a path from
the ActionMapping so that users can be allocated a particular look and feel
that they have chosen on the website. The line that is related to the
Opera failure is:
return new ActionForward(layout1.layout + "_" + pa
61 matches
Mail list logo