Re: After migrating to struts 2.3.24 from struts 2.1.8, no response to action on login page

2016-01-08 Thread Lukasz Lenart
Could you use plain text when sending message to this mailinglist? 2016-01-08 7:52 GMT+01:00 punter : > > My application displays the login page, but cannot login. On the login page, > user enters the username and password but on pressing the login button > nothing happens. > We

After migrating to struts 2.3.24 from struts 2.1.8, no response to action on login page

2016-01-08 Thread punter
My application displays the login page, but cannot login. On the login page, user enters the username and password but on pressing the login button nothing happens. We have in our jsp : <s:form id="loginForm" name="loginForm" action="login" namespace="/fra

Re: Login Page

2011-05-19 Thread Dave Newton
rm. > >  (*Chris*) > On May 19, 2011 2:07 AM, "vasslee" wrote: >> Hi All, >> >> I have struts login page.10 concurrent users logged that screen.Now >> 1.How many instances are created in ActionServlet?. >> 2.How many instances are created in Act

Re: Login Page

2011-05-19 Thread Chris Pratt
You appear to be askin about astruts 1.x, since 2.x doesn't make use of ActionForm's any longer. So, in Struts 1.x, there would be one instance of ActionServlet ans ten instances of ActionForm. (*Chris*) On May 19, 2011 2:07 AM, "vasslee" wrote: > Hi All, > >

Login Page

2011-05-19 Thread vasslee
Hi All, I have struts login page.10 concurrent users logged that screen.Now 1.How many instances are created in ActionServlet?. 2.How many instances are created in ActionForm?. Regrads, Vass -- View this message in context: http://struts.1045723.n5.nabble.com/Login-Page-tp4408957p4408957.html

Re: How to get Login page while submitting a data form

2009-11-16 Thread Dale Newfield
Sanjaya Kumar Patel wrote: I saw ACEGI a bit and then am thinking to first try writing own interceptor - basically extending the suggestion in the book "Apache Struts 2 Web 2.0 Projects." Will post the code once successful. For security this is pretty much always a mistake. You don't want bugs

RE: How to get Login page while submitting a data form

2009-11-15 Thread Sanjaya Kumar Patel
> DN> ACEGI^H^H^H^H^HSpring Security. > Sanjaya, Spring Security will remember which URL user was trying to access > before the login and will replay that URL after successful login . > However, I'm not aware of Spring Security ability to replay POST data from > a form. Dale, Harun, Thanks a

Re: How to get Login page while submitting a data form

2009-11-14 Thread Haroon Rafique
On Today at 1:14pm, DN=>Dale Newfield wrote: DN> Sanjaya Kumar Patel wrote: DN> > Curious to know what is the common practice. Would like to hear if DN> > people are using some established libraries or pattern etc. DN> DN> ACEGI^H^H^H^H^HSpring Security. DN> DN> -Dale DN> +1. Sanjaya, Spring

Re: How to get Login page while submitting a data form

2009-11-14 Thread Dale Newfield
Sanjaya Kumar Patel wrote: Curious to know what is the common practice. Would like to hear if people are using some established libraries or pattern etc. ACEGI^H^H^H^H^HSpring Security. -Dale - To unsubscribe, e-mail: user-un

RE: How to get Login page while submitting a data form

2009-11-13 Thread Sanjaya Kumar Patel
> If a requires authentication, don't render it until the > user is logged in. > > If you are worried about the user's session timing out before > the form is submitted, implement some sort of javascript timer > that (after a period equal to a session timeout), pops up a > modal login form.

RE: How to get Login page while submitting a data form

2009-11-13 Thread Kawczynski, David
> Subject: RE: How to get Login page while submitting a data form > > > Hi Pawel, Thanks for the insight. I would give a try. > > > Being a common scenario, is there any existing work already > present for > this, so that I don't have to reinvent the wheel? I gu

RE: How to get Login page while submitting a data form

2009-11-13 Thread Sanjaya Kumar Patel
Hi Pawel, Thanks for the insight. I would give a try. Being a common scenario, is there any existing work already present for this, so that I don't have to reinvent the wheel? I guess there should already be some established library / code sample which people follow. What do people normally do?

Re: How to get Login page while submitting a data form

2009-11-13 Thread Paweł Wielgus
Hi Sanjay, when intercepting action for the first time (no logged user), You can save submited data along with request uri and put it into session/database then after login (inside login action), check if these informations are present in sesion/database and forward to desired action with all the p

How to get Login page while submitting a data form

