Re: Redirect Action and wildcard methods

2009-10-18 Thread jake
Thanks for the reply, it does work as it should, but I made a silly mistake :( Nothing like wasting a day! Jake On Sat, Oct 17, 2009 at 04:23:05PM -0700, Tommy Pham wrote: > > > > > From: "j...@researchtogether.com" > To: user@struts.apache.org > Sent: Sat, Oc

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/PostCategory.jsp /

Re: redirect action in s:submit

2009-06-22 Thread Greg Lindholm
I just tested this (with 2.1.6) and it worked fine, no extra .action was appended. @Sam, Maybe you should: 1) double check which version of struts you are using 2) post the full tag 3) do a view source and post the tag that gets generated > What debugger can you suggest? Not sure how to ans

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
What debugger can you suggest? I also wantn to debug struts in portal, but when there is problem in a protlet, if there is no error msg in the protal log file, I can't see anything wrong in the portal page, because the portal simply refresh the portal page and show the first page. On Tue, Jun 23,

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
Which version of the source were you looking through? I recently did some work with DefaultActionMapper, and this might be something that has been fixed since 2.0.6. -Wes On Mon, Jun 22, 2009 at 11:04 AM, Greg Lindholm wrote: > From looking at the source it doesn't look like it should be adding t

Re: redirect action in s:submit

2009-06-22 Thread Greg Lindholm
>From looking at the source it doesn't look like it should be adding the .action extension so I would suggest you run it in the debugger and break in DefaultActionMapper and see where the .action is coming from. On Mon, Jun 22, 2009 at 10:44 AM, Bhaarat Sharma wrote: > my Struts version is 2.0.6

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
On Mon, Jun 22, 2009 at 1:19 AM, dusty wrote: > > That works? What processes that redirect-action:PHAInformation parameter? > Struts sees that and just redirects? If I knew how that worked then I > could > figure out how to add parameters. > > Yes it works and it's part of the DefaultActionMapp

Re: redirect action in s:submit

2009-06-21 Thread dusty
That works? What processes that redirect-action:PHAInformation parameter? Struts sees that and just redirects? If I knew how that worked then I could figure out how to add parameters. omnipresent wrote: > > I have a button value like this > > > > but I want to add some parameters along w

Re: Redirect Action

2008-12-03 Thread dusty
You may want to look at the ActionMapper interface. See here http://www.nabble.com/URL-Mapper-Best-Pracitices-Question-td19523090.html#a19533299 >> Jeremy's response and here: http://www.nabble.com/Custom-URL-in-Struts-2-td12160278.html#a12166651 >> talks about the difference between actionma

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.

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

2008-05-05 Thread KonTiki
Hello Brad, Excellent! Precise and clear. Regards, Kety. Brad A Cupit wrote: > >> 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 ign

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

Re: Redirect-action parameters via POST

2008-04-28 Thread KonTiki
Here are some tests which seemed to have worked with really long URL's. Such as 2K in IE and upto 100,000 characters in Firefox. http://www.boutell.com/newfaq/misc/urllength.html newton.dave wrote: > > --- ancatdubher <[EMAIL PROTECTED]> wrote: >> (Also, the URL is limited to 256 characters

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

Re: redirect-action to https

2008-03-04 Thread Nuwan Chandrasoma
Hi, take a look at this plug-in and code, it may be helpful to you. http://code.google.com/p/struts2-ssl-plugin/ Thanks, Nuwan David Loup wrote: 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),

Re: redirect-action to https

2008-03-04 Thread oscar perez
I don't know if struts 2 provides functionality for that but I've used acegi for a scenario such as the one you described. Oscar On Tue, Mar 4, 2008 at 12:25 PM, David Loup <[EMAIL PROTECTED]> wrote: > Hi, > > > > I'm trying to have Struts 2 redirect over HTTPS protocol. > > > > On submit of a f

Re: redirect-action parameters

2006-12-26 Thread Chong Yoke Ping
hi, Wonder if you have solved the following problem. I encounter the same problem and after much attempts, I discover that you can do the following: anotherBlahAction true name="yourDynamicParamName">${yourDynamicParamValue}

Re: redirect-action parameters

2006-11-26 Thread Chris Pratt
Never mind, misread the original question. (*Chris*) On 11/26/06, Chris Pratt <[EMAIL PROTECTED]> wrote: Try the tag. (*Chris*) On 11/23/06, Pascal Lalonde <[EMAIL PROTECTED] > wrote: > > Based on this sample from the web site documentation: > > > > generateReport >

Re: redirect-action parameters

2006-11-26 Thread Chris Pratt
Try the tag. (*Chris*) On 11/23/06, Pascal Lalonde <[EMAIL PROTECTED]> wrote: Based on this sample from the web site documentation: generateReport /genReport pie 100 100 How can I add dynamic parameters ? Here, value