Re: struts 2: Redirect action giving token issue

2014-06-17 Thread Arpan
Thanks a lot Christoph.. It was a very good hint. Ultimately I have added the token value into request attribute and then accessed it in the result param as follows : token %{#request.token} On Tue, Jun 17, 2014 at 6:09 PM, Christoph Nenning < christoph.nenn...@lex-com.net> wrote: > You can

Re: struts 2: Redirect action giving token issue

2014-06-17 Thread Christoph Nenning
You can use OGNL in result config, like this: generateReport foo ${token} Regards, Christoph > Hi Christoph, > > There are token checks while submitting the ist page and while displaying > the 2nd page also. > The real problem is that while redi

Re: struts 2: Redirect action giving token issue

2014-06-17 Thread Arpan
Hi Christoph, There are token checks while submitting the ist page and while displaying the 2nd page also. The real problem is that while redirecting token is getting cleared from request parameter. Is there anyway I can pass the token in the request parameter to the next action. On Tue, Jun 17,

Re: struts 2: Redirect action giving token issue

2014-06-17 Thread Christoph Nenning
> HI All, > > We have two pages and both of them have tag and both of them use > token interceptor. > > After I submit one form I need to display another form in another page. > I am using "redirectAction" to redirect > > Before redirecting in the first action class I am setting token value i

struts 2: Redirect action giving token issue

2014-06-17 Thread Arpan
HI All, We have two pages and both of them have tag and both of them use token interceptor. After I submit one form I need to display another form in another page. I am using "redirectAction" to redirect Before redirecting in the first action class I am setting token value into session. But whe

Re: Struts 2 WW-1714: "Using the Redirect Action Result withparameters to the target action causes an OGNL warning" still fails

2011-09-09 Thread Maurizio Cucchiara
I got your point: what is explained on JIRA would not seem related to what really happen. On the other hand, it's just a debug message, I think is nothing to take care. Don't you think so? Maurizio Cucchiara

Re: Struts 2 WW-1714: "Using the Redirect Action Result withparameters to the target action causes an OGNL warning" still fails

2011-09-08 Thread JOSE L MARTINEZ-AVIAL
ng out my own additions(as you said Tiles and get back to the > default > >>> stack) and see on what moment it works fine. I'll let you know. > >>> > >>> Thanks > >>> > >>> JL > >>> Sent via BlackBerry from T-

Re: Struts 2 WW-1714: "Using the Redirect Action Result withparameters to the target action causes an OGNL warning" still fails

2011-09-08 Thread Maurizio Cucchiara
my own additions(as you said Tiles and get back to the default >>> stack) and see on what moment it works fine. I'll let you know. >>> >>> Thanks >>> >>> JL >>> Sent via BlackBerry from T-Mobile >>> >>> -Original Message

Re: Struts 2 WW-1714: "Using the Redirect Action Result withparameters to the target action causes an OGNL warning" still fails

2011-09-08 Thread JOSE L MARTINEZ-AVIAL
know. >> >> Thanks >> >> JL >> Sent via BlackBerry from T-Mobile >> >> -Original Message- >> From: Maurizio Cucchiara >> Sender: maurizio.cucchi...@gmail.com >> Date: Thu, 8 Sep 2011 10:44:36 >> To: Struts Users Mailing Lis

Re: Struts 2 WW-1714: "Using the Redirect Action Result withparameters to the target action causes an OGNL warning" still fails

2011-09-08 Thread JOSE L MARTINEZ-AVIAL
> JL > Sent via BlackBerry from T-Mobile > > -Original Message- > From: Maurizio Cucchiara > Sender: maurizio.cucchi...@gmail.com > Date: Thu, 8 Sep 2011 10:44:36 > To: Struts Users Mailing List > Reply-To: "Struts Users Mailing List" > Subject: Re: Stru

Re: Struts 2 WW-1714: "Using the Redirect Action Result withparameters to the target action causes an OGNL warning" still fails

2011-09-08 Thread jlmagc
- From: Maurizio Cucchiara Sender: maurizio.cucchi...@gmail.com Date: Thu, 8 Sep 2011 10:44:36 To: Struts Users Mailing List Reply-To: "Struts Users Mailing List" Subject: Re: Struts 2 WW-1714: "Using the Redirect Action Result with parameters to the target action causes an OGNL war

Re: Struts 2 WW-1714: "Using the Redirect Action Result with parameters to the target action causes an OGNL warning" still fails

2011-09-08 Thread Maurizio Cucchiara
Please forget my last mail, I mixed up the action name with the param name. Anyway I have been able to test your specific use case, using the blank webapp, and it works like a charm (that is without throwing any exception). So, I guess we need to know some further details. Also, could you try to ch

Re: Struts 2 WW-1714: "Using the Redirect Action Result with parameters to the target action causes an OGNL warning" still fails

2011-09-07 Thread JOSE L MARTINEZ-AVIAL
You mean the param value for actionName? But that's the name of the action where the user is redirected. NavigateTo Enroll eco.login.navigate-to.screen Any case, I just tried to low

Re: Struts 2 WW-1714: "Using the Redirect Action Result with parameters to the target action causes an OGNL warning" still fails

2011-09-07 Thread Maurizio Cucchiara
Does anything change if you change to lower the param name?: navigateTo Maurizio Cucchiara On 7 September 2011 15:56, JOSE L MARTINEZ-AVIAL wrote: > NavigateTo - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For

Struts 2 WW-1714: "Using the Redirect Action Result with parameters to the target action causes an OGNL warning" still fails

2011-09-07 Thread JOSE L MARTINEZ-AVIAL
Hi, I'm having some issues with this bug. Apparently it was fixed on 2.1.8, but I've tested both with 2.1.8 and 2.2.3, and it still givin an error message when I use a result like the following: NavigateTo Enroll It gives the following

Re: Special character problem while redirect-action

2011-07-28 Thread Vishwa Sahan
Cool. Congratz On Thu, Jul 28, 2011 at 3:10 PM, Sewwandi wrote: > Hi all, > > I found the solution. It was required to set the URIEncoding="UTF-8" > property, and that solved the problem. > > Thanks & regards > Sewdil > > On Thu, Jul 28, 2011 at 2:18 PM, Sewwandi wrote: > > > hi Vishwa, > > > >

Re: Special character problem while redirect-action

2011-07-28 Thread Sewwandi
Hi all, I found the solution. It was required to set the URIEncoding="UTF-8" property, and that solved the problem. Thanks & regards Sewdil On Thu, Jul 28, 2011 at 2:18 PM, Sewwandi wrote: > hi Vishwa, > > Thanks a lot for your reply... I don't get this with single and double > quotes and I am

Re: Special character problem while redirect-action

2011-07-28 Thread Sewwandi
hi Vishwa, Thanks a lot for your reply... I don't get this with single and double quotes and I am using UTF-8 charset. I think the request parameters which are passed need to be encoded but I can't find out how to. On Thu, Jul 28, 2011 at 1:58 PM, Vishwa Sahan wrote: > Is your problem persists

Re: Special character problem while redirect-action

2011-07-28 Thread Vishwa Sahan
Is your problem persists with the characters like singe and double quotes? I think the problem is with the charset. Try using UTF-8 charset it will be fine. Try explaining little more about what you are about to do. On Thu, Jul 28, 2011 at 1:59 PM, Sewwandi wrote: > yes > > On Thu, Jul 28, 2011

Re: Special character problem while redirect-action

2011-07-28 Thread Sewwandi
yes On Thu, Jul 28, 2011 at 1:04 PM, Vishwa Sahan wrote: > have you copied and pasted the charactor from somewhere else such as a MS > Word document? > > On Thu, Jul 28, 2011 at 1:25 PM, wrote: > > > hi, > > I am using struts 2.0.11.1 and i'm redirecting to an action with some > > parameters. >

Re: Special character problem while redirect-action

2011-07-28 Thread Vishwa Sahan
have you copied and pasted the charactor from somewhere else such as a MS Word document? On Thu, Jul 28, 2011 at 1:25 PM, wrote: > hi, > I am using struts 2.0.11.1 and i'm redirecting to an action with some > parameters. > the problem is that when the parameter value contain the special characte

Special character problem while redirect-action

2011-07-28 Thread sewdil
hi, I am using struts 2.0.11.1 and i'm redirecting to an action with some parameters. the problem is that when the parameter value contain the special character '–' (long dash) it is not correctly set in the parameter (ie when i print the value in 'otheractionName' action class (after redire

RE: Cancel-Redirect Action not working on Portlet

2010-03-23 Thread Kofford, C Todd
rsity of Kansas - IT -Original Message- From: Kofford, C Todd [mailto:tkoff...@ku.edu] Sent: Monday, March 15, 2010 10:20 AM To: user@struts.apache.org Subject: Cancel-Redirect Action not working on Portlet I am using Struts 2.1.8.1 with the portlet plug-in, and my webapp, a simple album database, is

Cancel-Redirect Action not working on Portlet

2010-03-15 Thread Kofford, C Todd
I am using Struts 2.1.8.1 with the portlet plug-in, and my webapp, a simple album database, is deployed on a tomcat 6 container. When running this webapp stand-alone the cancel button action correctly fires and calls the "cancelAlbum" action, but when running the same webapp as a portlet in uPorta

Re: Redirect Action and wildcard methods

2009-10-18 Thread jake
truts.apache.org > Sent: Sat, October 17, 2009 10:12:45 AM > Subject: Redirect Action and wildcard methods > > Hi, > > I have the following actions set up: > > > name="category">/WEB-INF/jsp/pages/PostCategory.jsp >

Re: Redirect Action and wildcard methods

2009-10-17 Thread Tommy Pham
From: "j...@researchtogether.com" To: user@struts.apache.org Sent: Sat, October 17, 2009 10:12:45 AM Subject: Redirect Action and wildcard methods Hi, I have the following actions set up: /WEB-INF/jsp/pages/PostCa

Redirect Action and wildcard methods

2009-10-17 Thread jake
Hi, I have the following actions set up: /WEB-INF/jsp/pages/PostCategory.jsp /WEB-INF/jsp/pages/PostTopic.jsp displayCategory /WEB-INF/jsp/pages/DisplayCategory.jsp /WEB-INF/jsp/pages/Topic.jsp

Re: Convention Plugin: How to specify a redirect action

2009-10-02 Thread Paweł Wielgus
Hi Roger, try redirectAction. Best greetings, Paweł Wielgus. 2009/10/2 RogerV : > > Could someone tell me the correct format for the @Result annotation for a > redirect action. The action class I want to redirect to is called > ProcessTemplate and I've tried > > @Actio

Convention Plugin: How to specify a redirect action

2009-10-02 Thread RogerV
Could someone tell me the correct format for the @Result annotation for a redirect action. The action class I want to redirect to is called ProcessTemplate and I've tried @Action(result...@result(name="success", type="redirect-action", location="process-template&quo

Re: Struts2 redirect-action with post params

2009-06-25 Thread Kelly.Graus
Hi Wes, I am using Struts 2.0.11.2. I tried it using redirectAction, but I am still receiving the same error. Kelly Wes Wannemacher wrote: > > On Thu, Jun 25, 2009 at 1:36 PM, Kelly.Graus > wrote: > >> >> >> This is the redirect action. it redirec

Re: Struts2 redirect-action with post params

2009-06-25 Thread Wes Wannemacher
On Thu, Jun 25, 2009 at 1:36 PM, Kelly.Graus wrote: > > > This is the redirect action. it redirects to the action, but the post > parameter isn't set. > > type="redirect-action">submitXmlLicenseRequest > > > Which version of struts

Re: Struts2 redirect-action with post params

2009-06-25 Thread Kelly.Graus
on the OGNL > stack should work for you: > > > > submitXmlLicenseRequest > ${#parameters.licenseRequest} > > > > Brice > -- View this message in context: http://www.nabble.com/Struts2-redirect-action-with-post-params-tp24207810p24208402.html Sent fr

Re: Struts2 redirect-action with post params

2009-06-25 Thread brice . roncace
itXmlLicenseRequestAction"> #{ 'licenseRequest' : 'xmlLicenseRequest' } name="error">/WEB-INF/jsp/submitXmlLicenseRequest-error.jsp submitLicenseRequest This is the redirect action. it redirects to the action, but the post paramet

Struts2 redirect-action with post params

2009-06-25 Thread Kelly.Graus
s expected. #{ 'licenseRequest' : 'xmlLicenseRequest' } /WEB-INF/jsp/submitXmlLicenseRequest-error.jsp submitLicenseRequest This is the redirect action. it redirects to the action, but the post parameter isn't set. submitXmlLicenseRequ

Re: redirect action in s:submit

2009-06-22 Thread Greg Lindholm
on.action?param1=value1¶m2=value2" > >> > >> turns into the following url > >> MyAction.action?PageSize=50&pageIndex=3.action > >> > >> problem is that it adds '.action' to the end... > >> > >> On Mon, Jun 22, 2009 at 10:04 AM,

Re: redirect action in s:submit

2009-06-22 Thread Greg Lindholm
@Wes, I looked at both the 2.1.6 (that I'm using) and online svn followed the 2.0.6 tag. On Mon, Jun 22, 2009 at 11:13 AM, Wes Wannemacher wrote: > Which version of the source were you looking through? I recently did > some work with DefaultActionMapper, and this might be something that > has be

Re: redirect action in s:submit

2009-06-22 Thread Sam Wun
on?PageSize=50&pageIndex=3.action >> >> problem is that it adds '.action' to the end... >> >> On Mon, Jun 22, 2009 at 10:04 AM, Martin Gainty >> wrote: >> >> >> > > Yes it works and it's part of the DefaultActionMapper.  

RE: redirect action in s:submit

2009-06-22 Thread Kofford, C Todd
d this way. Todd Kofford tkoff...@ku.edu University of Kansas - IT -Original Message- From: Greg Lindholm [mailto:greg.lindh...@gmail.com] Sent: Monday, June 22, 2009 10:04 AM To: Struts Users Mailing List Subject: Re: redirect action in s:submit >From looking at the source it doesn

Re: redirect action in s:submit

2009-06-22 Thread Wes Wannemacher
. >> >> On Mon, Jun 22, 2009 at 10:04 AM, Martin Gainty >> wrote: >> >> >> > > Yes it works and it's part of the DefaultActionMapper.  I don't think >> you >> > > will be able to add parameters using the "redirect-action:"

Re: redirect action in s:submit

2009-06-22 Thread Greg Lindholm
to the end... > > On Mon, Jun 22, 2009 at 10:04 AM, Martin Gainty > wrote: > > > > > Yes it works and it's part of the DefaultActionMapper. I don't think > you > > > will be able to add parameters using the "redirect-action:" prefix. I > &g

Re: redirect action in s:submit

2009-06-22 Thread Bhaarat Sharma
nipulation, nous ne pouvons accepter > aucune responsabilité pour le contenu fourni. > > > > > > Date: Mon, 22 Jun 2009 09:42:58 -0400 > > Subject: Re: redirect action in s:submit > > From: greg.lindh...@gmail.com > > To: user@struts.apache.org > > > &g

RE: redirect action in s:submit

2009-06-22 Thread Martin Gainty
message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Mon, 22 Jun 2009 09:42:58 -0400

Re: redirect action in s:submit

2009-06-22 Thread Greg Lindholm
and it's part of the DefaultActionMapper. I don't think you will be able to add parameters using the "redirect-action:" prefix. I haven't try it but you should be able to use the "redirect:" prefix and construct the url with parameters like this "redirect:MyAction.action?param1=value1¶m2=value2".

Re: redirect action in s:submit

2009-06-21 Thread dusty
e parameters along with this...is that possible to do > in the code above or do I have to make additions to struts.xml for this? > > -- View this message in context: http://www.nabble.com/redirect-action-in-s%3Asubmit-tp24141831p24141895.html Sent from the Struts - User mailing

redirect action in s:submit

2009-06-21 Thread Bhaarat Sharma
I have a button value like this but I want to add some parameters along with this...is that possible to do in the code above or do I have to make additions to struts.xml for this?

Re: result type -- redirect-action vs dispatcher.

2009-05-02 Thread dusty
idations for the fields mention on the form , once > validation fails as struts defined it will check for result name "Input". > If the result name "Input" is defined with result type "redirect-action" > as shown below , this will forward to the mention actio

Re: result type -- redirect-action vs dispatcher.

2009-05-01 Thread Siddiq Syed
Input". If the result name "Input" is defined with result type "redirect-action" as shown below , this will forward to the mention action with new request. Is there any way where I can forward to an action , but still can use the old request object, throught will I can d

Re: result type -- redirect-action vs dispatcher.

2009-04-29 Thread Siddiq Syed
t; framwork will look for input for the defined action which is >> "determineInputForRedirect", which determine the corresponding view which >> need to be display. >>   >> Again the problem is "redirect-action&qu

Re: result type -- redirect-action vs dispatcher.

2009-04-28 Thread dusty
o be displayed once validation failed. >   > If validation fails while "calculateParoleEligibilityDate" , then framwork > will look for input for the defined action which is > "determineInputForRedirect", which determine the corresponding view which > need to be disp

Re: result type -- redirect-action vs dispatcher.

2009-04-28 Thread Siddiq Syed
n which is "determineInputForRedirect", which determine the corresponding view which need to be display.   Again the problem is "redirect-action" which leads to create a new request , is there any way where i can redirect/forward to an action which contains the previous request.   editNewS

Re: result type -- redirect-action vs dispatcher.

2009-04-24 Thread Wes Wannemacher
On Friday 24 April 2009 19:47:04 Siddiq Syed wrote: > Hi all, > > Problem statement. : > > When validation happens in struts 2 it will redirect to result type > "Input" if type="tiles" JSP will display the validation message and If > result type="

result type -- redirect-action vs dispatcher.

2009-04-24 Thread Siddiq Syed
Hi all,   Problem statement. :   When validation happens in struts 2 it will redirect to result type "Input" if type="tiles" JSP will display the validation message and If result type="redirect-action" , validation message will not get display. In order to disp

RE: Preserving Action Messages during redirect action

2009-02-27 Thread Sundararaman, Anand
during redirect action Glindholm solved this with an interceptor. http://glindholm.wordpress.com/2008/07/02/preserving-messages-across-a-redirect-in-struts-2/ Best regards, Felipe On Fri, Feb 27, 2009 at 1:12 PM, Sundararaman, Anand wrote: > Hi, >   I want to redirect to another action but pr

Re: Preserving Action Messages during redirect action

2009-02-27 Thread Felipe Fraga
Glindholm solved this with an interceptor. http://glindholm.wordpress.com/2008/07/02/preserving-messages-across-a-redirect-in-struts-2/ Best regards, Felipe On Fri, Feb 27, 2009 at 1:12 PM, Sundararaman, Anand wrote: > Hi, >   I want to redirect to another action but preserve the action > mes

Re: Preserving Action Messages during redirect action

2009-02-27 Thread SanJ.SANJAY
Please use a new thread for this issue. The problem addressed here is totally diffirent from yours. Sundararaman, Anand wrote: > > Hi, >I want to redirect to another action but preserve the action > messages/errors from the previous action. Is there any standard way to > achieve this functi

Preserving Action Messages during redirect action

2009-02-27 Thread Sundararaman, Anand
Hi, I want to redirect to another action but preserve the action messages/errors from the previous action. Is there any standard way to achieve this functionality in Struts 2? Or do I have to write an Interceptor for this? I have a use case where the errors on a web screen needs to be shown o

Re: Redirect Action

2008-12-03 Thread dusty
r > > Mobile: +62 856 597 797 20 > YM:[EMAIL PROTECTED] <[EMAIL PROTECTED]> > GTalk: [EMAIL PROTECTED] > > -- View this message in context: http://www.nabble.com/Redirect-Action-tp20825847p20826667.html Sent from the Struts - User mailing list archive at Nabble.com. ---

Redirect Action

2008-12-03 Thread Kurniawan Kuga
hi there,, is there a way to redirect from http://localhost:8080/cimeng/kuga to http://localhost:8080/cimeng/ profile.action?name=kuga how to take the name "kuga" for "profile.action?name=kuga" thanks -- Kurniawan Meruvian BlueOxygen Workspace Developer One

Re: Problem when using result type="redirect-action"

2008-12-02 Thread Adam Hardy
esult type="redirect-action" When I try to redirect action and set parameter value to it, I get an exception: [02.12.08 12:11:33:705 MSK] 0031 OgnlUtil W com.opensymphony.xwork2.util.OgnlUtil internalSetProperty Caught OgnlException while setting property 'page

Re: Problem when using result type="redirect-action"

2008-12-02 Thread holod
KE LI-2 wrote: > >> I think some thing is wrong at these lines, >> >> >> ViewTestedLetters >> /admin >> 1 >> > > Nabble swallowed my tags, I've replaced them on [ and ] http://www.nabble.com/Problem-wh

Re: Problem when using result type="redirect-action"

2008-12-02 Thread KE LI
; ViewTestedLetters > > All the best, > > -Original Message- > From: holod [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 02, 2008 2:50 PM > To: user@struts.apache.org > Subject: Problem when using result type="redirect-action" > > > Wh

RE: Problem when using result type="redirect-action"

2008-12-02 Thread ravindra
] Sent: Tuesday, December 02, 2008 2:50 PM To: user@struts.apache.org Subject: Problem when using result type="redirect-action" When I try to redirect action and set parameter value to it, I get an exception: [02.12.08 12:11:33:705 MSK] 0031 OgnlUtil W com.opensymphony.xwork2.uti

Problem when using result type="redirect-action"

2008-12-02 Thread holod
When I try to redirect action and set parameter value to it, I get an exception: [02.12.08 12:11:33:705 MSK] 0031 OgnlUtil W com.opensymphony.xwork2.util.OgnlUtil internalSetProperty Caught OgnlException while setting property 'page' on type 'org

Re: Struts 2: How can we save the parameters if we do redirect and not redirect-action

2008-09-18 Thread DEck
Yes. I should have mentioned that I used a marker interface. Dave Newton <[EMAIL PROTECTED]> 09/18/2008 02:30 PM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: Struts 2: How can we save the parameters if we do redirect and not

Re: Struts 2: How can we save the parameters if we do redirect and not redirect-action

2008-09-18 Thread Dave Newton
--- On Thu, 9/18/08, srinivasch wrote: > OK, I changed my view, i would go ahead and extend > ServletRedirectResult and try to include the request > parameters just like how ServletActionRedirectResult > and URL component try to do. That way it would > be consistent. Your solution is also good t

Re: Struts 2: How can we save the parameters if we do redirect and not redirect-action

2008-09-18 Thread srinivasch
gt; If you receive this e-mail in error please notify > [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Struts-2%3A-How-can-we-

Re: Struts 2: How can we save the parameters if we do redirect and not redirect-action

2008-09-18 Thread DEck
In an interceptor that my action implemented. session.setAttribute("PARMS", request.getParameterMap()); > Where did you set the session with the parameterMap in the > servletRedirectResult.java or ? This e-mail and any files transmitted with it are confidential and intended solely for th

Re: Struts 2: How can we save the parameters if we do redirect and not redirect-action

2008-09-18 Thread srinivasch
ick response >> >> Here is the snippet of my struts config how I used the result >> >> >> /view.action?linID=${linID} >> >> > > -- View this message in context: http://www.nabble.

Re: Struts 2: How can we save the parameters if we do redirect and not redirect-action

2008-09-18 Thread daveck
age wont > exist. I would like to retain the parameters. Appreciate your quick > response > > Here is the snippet of my struts config how I used the result > > > /view.action?linID=${linID} > > -- View this message in context: http://www.nabble.com/Struts

Struts 2: How can we save the parameters if we do redirect and not redirect-action

2008-09-18 Thread srinivasch
context: http://www.nabble.com/Struts-2%3A-How-can-we-save-the-parameters-if-we-do-redirect-and-not-redirect-action-tp19557514p19557514.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: Redirect-Action Problem with struts 2.0.11 and multiple packages

2008-08-11 Thread Lukasz Lenart
> > >greeting.jsp > > > > > > >results >/ > > > You forgot to extends package administration from struts-default. Or you have to define such result for this package.

Redirect-Action Problem with struts 2.0.11 and multiple packages

2008-08-11 Thread DavidCAIT
Hi, I am having trouble getting the redirect-action syntax to work in struts 2.0.11. Here is the relevant portion of my struts.xml file: struts.xml: greeting.jsp results

RE: Redirect-Action type result warns of caught exception when passing param

2008-05-05 Thread KonTiki
ActionRedirectResult, the exception is expected and acceptable. > > Brad Cupit > Louisiana State University - UIS > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in contex

Re: jsp page with s:action to call an action with a redirect-action

2008-05-01 Thread Ralf Fischer
ect in question, but it doesn't mean that the office action must not select data from the staff entity to display the staff currently located there. This is why entity handling/mapping is usually done in some entity beans or DAO classes which can easily be invoked from arbitrary actions. >

RE: Redirect-Action type result warns of caught exception when passing param

2008-04-30 Thread Brad A Cupit
> I'm of the opinion that an exception in my > console means something is amiss though... you've stumbled upon a little wart in the code. First things first, the exception is harmless and can be safely ignored. A more detailed explanation can be found in a comment within ObjectFactory.buildResult

Redirect-Action type result warns of caught exception when passing param

2008-04-30 Thread Michael Gagnon
My relevant mapped action look like: /jsp/admin/internalOrders/viewLineItem.jsp GetLineItem /admin/internalOrders true ${id} The 'GetLineItem' action works correctly when given an 'id' parameter. No exce

Re: jsp page with s:action to call an action with a redirect-action

2008-04-29 Thread crappycrumpet
se 'redirect' or 'redirectAction' instead which is the approach I chose but it didn't do what I thought it would. Hope I'm making sense here... Anyhow the workaround works I'm more just curious as to why redirect-action doesn't work in this instance. I mea

Re: jsp page with s:action to call an action with a redirect-action

2008-04-29 Thread Ralf Fischer
Hi there, On Tue, Apr 29, 2008 at 3:46 AM, crappycrumpet <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a problem where I have a page (let's call it a.jsp) which calls an > action using to actionA in namespaceA, using redirect-action, which display the name >

Re: jsp page with s:action to call an action with a redirect-action

2008-04-28 Thread crappycrumpet
Currently I have made a work around by assigning the result for actionB to b.jsp which invoke actionA using another and parsing the parameter through using . I just thought perhaps you can just redirect action without a page in between the two actions. Oh well. cheers. -- View this message in

jsp page with s:action to call an action with a redirect-action

2008-04-28 Thread crappycrumpet
e in context: http://www.nabble.com/jsp-page-with-s%3Aaction-to-call-an-action-with-a-redirect-action-tp16951812p16951812.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTEC

Re: Redirect-action parameters via POST

2008-04-28 Thread KonTiki
--- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Redirect-action-parameters-via-POST-tp16

Re: Redirect-action parameters via POST

2008-04-25 Thread Guillaume Bilodeau
>>>> action that's the redirect target below is actually the recipient of >>>> quite a few links (in fact the basic point of the application is to >>>> facilitate document submission for various purposes). >>>> >>>> If this isn't

RE: Redirect-action parameters via POST

2008-04-25 Thread Allen, Daniel
e.org Subject: Re: Redirect-action parameters via POST The use case you're describing would be best implemented using flash scope. Your options include: . use the Scope plugin (http://cwiki.apache.org/S2PLUGINS/scope-plugin.html) . implement the scope yourself using a result / intercept

Re: Redirect-action parameters via POST

2008-04-25 Thread Guillaume Bilodeau
cilitate document submission for various purposes). >>> >>> If this isn't possible purely via configuration, then yeah, session >>> storage is definitely my fallback plan. >>> >>> ~DVA >>> >>> >>> >>> -Orig

Re: Redirect-action parameters via POST

2008-04-25 Thread Dave Newton
--- ancatdubher <[EMAIL PROTECTED]> wrote: > (Also, the URL is limited to 256 characters length). I've never noticed that limitation; I haven't seen a mainstream browser that wouldn't accept or send anything much less than about 2K, and some will do twice that. Dave

Re: Redirect-action parameters via POST

2008-04-25 Thread ancatdubher
t;> If this isn't possible purely via configuration, then yeah, session >> storage is definitely my fallback plan. >> >> ~DVA >> >> >> >> -Original Message- >> From: Nils-Helge Garli Hegvik [mailto:[EMAIL PROTECTED] >>

Re: Redirect-action parameters via POST

2008-04-25 Thread Nils-Helge Garli Hegvik
- > From: Nils-Helge Garli Hegvik [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 24, 2008 3:58 PM > To: Struts Users Mailing List > Subject: Re: Redirect-action parameters via POST > > Can you put the info on the session? > > Nils-H > > On Thu, Apr 24, 2008 a

RE: Redirect-action parameters via POST

2008-04-24 Thread Allen, Daniel
ruts Users Mailing List Subject: Re: Redirect-action parameters via POST Can you put the info on the session? Nils-H On Thu, Apr 24, 2008 at 9:52 PM, Allen, Daniel <[EMAIL PROTECTED]> wrote: > Hi, all. > > I'm using the snippet below[1] in my struts.xml file to send finish a

Re: Redirect-action parameters via POST

2008-04-24 Thread Nils-Helge Garli Hegvik
Can you put the info on the session? Nils-H On Thu, Apr 24, 2008 at 9:52 PM, Allen, Daniel <[EMAIL PROTECTED]> wrote: > Hi, all. > > I'm using the snippet below[1] in my struts.xml file to send finish an > action with a redirect to another, and sending a parameter along. > However, Struts 2 de

Redirect-action parameters via POST

2008-04-24 Thread Allen, Daniel
Hi, all. I'm using the snippet below[1] in my struts.xml file to send finish an action with a redirect to another, and sending a parameter along. However, Struts 2 defaults to passing the parameter via appending it to the URL in a GET request. I'm going to need to add additional parameters, some o

redirect-action and redirect

2008-04-15 Thread Niral Trivedi
Hi All, I am facing a strange issue. I am using Struts 2.0.11 on Websphere 6.1 with JDK 1.5. Thing is, I am using result type "redirect-action" and "redirect" to redirect to a different action for certain scenarios in my action class. This works fine from my local workstation

Re: Should I use redirect-action or dispatcher?

2008-03-12 Thread RajiR
Thanks for the informative reply newton.dave wrote: > > --- RajiR <[EMAIL PROTECTED]> wrote: >> So inorder to redirect it to a new page, should I use >> redirect-action or dispatcher and why? > > http://struts.apache.org/2.0.11.1/docs/redirect-action-result.h

Re: Should I use redirect-action or dispatcher?

2008-03-12 Thread Dave Newton
--- RajiR <[EMAIL PROTECTED]> wrote: > So inorder to redirect it to a new page, should I use > redirect-action or dispatcher and why? http://struts.apache.org/2.0.11.1/docs/redirect-action-result.html http://struts.apache.org/2.0.11.1/docs/dispatcher-result.html Why? Because they

Message Store with Redirect Action

2008-03-12 Thread chubi
/Message-Store-with-Redirect-Action-tp15999073p15999073.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Should I use redirect-action or dispatcher?

2008-03-12 Thread RajiR
Hi, After logging in am providing a hyperlink to the user to update his details.After clicking on that link,i need to forward to other new page with field values populated.So inorder to redirect it to a new page,should I use redirect-action or dispatcher and why?Is that type="dispatche

Re: redirect-action to https

2008-03-04 Thread Nuwan Chandrasoma
HTTPS), the following redirects to HTTP. type="redirect-action">listPersons /pages/viewPerson.jsp Is there any configuration I can add to redirect over h

Re: redirect-action to https

2008-03-04 Thread oscar perez
TPS protocol. > > > > On submit of a form calling editPerson.action (on a page already on > HTTPS), the following redirects to HTTP. > > > > method="update"> > > > > type="redirect-action">listPersons &

redirect-action to https

2008-03-04 Thread David Loup
Hi, I'm trying to have Struts 2 redirect over HTTPS protocol. On submit of a form calling editPerson.action (on a page already on HTTPS), the following redirects to HTTP. listPersons /pages/viewPerson.jsp Is there any configur

Re: struts2 redirect action

2008-01-15 Thread Brian Relph
Thank you so much for you help. Yes, we do want the other action to execute before reaching the jsp ... as i was refactoring the code, i read your next response, and yes, the "chain" result is exactly the fix for me. I think action chaining is in general frowned on, but for my initial login, i th

Re: struts2 redirect action

2008-01-15 Thread Nils-Helge Garli Hegvik
I just realized that the proposed solution won't do what you want it to do either, since you obviously want the other action to run before the jsps are dispatched... So, you either have to re-structure your code a bit and invoke the other actions directly (either manually or by specifying it as the

  1   2   >