Re: Redirect URLs have class names added after the action name with # or !

2016-10-25 Thread Lukasz Lenart
2016-10-25 16:54 GMT+02:00 Dhamelia, Krunal :
> Question: How do you define "nextAction"? Is it a String like "homeAction"?
> Ans: yes I define it as a string which is anaction name  "/welcome.action"

redirectAction result expects action name not the whole URL, instead
"/welcome.action" return "welcome" - let's start with 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: Redirect URLs have class names added after the action name with # or !

2016-10-25 Thread Dhamelia, Krunal
Question: How do you define "nextAction"? Is it a String like "homeAction"?
Ans: yes I define it as a string which is anaction name  "/welcome.action"


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: Tuesday, October 25, 2016 1:06 AM
To: Struts Users Mailing List
Subject: Re: Redirect URLs have class names added after the action name with # 
or !

2016-10-24 22:29 GMT+02:00 Dhamelia, Krunal :
> Hi Lukaz,
> I am really stuck with this issue. I tried on WebSphere Application Server 
> and this issue is not there only on JBOSS I am getting this.
>
> But the problem, when Struts is redirecting using action redirect that time 
> only I get this problem, I have manual redirect response.sendredirect from my 
> filter does not cause the same behavior neither Spring filter redirect.
>
> Does this ring any bell?

Nope, not at all. You are the first person reporting such issue. Maybe you have 
a custom interceptor that does something funky - really hard to fifure out 
what's wrong.

>> > class="logonAction">
>> login
>> 
>> ${nextAction}
>> 
>> 
>> > name="location">j_spring_security_check?j_username=${username}
>> 
>> 

How do you define "nextAction"? Is it a String like "homeAction"?


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.