2009-11-13 Thread Sanjaya Kumar Patel
Hi All, My requirement is this: 1. User fills a form and submits. 2. If he has not logged in, login form comes up. 3. after logging in, the data automatically gets submitted and next page comes. I am new to struts and unable to figure out the natural solution, even after a lot of googling. As

RE: Accessing protected resources via a login page

2009-05-21 Thread Steve
inal Message- From: Stuart Ellidge [mailto:stuart.elli...@adaptris.com] Sent: 20 May 2009 17:11 To: Struts Users Mailing List Subject: Re: Accessing protected resources via a login page Hi Steve, Glad to hear you got it working - just as an observation (and I really haven't tested this to che

Re: Accessing protected resources via a login page

2009-05-20 Thread Stuart Ellidge
This worked fine as the parameters interceptor automatically decodes parameters. Cheers, Steve -Original Message- From: Stuart Ellidge [mailto:stuart.elli...@adaptris.com] Sent: 19 May 2009 16:56 To: Struts Users Mailing List Subject: Re: Accessing protected resources via a login page Hi Ste

RE: Accessing protected resources via a login page

2009-05-20 Thread Steve
Ellidge [mailto:stuart.elli...@adaptris.com] Sent: 19 May 2009 16:56 To: Struts Users Mailing List Subject: Re: Accessing protected resources via a login page Hi Steve, What you are asking is relatively simple really - we implemented an interceptor to capture the current request URL and

Re: Accessing protected resources via a login page

2009-05-19 Thread Wes Wannemacher
On Tuesday 19 May 2009 05:05:11 pm dusty wrote: > I think this is more difficult than most people think. There are a lot of > use cases and edge cases that make most home grown solutions pretty > fragile. I think GETs are pretty easy but it gets a little more exciting > when you are dealing with P

Re: Accessing protected resources via a login page

2009-05-19 Thread dusty
ike > ".../login.action?url=". I guess storing the > request string in the session would work just as well. Do you know the > easiest way to access the request string from an interceptor or action? > > Many Thanks, > > Steve > > -Original Message- >

Re: Accessing protected resources via a login page

2009-05-19 Thread Stuart Ellidge
access the request string from an interceptor or action? Many Thanks, Steve -Original Message- From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com] Sent: 19 May 2009 15:26 To: Struts Users Mailing List Subject: Re: Accessing protected resources via a login page 2009/5/19 Steve : > Ca

RE: Accessing protected resources via a login page

2009-05-19 Thread Steve
Struts Users Mailing List Subject: Re: Accessing protected resources via a login page 2009/5/19 Steve : > Can anyone advise on the best way to do this? Use Acegi, it has such functionality built-in or store request path in session when redirecting to login page and after successful login, r

Re: Accessing protected resources via a login page

2009-05-19 Thread Lukasz Lenart
2009/5/19 Steve : > Can anyone advise on the best way to do this? Use Acegi, it has such functionality built-in or store request path in session when redirecting to login page and after successful login, read it from session and redirect to it. It should be achievable with the same intercep

Accessing protected resources via a login page

2009-05-19 Thread Steve
Hi everyone, I have an application that insists on a user being logged in before they can access specific resources. Currently, if a user who is not logged in, attempts to access these resources, they are simply redirected to the login page. This works fine and is implemented using an

Re: Login page first time display

2009-05-14 Thread Paweł Wielgus
Hi Ed, what i do is redirecting to a page for the first time, or creating a LoginPage action that is just a redirect. Best greetings, Paweł Wielgus. 2009/5/14 Ed : > Im using Tiles, in my sidebar "tile" I have a link to a login action, as > follows: > > Login > > and mapped in struts-config like

Login page first time display

2009-05-14 Thread Ed
Im using Tiles, in my sidebar "tile" I have a link to a login action, as follows: Login and mapped in struts-config like this: Then I have the corresponding ActionForm and Action The problem comes when I click the link, Action's execute method is invoked. In execute method I do s

Struts 2, Apache 6, Container Managed Security, SSO & Login Page Redirect

2008-11-19 Thread Richard Rauser
ps, I wish to redirect from login.jsp to my Struts /login action (I am using the Smart URLs plugin to eliminate the .action extension). login.jsp is configured as the form-login-page in web.xml. I am doing this because Tomcat won't accept /login as this parameter. login.jsp implements the r

Re: Transfer user to login page on session timeout

2008-05-08 Thread Vivek Rana
I am working on some legacy code. Have a requirement where the user should be fwded to the login page after session times out. Currently there are 100's of action classes and it wont be feasible to touch each one and check if the session exists. Can we do something in struts 1 so that all req

Transfer user to login page on session timeout

