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 - User mailing list archive at Nabble.com
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 - User mailing list archive at Nabble.com
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
--
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.
-
To unsubscribe, e-mail: user
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
://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29726763.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands
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
an attempt to do what I want to do, has 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
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.
-
To unsubscribe, e-mail: user-unsubscr
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 use
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
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(MapString, ListString
.
Regards
--
View this message in context:
http://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29727862.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e
://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29727862.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional
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.
-
To unsubscribe, e-mail: user-unsubscr
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.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29728230.html
Sent from the Struts - User mailing list archive at Nabble.com
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
Date:
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 passed back and forth (I assume for every request).
Hi Dave
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-%22WorkFlow%22.-tp29726121p29728740.html
Sent from
,
or is the page out of date?
Regards
--
View this message in context:
http://old.nabble.com/Struts-2%2C-Session-Management-and-%22WorkFlow%22.-tp29726121p29728740.html
Sent from the Struts - User mailing list archive at Nabble.com
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 in scope
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
://www.nabble.com/Session-Management-tp23074591p23074591.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
in context:
http://www.nabble.com/Session-Management-tp23074591p23074591.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands
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
/
-
To unsubscribe, e-mail: user-unsubscr...@struts.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
://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
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
this message in context:
http://www.nabble.com/Session-Management-tp23074591p23076002.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional
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 unsubscribe, e-mail: user
){
%
///if not log
%
}
else{
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-tp22054409p22114881.html
Sent from
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
){
%
///if not log
%
}
else{
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-tp22054409p22114881.html
Sent from
);
}
%
//logout
%
session.removeAttribute(userName);
session.invalidate();
response.sendRedirect(./welcome.jsp);
%
--
View this message in context:
http://www.nabble.com/session-management-tp22054409p22054409.html
Sent from the Struts - User mailing list archive at Nabble.com
%
session.removeAttribute(userName);
session.invalidate();
response.sendRedirect(./welcome.jsp);
%
--
View this message in context:
http://www.nabble.com/session-management-tp22054409p22054409.html
Sent from the Struts - User mailing list archive at Nabble.com
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
--- 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 not
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 application.
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
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
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
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
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.
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
returns false are your returning true/false?
c)are you catching the IllegalStateException ???
Anyone else ?
M-
- Original Message -
From: Jim Reynolds [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Monday, October 24, 2005 10:57 AM
Subject: Session Management Within Webapp 2
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:
logic:forward name=welcome /
This of course sends the request to the struts-config.do.
I extended the
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: user@struts.apache.org
Sent: Monday, October 24, 2005 10:57 AM
Subject: Session Management Within Webapp
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
Nachricht ---
Von: Dave Newton [EMAIL PROTECTED]
An: Struts Users Mailing List user@struts.apache.org
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 first. So you get an idea
Question : Session Management without cookies
Hi - thanks for your answer. I am looking for a way to let strtuts
automatically rewrite the urls. But in the book I am reading right now I
can´t find any hint on how to do this.
Can you tell me how to rewrite the urls, so that user / pwd are send
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
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
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
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 + _ +
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
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
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
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
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
61 matches
Mail list logo