Re: Is there any way in Struts2 to handle session sharing accross browsers

2009-12-29 Thread Paul Benedict
When the user presses CTRL+N in IE, a new browser instance is started. That's not another view of the current browser session, but a whole new session. There's nothing that can be done about this in Struts or anything else. On Wed, Dec 30, 2009 at 1:12 AM, Struts-User wrote: > > Thanks Paul, What

Re: Is there any way in Struts2 to handle session sharing accross browsers

2009-12-29 Thread Struts-User
Thanks Paul, What I mean is not exaclty one session per user rather preventing or detecting the session which is getting copied when any one does CTRL+N or in IE7 opens application new TAB. In above said cases session remains to be same however session data is replaced with the recentely logged i

Re: Is there any way in Struts2 to handle session sharing accross browsers

2009-12-29 Thread Paul Benedict
Some extreme financial sites only allow one session per user. They track in their database when a user logs in, and the user must remain on that session ID for X minutes or log out. Consequences: 1. If the user shuts his browser by accident, ooops! X minutes must pass until the original session ti

Re: Forwarding to a Java Application

2009-12-29 Thread musomesa
The tag previously referred to is where you can launch a java app from a jsp (or even an ordinary html page). Check out Java Web Start. Your java app can be an ordinary swing app and the server sends a .jnlp file with instructions to the browser to download the necessary classes. Your client n

Re: Struts 2 redirect problem

2009-12-29 Thread Rakesh K nair
Thanks for your comment.It is working but i would like to know whether there is any another method Thankfully Rakesh Burton Rhodes wrote: > > This probably isn't the answer you want, but an tag would > probably do the trick. > > On 12/29/09, Rakesh K nair wrote: >> >> Hi >> >> I

Re: Is there any way in Struts2 to handle session sharing accross browsers

2009-12-29 Thread Paul Benedict
What does "handle" mean to you here? On Wed, Dec 30, 2009 at 12:05 AM, Struts-User wrote: > > Hi All - Is there any way in Struts2 to handle session sharing across > browsers. > My problem: > User logs in -> session created, user does CTRL+N and opens child window > now he logs in as admin-> sess

Is there any way in Struts2 to handle session sharing accross browsers

2009-12-29 Thread Struts-User
Hi All - Is there any way in Struts2 to handle session sharing across browsers. My problem: User logs in -> session created, user does CTRL+N and opens child window now he logs in as admin-> session created (it does not create new session) and now parent window has the admin session, and session

Re: Struts 2 redirect problem

2009-12-29 Thread Burton Rhodes
This probably isn't the answer you want, but an tag would probably do the trick. On 12/29/09, Rakesh K nair wrote: > > Hi > > I am Rakesh > > In my current project i need to display a different web application in a div > which is a part of my main web page.I am able to get only the html output >

Struts 2 redirect problem

2009-12-29 Thread Rakesh K nair
Hi I am Rakesh In my current project i need to display a different web application in a div which is a part of my main web page.I am able to get only the html output which acts as if it is in same context.For eg: for image,java script path it looks in the local context.My need is that div should

Custom interceptor stack not working

2009-12-29 Thread Sanjay Patel
Hi, I am using this simple interceptor configuration, just following http://struts.apache.org/2.1.8/docs/interceptor-configuration.html : /WEB-INF/content/index.jsp

Re: focusElement in s:form

2009-12-29 Thread Dale Newfield
The only two places I found focus() called in the templates are in css_xhtml/form-close.ftl and xhtml/form-close.ftl. You can look there to see the "magic" behind the scenes. Also note, while you're setting the theme globally, it can also be changed on a tag-by-tag basis with the theme attrib

[Struts 2.1.8] Timer with Dojo tag

2009-12-29 Thread Celinio Fernandes
Hi, I am using a timer with the Dojo tag . It works well. The only "problem" is that when i use a timer then the content does not load immediately the first time i load the page. It loads after 5 seconds only, which is the frequence of reloading. How do i load the content of the tag immediately

Re: Getting unexpected ActionInvocation

2009-12-29 Thread Steve Mitchell
After a little more debugging I see that I am not hitting the RedirectMessageInterceptor from that action. I'm messing around with @Namespace and @InterceptorRefs to see if I can achieve the desired behavior. I must have been seeing a ServletDispatcherResult that was further downstream. On Tue, D

Re: and timeZone

2009-12-29 Thread Sanjay Patel
I think this did not reflect in the group. Hence sending again. On Sun, Dec 27, 2009 at 9:19 AM, Sanjay Patel wrote: > Hi, > > In an application, we are storing the timeZone of the users and wish to > display the dates according to their timeZone. As I saw, that there is on > timeZone support in

Re: Getting unexpected ActionInvocation

2009-12-29 Thread Wes Wannemacher
Do you have a wildcard configuration in the XML that might be overriding your @Result? I can't remember the exact order of evaluation, but I think Conventions (assuming you're using Conventions, but we'll need version numbers and plugins to know better) is sort of the last-guy-on-the-totem-pole. Y

Getting unexpected ActionInvocation

2009-12-29 Thread Steve Mitchell
I’m doing a redirect with annotations: @Result(name = “success”, type=”redirect”, location=”home.action”), however, the resulting ActionInvocation is a ServletDispatcherResult instead of ServletRedirectResult. This is an issue because I'm attempting to use the RedirectMessageInterceptor which expe

Re: focusElement in s:form

2009-12-29 Thread Wes Wannemacher
You have a few choices, you could write your own theme, but that would be overkill for what you are trying to do... Although, I have found that when people are using the simple theme, there is a good chance that they are hand-rolling a theme outside of struts, which is okay, but creating a theme is

Re: An update to StartSoft

2009-12-29 Thread Frans Thamura
any idea to make the controller is not controlled by Spring like @Services and @Transaction more open to another tech outside Spring F On Tue, Dec 29, 2009 at 6:52 PM, Saeed Iqbal wrote: > Good Day Folks, > > I hope it would be OK to announce that I have released a new version of my > StartSof

RE: focusElement in s:form

2009-12-29 Thread CRANFORD, CHRIS
It appears if I removed this line and additionally made sure that the tag was inside my HTML ... block that the appropriate logic works and the StrutsUtil class is available and focuses on my elements. Now is there a way to avoid this extra from being decorated on my input fields? I suppose t

RE: focusElement in s:form

2009-12-29 Thread CRANFORD, CHRIS
I do have in my struts.xml file the following defined: Does this affect this? -Original Message- From: Dale Newfield [mailto:d...@newfield.org] Sent: Monday, December 28, 2009 4:56 PM To: Struts Users Mailing List Subject: Re: focusElement in s:form CRANFORD, CHRIS wrote: > I don'

An update to StartSoft

2009-12-29 Thread Saeed Iqbal
Good Day Folks, I hope it would be OK to announce that I have released a new version of my StartSoft application 0.9 http://code.google.com/p/startsoft/ Open Source. Its Struts and Hibernate, but controlled by Spring. Thanks, -saeed -- Saeed Iqbal Independant Consultant J2EE - Application Archi