Re: Redirecting to another action which is in another web context

2013-05-07 Thread srikanth
Hi Dale, I think you did get what i mean , cross context means (not local/ remote) but two web application exist inside an EAR. http://localhost:8080/abc/a/abc.action http://localhost:8080/xyz/x/xyz.action I have to redirect from*abc.action* which is in *abc *webcontext to *xyz.action*

Re: Localised text tag

2013-05-07 Thread Lukasz Lenart
Hi, Yeah, it looks like a double evaluation which is a bug probably Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/5/8 Dale Newfield : > It seems like an evaluation of a value, which could be bad, in fact a large > security hole. What if that value were "System.exit()"? (

Re: Redirecting to another action which is in another web context

2013-05-07 Thread Dale Newfield
It's just generating a URL and telling the browser to redirect there. Why should the scope (local/remote) matter? -Dale On May 8, 2013, at 1:38 AM, "Sreekanth S. Nair" wrote: > Hi Gang, > I hope these all works only for those action which exist in the same > web context not for action exi

Re: Redirecting to another action which is in another web context

2013-05-07 Thread Sreekanth S. Nair
Hi Gang, I hope these all works only for those action which exist in the same web context not for action exist in another web context. -- Thanks & Regards Srikanth On Wed, May 8, 2013 at 11:04 AM, 陈岗 wrote: > Hi > > try them > > > > or > > > > or > > > > > > 2013/5/8 Sreekanth S. Nai

Re: Redirecting to another action which is in another web context

2013-05-07 Thread 陈岗
Hi try them or or 2013/5/8 Sreekanth S. Nair > Hi, > Does Struts2 have any way to redirect from one action to another action > which exist in a different Web Context. > ServletRedirectResult and ServletActionRedirectResult doesn't seems to be > work for Cross Context Action redire

Fwd: Redirecting to another action which is in another web context

2013-05-07 Thread Sreekanth S. Nair
Hi, Does Struts2 have any way to redirect from one action to another action which exist in a different Web Context. ServletRedirectResult and ServletActionRedirectResult doesn't seems to be work for Cross Context Action redirection. -- Thanks & Regards Srikanth

Redirecting to another action which is in another web context

2013-05-07 Thread Sreekanth S. Nair
Hi, Does Struts2 have any way to redirect from one action to another action which exist in a different Web Context. ServletRedirectResult and ServletActionRedirectResult doesn't seems to be work for Cross Context Action redirection. -- Thanks & Regards Srikanth Software Developer -

Re: Localised text tag

2013-05-07 Thread Dale Newfield
It seems like an evaluation of a value, which could be bad, in fact a large security hole. What if that value were "System.exit()"? (I forget my ognl...I think you need fully qualified path and a hash or at or something to call static methods, but you get the point.) -Dale On May 7, 2013, at

Localised text tag

2013-05-07 Thread Zoran Avtarovski
I have a small issue that I'm trying to resolve and I was hoping the someone might have come across it earlier. I'll try to explain as best I can: I have a number of objects on the value stack: 1. pojo - a java object with a string attribute called key which links to a DB based localised text val

Re: [S1] Best practice to transfer control to next page (out of JVM)?

2013-05-07 Thread Dave Newton
Heh; that old post brought back memories. You'll need to define what "doesn't work" means (and what is if you're using Struts 1). Dave On Tue, May 7, 2013 at 11:28 AM, Thomas Lionel SMETS (prof) < tsm...@a3-system.eu> wrote: > > I am writting some sort of a proxy & uses HttpClient to execute

Re: [S1] Best practice to transfer control to next page (out of JVM)?

2013-05-07 Thread Thomas Lionel SMETS (prof)
I am writting some sort of a proxy & uses HttpClient to execute the request. The HttpClient does the request (POST) as expected & I can see that the answer is coming. I just need to copy the HttpResponse received as the Struts "full" response. This proo