Re: logic:redirect substitute

2008-01-06 Thread Marcin Pietraszek
Hi!, > I guess Im not understanding why you don't want to use > redirect-action-result? Because I want use as a first-web-page tiles page. And as far as I know I can achive this only with tiles.index so I want to redirect from index.jsp to actionName.action. How can I use redirect-acti

Re: logic:redirect substitute

2008-01-06 Thread Dave Newton
Oops. AFAIK S2 doesn't have an equivalent tag. Can't you just use a scriptlet? It's only one file. Or use JSTL. d. --- Marcin Pietraszek <[EMAIL PROTECTED]> wrote: > Hi, > > > http://struts.apache.org/2.0.11/docs/redirect-action-result.html > > the struts2.x prescribed algorithm is to use a r

Re: logic:redirect substitute

2008-01-06 Thread Dave Newton
AFAIK there is no tag for this. Can't you just use a scriptlet? It's only in one file. d. --- Marcin Pietraszek <[EMAIL PROTECTED]> wrote: > Hi, > > > http://struts.apache.org/2.0.11/docs/redirect-action-result.html > > the struts2.x prescribed algorithm is to use a redirect-action > > is ther

Re: logic:redirect substitute

2008-01-06 Thread Marcin Pietraszek
Hi, > http://struts.apache.org/2.0.11/docs/redirect-action-result.html > the struts2.x prescribed algorithm is to use a redirect-action > is there something specific in your webapp to prevent you from using > redirect-action? Maybe this could be named "specyfic".. I want to redirect to action X

logic:redirect substitute

2008-01-06 Thread Marcin Pietraszek
Hi, as in subject. Is there in Struts2 tag which have the same behavior as from Struts1? If no, how I can achive simillar effect with S2 tags? -- greetings! kbl/Cinek/greengoo marcin.pietraszek.pl - To unsubscribe, e-mail: [EMA

[S2] logic:redirect substitute

2008-01-05 Thread Marcin Pietraszek
Hi, as in subject. Is there in Struts2 tag which have the same behavior as from Struts1? If no, how I can achive simillar effect with S2 tags? -- greetings! kbl/Cinek/greengoo marcin.pietraszek.pl - To unsubscribe, e-mail: [EM

RE: logic:redirect w/ query string

2005-10-04 Thread Doug Thomas
Kishore, I'm now trying to pass multiple request parameters. My code: "CONTINUE" <% Hashtable ht = new Hashtable(); ht.put("notifyMsg",msg); ht.put("errCode",errCode); %> (Also tried: logic:redirect forward="ERRORNOTIFY" name=&

Re: logic:redirect w/ query string

2005-10-03 Thread Kishore Senji
> /> > > Is this possible? Yes, If you use and tags as in

RE: logic:redirect w/ query string

2005-10-03 Thread Doug Thomas
truts Users Mailing List Subject: Re: logic:redirect w/ query string You could specify paramId, paramName, paramProperty attributes in the exact similar way to . Please take a look at http://struts.apache.org/userGuide/struts-logic.html#redirect

Re: logic:redirect w/ query string

2005-09-30 Thread Kishore Senji
You could specify paramId, paramName, paramProperty attributes in the exact similar way to . Please take a look at http://struts.apache.org/userGuide/struts-logic.html#redirect On 9/30/05, Doug Thomas <[EMAIL PROTECTED]> wrote: > > How do I create a logic:redirect element with a

logic:redirect w/ query string

2005-09-30 Thread Doug Thomas
How do I create a logic:redirect element with a query string> I have: Where ERRORNOTIFY is defined in of the struts-config.xml file and forwards to notifyError.jsp. I need to generate the following URL: notifyError.jsp?errMsg=some+error+message How to append the query string to the URL

Re: logic:redirect has odd behavior in HW load balanced struts app

2004-09-07 Thread James Mitchell
llips" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 07, 2004 9:19 PM Subject: logic:redirect has odd behavior in HW load balanced struts app Hi. We have been experiencing odd behavior with the logic:redirect tag where a simple index.jsp page that contains it seems

logic:redirect has odd behavior in HW load balanced struts app

2004-09-07 Thread Chris Phillips
Hi. We have been experiencing odd behavior with the logic:redirect tag where a simple index.jsp page that contains it seems to construct absolute urls instead of relative ones, which is not what we would like. We hope that by sending the question out to the list that we could get some

RE: logic:redirect not working (problem with dynamic jsp:include?)

2004-06-23 Thread Kris Schneider
construct. > > So, there appears to be a problem with using logic:redirect in a dynamically > included JSP? > > Any ideas? > > > TIA - Adam > > > -Original Message- > From: Adam Lipscombe [mailto:[EMAIL PROTECTED] > Sent: 23 June 2004 13:48 > T

RE: logic:redirect not working (problem with dynamic jsp:include?)

2004-06-23 Thread Adam Lipscombe
Folks, I have discovered that if I use the mechanism then the code below does not work. It does work if I use the <%@ include file="..." %> construct. So, there appears to be a problem with using logic:redirect in a dynamically included JSP? Any ideas? TIA - Adam -

logic:redirect not working

2004-06-23 Thread Adam Lipscombe
Folks, I am trying to implement a simple login gate to ensure a user is logged in. My code is below. When a user is logged in successfully a session attribute named "userContext" is present, and this has a property named "user". There is a global forward called "login" LoginGate.jsp: <%@ t