Re: How to disable character like Tilt(~) in the Action Name
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 > >
RE: Redirect URLs have class names added after the action name with # or !
Forgot to mention that the runtime for application I am using is JBOSS EAP 6.4, I think it could be related to App server too. 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: Dhamelia, Krunal Sent: Friday, October 14, 2016 10:07 AM To: Struts Users Mailing List Subject: Redirect URLs have class names added after the action name with # or ! 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 When I redirect to an action from interceptor or as a result of another action it adds some class names with package in the URL and due to this next time struts can not recognize the action and it ends up calling the GenericAction I have configured. 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 The things in bold are coming unexpected and due to this Struts can not match it to the action defined in struts.xml with name "viewLogonSessionExp" Any help!! 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 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 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
Redirect URLs have class names added after the action name with # or !
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 When I redirect to an action from interceptor or as a result of another action it adds some class names with package in the URL and due to this next time struts can not recognize the action and it ends up calling the GenericAction I have configured. 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 The things in bold are coming unexpected and due to this Struts can not match it to the action defined in struts.xml with name "viewLogonSessionExp" Any help!! 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 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 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.