Re: Redirect URLs have class names added after the action name with # or !
2016-10-17 16:30 GMT+02:00 Dhamelia, Krunal: > Yep sorry I didn’t see that. > > Here is how redirect is configured > > LogonAction has method LogonSuccessful which at the end sets the variable > "nextAction" and returns the result "next" which is a redirect type of result > with location param value set to value of "nextAction". > > class="logonAction"> > login > > ${nextAction} > > > name="location">j_spring_security_check?j_username=${username} > > Hm looks good. Did you try to test on some other container? Tomcat or Jetty? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
RE: Redirect URLs have class names added after the action name with # or !
Yep sorry I didn’t see that. Here is how redirect is configured LogonAction has method LogonSuccessful which at the end sets the variable "nextAction" and returns the result "next" which is a redirect type of result with location param value set to value of "nextAction". login ${nextAction} j_spring_security_check?j_username=${username} Thanks and Regards, Krunal Dhamelia Consultant | TD Securities Technology Solutions| TD Securities 130 Adelaide St W – 9th floor, Toronto, Ont, M5H 3P5 desk: 416 944 6187 cell: 647 835 3067 e-mail: krunal.dhame...@tdsecurities.com -Original Message- From: Lukasz Lenart [mailto:lukaszlen...@apache.org] Sent: Monday, October 17, 2016 10:09 AM To: Struts Users Mailing List Subject: Re: Redirect URLs have class names added after the action name with # or ! Ok, but there was a second question 2016-10-17 16:05 GMT+02:00 Dhamelia, Krunal: > Yes Lukasz, we did migrate from Struts 2.0.11 and Spring Web 2.5.6 > > Thanks and Regards, > Krunal Dhamelia > Consultant | TD Securities Technology Solutions| TD Securities > 130 Adelaide St W – 9th floor, Toronto, Ont, M5H 3P5 > desk: 416 944 6187 cell: 647 835 3067 > e-mail: krunal.dhame...@tdsecurities.com > > > -Original Message- > From: Lukasz Lenart [mailto:lukaszlen...@apache.org] > Sent: Sunday, October 16, 2016 8:31 AM > To: Struts Users Mailing List > Subject: Re: Redirect URLs have class names added after the action name with > # or ! > > 2016-10-14 16:07 GMT+02:00 Dhamelia, Krunal > : >> Hi Everyone, >> I am facing very weird issue at least I haven't seen it before. >> >> Struts version 2.3.16 >> Struts Spring combination using Spring 3.0.6 > > Did you migrate from some other version? > >> Once the redirect happens it makes the round trip of browser and comes back, >> I have a filter filtering all request where I print the >> request.getRequestURI() and the output I get for these redirect requests is >> as follows. >> >> /appname/viewLogonSessionExp!com.abc.appname.dailytransactions.report >> s:com.tdsecurities.clips.referencedata.reports:com.tdsecurities.clips >> .corebusinessentity.reports.action > > Can you share how did you configure the redirect? > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > If you wish to unsubscribe from receiving commercial electronic > messages from TD Bank Group, please click here or go to the following > web address: www.td.com/tdoptout Si vous souhaitez vous désabonner des > messages électroniques de nature commerciale envoyés par Groupe Banque > TD veuillez cliquer ici ou vous rendre à l'adresse www.td.com/tddesab > > NOTICE: Confidential message which may be privileged. Unauthorized > use/disclosure prohibited. If received in error, please go to > www.td.com/legal for instructions. > AVIS : Message confidentiel dont le contenu peut être privilégié. > Utilisation/divulgation interdites sans permission. Si reçu par erreur, > prière d'aller au www.td.com/francais/avis_juridique pour des instructions. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Redirect URLs have class names added after the action name with # or !
Ok, but there was a second question 2016-10-17 16:05 GMT+02:00 Dhamelia, Krunal: > Yes Lukasz, we did migrate from Struts 2.0.11 and Spring Web 2.5.6 > > Thanks and Regards, > Krunal Dhamelia > Consultant | TD Securities Technology Solutions| TD Securities > 130 Adelaide St W – 9th floor, Toronto, Ont, M5H 3P5 > desk: 416 944 6187 cell: 647 835 3067 > e-mail: krunal.dhame...@tdsecurities.com > > > -Original Message- > From: Lukasz Lenart [mailto:lukaszlen...@apache.org] > Sent: Sunday, October 16, 2016 8:31 AM > To: Struts Users Mailing List > Subject: Re: Redirect URLs have class names added after the action name with > # or ! > > 2016-10-14 16:07 GMT+02:00 Dhamelia, Krunal > : >> Hi Everyone, >> I am facing very weird issue at least I haven't seen it before. >> >> Struts version 2.3.16 >> Struts Spring combination using Spring 3.0.6 > > Did you migrate from some other version? > >> Once the redirect happens it makes the round trip of browser and comes back, >> I have a filter filtering all request where I print the >> request.getRequestURI() and the output I get for these redirect requests is >> as follows. >> >> /appname/viewLogonSessionExp!com.abc.appname.dailytransactions.reports:com.tdsecurities.clips.referencedata.reports:com.tdsecurities.clips.corebusinessentity.reports.action > > Can you share how did you configure the redirect? > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > If you wish to unsubscribe from receiving commercial electronic messages from > TD Bank Group, please click here or go to the following web address: > www.td.com/tdoptout > Si vous souhaitez vous désabonner des messages électroniques de nature > commerciale envoyés par Groupe Banque TD veuillez cliquer ici ou vous rendre > à l'adresse www.td.com/tddesab > > NOTICE: Confidential message which may be privileged. Unauthorized > use/disclosure prohibited. If received in error, please go to > www.td.com/legal for instructions. > AVIS : Message confidentiel dont le contenu peut être privilégié. > Utilisation/divulgation interdites sans permission. Si reçu par erreur, > prière d'aller au www.td.com/francais/avis_juridique pour des instructions. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
RE: Redirect URLs have class names added after the action name with # or !
Yes Lukasz, we did migrate from Struts 2.0.11 and Spring Web 2.5.6 Thanks and Regards, Krunal Dhamelia Consultant | TD Securities Technology Solutions| TD Securities 130 Adelaide St W – 9th floor, Toronto, Ont, M5H 3P5 desk: 416 944 6187 cell: 647 835 3067 e-mail: krunal.dhame...@tdsecurities.com -Original Message- From: Lukasz Lenart [mailto:lukaszlen...@apache.org] Sent: Sunday, October 16, 2016 8:31 AM To: Struts Users Mailing List Subject: Re: Redirect URLs have class names added after the action name with # or ! 2016-10-14 16:07 GMT+02:00 Dhamelia, Krunal: > Hi Everyone, > I am facing very weird issue at least I haven't seen it before. > > Struts version 2.3.16 > Struts Spring combination using Spring 3.0.6 Did you migrate from some other version? > Once the redirect happens it makes the round trip of browser and comes back, > I have a filter filtering all request where I print the > request.getRequestURI() and the output I get for these redirect requests is > as follows. > > /appname/viewLogonSessionExp!com.abc.appname.dailytransactions.reports:com.tdsecurities.clips.referencedata.reports:com.tdsecurities.clips.corebusinessentity.reports.action Can you share how did you configure the redirect? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org If you wish to unsubscribe from receiving commercial electronic messages from TD Bank Group, please click here or go to the following web address: www.td.com/tdoptout Si vous souhaitez vous désabonner des messages électroniques de nature commerciale envoyés par Groupe Banque TD veuillez cliquer ici ou vous rendre à l'adresse www.td.com/tddesab NOTICE: Confidential message which may be privileged. Unauthorized use/disclosure prohibited. If received in error, please go to www.td.com/legal for instructions. AVIS : Message confidentiel dont le contenu peut être privilégié. Utilisation/divulgation interdites sans permission. Si reçu par erreur, prière d'aller au www.td.com/francais/avis_juridique pour des instructions.
Re: Struts2 2.3.16 integration with Spring Boot 1.3.5
2016-10-15 12:07 GMT+02:00 Rodman, Kenneth J: > Hi, > In case anyone else runs into the same problem, it was nothing to do with > Struts 2 and Spring Boot 1.3.5. They both work fine together. The problem was > running the application from Intellij IDE. It corrupts some of the pathways > and so was not able to find the JSP pages. Once I packaged up as a WAR file > and deployed onto Tomcat, it took me 30 minutes to get it working. Cool, thank a lot for clarifying this :) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: How to disable character like Tilt(~) in the Action Name
It isn't but you have probably a default action ref defined e.g. and it's used to redirect to proper action. Try login and using some non-default action with "~", e.g. /~logout 2016-10-15 0:15 GMT+02:00 R Veach: > Why are tilts(~) allowed and enabled by default? > I thought struts would only look for URLs that match the action name in the > config exactly, minus the extension. > Are there other similar characters that struts will allow in the action url? > > On Thu, Oct 13, 2016 at 2:01 PM, Lukasz Lenart > wrote: > >> The simplest way is to define an excluded action as follow >> >> >> >> 2016-10-13 14:00 GMT+02:00 Rajvinder Pal : >> > Hi Everyone, >> > >> > I am trying to access the URL in the browser like below:- >> > >> > 1.) http://localhost:9084/myportal/login.do >> > 2.) http://localhost:9084/myportal/~login.do >> > >> > >> > struts.xml entry:- >> > >> > >> > >> > execute >> > >> > /jsp/userlogin/loginPage.jsp >> > >> > >> > >> > >> > I am able to get the login page using both the URLs. I don't want to get >> > the result using second URL. PLease let me know if i need any >> > configuration so that framework should not try to map ~login to login in >> > the struts.xml >> > >> > Regards, >> > Rajvinder >> >> - >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org