2008-05-08 Thread bhaarat Sharma
Hello I am using struts 1 I am working on some legacy code. Have a requirement where the user should be fwded to the login page after session times out. Currently there are 100's of action classes and it wont be feasible to touch each one and check if the session exists. Can we do somethi

RE: Re: [probably OT] Default locale on login page

2008-02-11 Thread Christopher Loschen
ent: Monday, February 11, 2008 3:49 PM To: user@struts.apache.org Subject: Re: [probably OT] Default locale on login page Christopher Loschen wrote: > Hi all, > > My best guess is that this is happening before Struts gets involved, but > I wondered if anyone might have some suggesti

Re: [probably OT] Default locale on login page

2008-02-11 Thread Laurie Harper
Christopher Loschen wrote: Hi all, My best guess is that this is happening before Struts gets involved, but I wondered if anyone might have some suggestions or places for me to look. I'm having some strange i18n behavior on our initial login page. Our app is still using Struts 1.1 (don&

[probably OT] Default locale on login page

2008-02-11 Thread Christopher Loschen
Hi all, My best guess is that this is happening before Struts gets involved, but I wondered if anyone might have some suggestions or places for me to look. I'm having some strange i18n behavior on our initial login page. Our app is still using Struts 1.1 (don't ask..). We

Handling redirect to Login page on session timeout for ajax requests

2007-04-26 Thread Gajbhe, Laxman \(Contractor\)
Hi, I've an authentication interceptor that checks for authentication and forwards to login page if the user is not logged in. This works fine. Problem is if session is timed out and user clicks on a page where the request is ajax driven, login page gets rendered as an ajax content.

[S2] - inner div, session timeout and login page

2007-01-06 Thread Dariusz Wojtas
Hi, Struts2 allows me to use easily inner div functionality, submitting forms with a specific targets, etc ... Works wonderfully. But ... now I have a problem with it. User navigates through such ajax enabled page, some links and submit buttons on that page have target to some divs. After some t

Struts and JAAS - login page timeout

2006-09-29 Thread Adam Gordon
Not strictly a Struts question but we're using JAAS and Struts to handle login (form) authentication. Anyone know where/how the login page timeout is set? It's not the same as the session timeout. Thanks, -Adam --

Re: how to dynamically internationalize login page

2006-09-13 Thread Manfred Wolff
st of the actions that are provided with struts. Manfred Struts goes mobile: http://strutsme.org leo mj wrote: > hi all, > > I think some fellow member has asked the same question.But I didn't find any > reply for the old thread. > > So i have a scenario > > I have a

Re: how to dynamically internationalize login page

2006-09-12 Thread Laurie Harper
leo mj wrote: hi all, I think some fellow member has asked the same question.But I didn't find any reply for the old thread. So i have a scenario I have a login page with 1.Username 2.Password 3.Language Based on the language selected I have to reload the page. I have

how to dynamically internationalize login page

2006-09-12 Thread leo mj
hi all, I think some fellow member has asked the same question.But I didn't find any reply for the old thread. So i have a scenario I have a login page with 1.Username 2.Password 3.Language Based on the language selected I have to reload the page. I have used internationaliz

RE: tag for checking session and forward to login page

2006-07-24 Thread Raghuveer
This is how i have done at present . I am checking session in all execute methods. But My Customer wants not view the page in clicked BACK.Instead login page should shown with message -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, July 21, 2006 3:22 PM

RE: tag for checking session and forward to login page

2006-07-21 Thread kumar.vinodh
removes the session variable and invalidate all the session variable. Now if the user tries to go back using back button, user can view the page but no actions can be performed on the page. Any actions performed on the page will take the user to login page. If any one know about disabling back

Re: tag for checking session and forward to login page

2006-07-21 Thread Antonio Petrelli
Raghuveer ha scritto: In log page once the session expired if user clicks BROWSER BACK button ,user should be in login page only when session expires. Can you elaborate this? I don't understand what you need. Ciao An

tag for checking session and forward to login page

2006-07-21 Thread Raghuveer
In My Web application, i have page ot show "session_expired message" in login page. When session expires user is navigated to this page from server side. I am checking this in all execute methods of my action. Once the session expired user is navigated to login page. If user cli

Re: Shale redirect to login page for secured pages

2006-01-16 Thread Craig McClanahan
On 1/16/06, Jason Vincent <[EMAIL PROTECTED]> wrote: > > Hi there, > > I'd like to setup this usecase, in Shale/JSF... > > 1) user requests a url that is configured as "secured". > 2) system checks for logged in user. > 3) if the user is not logged

Shale redirect to login page for secured pages

