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

RE: logic:redirect w/ query string

2005-10-04 Thread Doug Thomas
quot;params" /> Error message: "Define tag can contain only one of name attribute, value attribute, or body content" Any suggestions? Thanks, Doug -Original Message- From: Kishore Senji [mailto:[EMAIL PROTECTED] Sent: Monday, October 03, 2005 2:29 PM To: Doug Thomas

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
String myMsg = "Server disconnect -Your work to this point has been saved.Please re-login."; request.setAttribute("msg",myMsg); %> Is this possible? -Original Message- From: Kishore Senji [mailto:[EMAIL PROTECTED] Sent: Friday, September 30, 2005 6:28 PM To: S

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 query string> > >

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

2004-09-07 Thread James Mitchell
This is actually a side affect of your container configuration (or limitation). If your container supports it, you can override it. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Chris Phillips" <[EMAIL

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

2004-06-23 Thread Kris Schneider
Any attempts by an included resource to change headers or response status codes should be ignored, that's just part of the spec. An include *directive* might work, but this sort of functionality really doesn't belong in a JSP. If you're using at least a Servlet 2.3 container, try a Filter. Otherwis

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 -Original Message