2006-01-16 Thread Jason Vincent
Hi there, I'd like to setup this usecase, in Shale/JSF... 1) user requests a url that is configured as "secured". 2) system checks for logged in user. 3) if the user is not logged in, then redirect to the login page. 4) on successfull login, redirect to orginally requested URL. c

Re: Error messages in login page doesn't show up

2005-06-08 Thread Ian van der Neut
I solved it, removing redirect="true" from the action-mapping tag in struts-config.xml solved it. Ian. On 6/8/05, Ian van der Neut <[EMAIL PROTECTED]> wrote: > Hello all, > > I have a little problem with displaying an "Invalid login" message on > my lo

Error messages in login page doesn't show up

2005-06-08 Thread Ian van der Neut
Hello all, I have a little problem with displaying an "Invalid login" message on my login page. I am using tomcat 5.0.28 and struts 1.2.4 I have a login.jsp that looks like this: In my ActionForm, the validate method looks like thi

RE: need help securing my login page

2004-09-20 Thread Janarthan Sathiamurthy
Hi, Take a look at http://sslext.sourceforge.net/ Regards, Janarthan S -Original Message- From: Janice [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 6:38 AM To: [EMAIL PROTECTED] Subject: need help securing my login page I need to secure my login page only, just to

need help securing my login page

2004-09-20 Thread Janice
I need to secure my login page only, just to prevent the username/password from being picked up. What is the quickest and dirtiest way to do this? I was thinking of something along the line of checking in my login.jsp for request.isSecure() and then response.redirect()ing to https, but my

RE: redirect to login page with error message on the jsp page

2004-07-30 Thread Geeta Ramani
Well, you could put in a check for whether they are already in the login page. You could use methods like getRequestURI() on the request object or something like: if ((request.getParameter("username") != null) && (request.getParameter("passowrd") != null) ) {

RE: redirect to login page with error message on the jsp page

2004-07-30 Thread Gupta, Sahil
Other options besides using the RequestProcessor: SAIF Filters I would suggest the use of filters. In the filters you could check whether the request is for your login resource(assuming thats your first time), and let the user through to the login page w/o the error messages and in case the

RE: redirect to login page with error message on the jsp page

2004-07-30 Thread Gupta, Sahil
has been working for me for very long now. -Original Message- From: Asim Ghosh [mailto:[EMAIL PROTECTED] Sent: Friday, July 30, 2004 11:33 AM To: Struts Users Mailing List Subject: RE: redirect to login page with error message on the jsp page Are u sure that this will work

RE: redirect to login page with error message on the jsp page

2004-07-30 Thread Asim Ghosh
ndForward to the login page. The login page should display the errors from the html:errors tag. Pretty straight forward. Sahil -Original Message- From: Asim Ghosh [mailto:[EMAIL PROTECTED] Sent: Friday, July 30, 2004 11:19 AM To: [EMAIL PROTECTED] Subject: redirect to login page with erro

RE: redirect to login page with error message on the jsp page

2004-07-30 Thread Asim Ghosh
(); if ( (session == null) || (session.getFavouriteObjectInSession == null) ) { //use Response object to redirect to login page with error set; } Geeta > -Original Message- > From: Asim Ghosh [mailto:[EMAIL PROTECTED] > Sent: Friday, July 30, 2004 11:19 AM > To: [EMAIL PROTECTED] >

RE: redirect to login page with error message on the jsp page

2004-07-30 Thread Geeta Ramani
Or you could write a RequestProcessor and override the processPreprocess method with something like this: HttpSession session = request.getSession(); if ( (session == null) || (session.getFavouriteObjectInSession == null) ) { //use Response object to redirect to login page with error set

RE: redirect to login page with error message on the jsp page

2004-07-30 Thread Gupta, Sahil
If the session object is invalidated(timed out), add the action errors in the request and call the saverequest(errors, req) in the action servlet and do a mapping.findForward to the login page. The login page should display the errors from the html:errors tag. Pretty straight forward. Sahil

redirect to login page with error message on the jsp page

2004-07-30 Thread Asim Ghosh
hello, can anybody tell me how to redirect to login page with error message on the jsp page. It should display error message "You session has timed out" on the login page. in web.xml 30 - ALL-NEW Yahoo! Messenger - all ne

RE: How does ActionForm data pass through container called form based login page?

2004-03-27 Thread Martin Alley
FYI... I've done a simple test with no struts involved, and the post data still fails to pass through ok. It's basicly 3 files Index.html links to form.html Form.html posts to process.jsp Both form.html and process.jsp are protected, though interestingly the login page only com