Re: Url-mapping *.do not working (Was: Global forward with parametersin struts-config.xml?)

2007-08-12 Thread struts
6 PM Subject: Url-mapping *.do not working (Was: Global forward with parametersin struts-config.xml?) Quoting [EMAIL PROTECTED]: Hi, Is it possible to define parameters that should be sent to a global forward in struts-config.xml? Ie I want it all configured in the struts-config.xml. Example

Re: Url-mapping *.do not working (Was: Global forward with parametersin struts-config.xml?)

2007-08-12 Thread KrustyDerClown
Global forward with parametersin struts-config.xml?) Quoting [EMAIL PROTECTED]: Hi, Is it possible to define parameters that should be sent to a global forward in struts-config.xml? Ie I want it all configured in the struts-config.xml. Example: I cannot add the parameters befo

Url-mapping *.do not working (Was: Global forward with parameters in struts-config.xml?)

2007-08-12 Thread struts
Quoting [EMAIL PROTECTED]: Hi, Is it possible to define parameters that should be sent to a global forward in struts-config.xml? Ie I want it all configured in the struts-config.xml. Example: I cannot add the parameters before the forward is "called", because it is do

Global forward with parameters in struts-config.xml?

2007-08-12 Thread struts
Hi, Is it possible to define parameters that should be sent to a global forward in struts-config.xml? Ie I want it all configured in the struts-config.xml. Example: I cannot add the parameters before the forward is "called", because it is done in 3rd party classes that I

Re: tiles definition in global forward

2007-04-13 Thread Yannick Haudry
I had this issue as well but you can use the built-in ForwardAction class, then using the global forward to map to an action that redirects to your tiles definition. e.g.: Yannick On 4/13/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote: 2007/4/13, Suman Maity <[EMAIL

Re: tiles definition in global forward

2007-04-13 Thread Antonio Petrelli
2007/4/13, Suman Maity <[EMAIL PROTECTED]>: Hi, we know that we can use a tiles definition as path of the forward tag under action tag in struts config file It looks like You cannot redirect to a Tiles definition, at least not directly. Just as an information

tiles definition in global forward

2007-04-13 Thread Suman Maity
local forward to redirect to my home page when users want to go back to it. I made it a global forward so that I can use tag's forward attribute to redirect users to the home page. I wrote Back to Welcome Page, but it does not work and shows page cannot be displayed. But when I use a jsp file

Re: global forward in struts 2

2007-02-07 Thread Dave Newton
--- Daniel Amadei wrote: > Unfortunately, this does not do what I want. > > I need to type an action in the URL and get > redirected to the result without having to code the > Action. Ah. Then you don't want a "global forwards", you want wildcard action mappings, from http://cwiki.apache.org/WW/

Re: global forward in struts 2

2007-02-07 Thread Daniel Amadei
Hi Dave, Unfortunately, this does not do what I want. I need to type an action in the URL and get redirected to the result without having to code the Action. Thanks, Daniel 2007/2/7, Dave Newton <[EMAIL PROTECTED]>: --- Daniel Amadei wrote: > Is there a way to set up a global f

Re: global forward in struts 2

2007-02-07 Thread Dave Newton
--- Daniel Amadei wrote: > Is there a way to set up a global forward in Struts > 2 and set it to forward to a tiles def? You can create global-results with any result type you want. http://cwiki.apache.org/WW/result-configuration.h

global forward in struts 2

2007-02-07 Thread Daniel Amadei
Hi All, Is there a way to set up a global forward in Struts 2 and set it to forward to a tiles def? Thanks, Daniel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

forwarding to a global forward using RequestDispatcher

2006-01-27 Thread temp temp
How can I pass a Struts Global forward to request.getRequestDispatcher("struts global Forward).forward(request,response) or How can I forward to a struts Global forward using RequestDispatcher. I tried passing struts global forward , but always I got page not found error .

global forward out of module

2005-12-21 Thread Jim Reynolds
I am working within a struts module. I have a session expires exception that I want to forward to the login of my site. In my global-exceptions I entered the class that is being thrown, and a forward like so: I tried setting the module to '' but it does not work. Instead of going to th

AW: Question about Global Forward

2005-11-23 Thread R. Markham
etreff: RE: Question about Global Forward Hi Richard, It is possible that your application is using the Tiles. In that case follow the steps given below to find out the mapping between page.common.Exception and your exception jsp. 1) Find for struts-config.xml file in the application 2) Look w

RE: Question about Global Forward

2005-11-23 Thread Ramaswamy, Palaniappan
apache.org Subject: Question about Global Forward Hi I must work through a huge program without any documentation. I found something strange in struts-config.xml. In the directory common exists exception.jsp. Is the parameter "page" in "path=page.common.E

Question about Global Forward

2005-11-23 Thread R. Markham
Hi I must work through a huge program without any documentation. I found something strange in struts-config.xml. In the directory common exists exception.jsp. Is the parameter "page" in "path=page.common.Exception" an attribute to point that that in the directory "commo

Re: Syntax for multiple parameter with global forward

2005-10-14 Thread Laurie Harper
Dave wrote: Laurie Harper holoweb.net> writes: Looks like your mail client munged Brantley's message: his suggestion was not a bare '&' but the entity character reference '&' (i.e. the four-character sequence ampersand-a-m-p-semicolon). Try that. Actually, I understood that, however, any ins

Re: Syntax for multiple parameter with global forward

2005-10-14 Thread Dave
Laurie Harper holoweb.net> writes: > > > Looks like your mail client munged Brantley's message: his suggestion > was not a bare '&' but the entity character reference '&' (i.e. the > four-character sequence ampersand-a-m-p-semicolon). Try that. > > L. > Actually, I understood that, howeve

Re: Syntax for multiple parameter with global forward

2005-10-14 Thread Laurie Harper
Dave wrote: Brantley Hobbs itos.uga.edu> writes: Try changing your ampersand to "&" or "%26" Thanks for trying, but, & simply gives me the previous compiler error, and % 26 is not converted to an & at run time. Looks like your mail client munged Brantley's message: his suggestion was not

Re: Syntax for multiple parameter with global forward

2005-10-14 Thread Dave
Brantley Hobbs itos.uga.edu> writes: > > Try changing your ampersand to "&" or "%26" > > B. Thanks for trying, but, & simply gives me the previous compiler error, and % 26 is not converted to an & at run time. - To unsubsc

RE: Syntax for multiple parameter with global forward

2005-10-14 Thread Brantley Hobbs
Try changing your ampersand to "&" or "%26" B. > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Dave > Sent: Friday, October 14, 2005 9:48 AM > To: user@struts.apache.org > Subject: Syntax for multiple parameter with globa

Syntax for multiple parameter with global forward

2005-10-14 Thread Dave
At first I had my global forward defined: But the compiler complained and I changed it to: This path doesn't behave correctly. After I click on the link and faulty link is in the address bar I can change the semi-colon to to ambersand, and then it works. Is it possible to def

Re: Forwarding to a global Forward

2005-08-07 Thread Daniel Schaller
defining the "default" forward for your action? Why not simply (in your Action class) forward to "AddUser" - the global forward that you have defined already?.Is there something else you are trying to achieve? Regards, Geeta Daniel Schaller <[EMAIL PROTE

Re: {Spam?} Forwarding to a global Forward

2005-08-07 Thread GRamani
Hi Daniel: Why do you even bother defining the "default" forward for your action? Why not simply (in your Action class) forward to "AddUser" - the global forward that you have defined already?.Is there something else you are trying to achieve? Regards, Geeta Dan

Re: Forwarding to a global Forward

2005-08-07 Thread Frank W. Zammetti
ason you aren't just returning the AddUser forward from your Action? Frank Daniel Schaller wrote: Hi, I have a global forward In one of my actions, I would like to forward to "AddUser" like: rather than using the entire path defintion "/ManageUsersEdit.do? o

Forwarding to a global Forward

2005-08-07 Thread Daniel Schaller
Hi, I have a global forward In one of my actions, I would like to forward to "AddUser" like: rather than using the entire path defintion "/ManageUsersEdit.do? operation=add". However, if I do so, I get a 404 error, page or path not found. Any ideas?

RE: tiles definition versus global forward issue

2005-07-11 Thread Faber, Szczepan
Got it. Forward must be replaced by an action: Instead of global forward: -Original Message- From: Faber, Szczepan [mailto:[EMAIL PROTECTED] Sent: Monday, July 11, 2005 4:13 PM To: Struts Users Mailing List Subject: RE: tiles definition versus global forward issue Correction

RE: tiles definition versus global forward issue

2005-07-11 Thread Faber, Szczepan
Subject: tiles definition versus global forward issue Hello Struts 1.2.7 - tile definition use problem. I cannot use tile definition within the global forward (output is http 404): Rule tester def.createItineraries is configured in tiles-defs.xml: and works properly if I use it from

tiles definition versus global forward issue

2005-07-11 Thread Faber, Szczepan
Hello Struts 1.2.7 - tile definition use problem. I cannot use tile definition within the global forward (output is http 404): Rule tester def.createItineraries is configured in tiles-defs.xml: and works properly if I use it from Action class: return mapping.findForward("

Re: help : how to redirect to a global-forward ?

2004-11-02 Thread Antony Paul
Why are you using action inside global-forward. Use a forward element. You can reference it from action like mapping.findForward("toLogin"); rgds Antony Paul On Wed, 3 Nov 2004 10:27:49 +0530, sachin <[EMAIL PROTECTED]> wrote: > hi all, > > i have a

help : how to redirect to a global-forward ?

2004-11-02 Thread sachin
hi all, i have a global forward defined as now in my Action class i want to forward this to global forward "toLogin" if the session is not valid .. how can achieve this ? this is going to be common for all Action classes , so i can not mapp them in each action-mapping

Re: global-forward

2004-10-27 Thread Susan Bradeen
On Wed, 27 Oct 2004 13:09:39 -0600, Sudip Shrestha <[EMAIL PROTECTED]> wrote: > I am trying this simple struts application here, that uses following: > > > > and under : > > However, I am getting following exceptions.I could not find > anything regarding this messag

global-forward

2004-10-27 Thread Sudip Shrestha
I am trying this simple struts application here, that uses following: and under : However, I am getting following exceptions.I could not find anything regarding this message in the archive. Any help would be appreciated. I am wondering if this is being caused by ta

Re: Global Forward and tag

2004-09-29 Thread Tom Holmes Jr.
define the path for the global forward as starting with a "/", e.g. -Original Message- From: Tom Holmes Jr. [mailto:[EMAIL PROTECTED] Sent: 30 September 2004 00:53 To: Stephen Houston Subject: Global Forward and tag I have a global forward in my struts-config.xml file def

RE: Global Forward and tag

2004-09-29 Thread Stephen Houston
Try removing the ".." from the path in the forward. We use with the forward parameter, however we always define the path for the global forward as starting with a "/", e.g. -Original Message- From: Tom Holmes Jr. [mailto:[EMAIL PROTECTED] Sent: 30 Sep

Global Forward and tag

2004-09-29 Thread Tom Holmes Jr.
I have a global forward in my struts-config.xml file defined as: I have a jsp page with a struts form. I do have an as defined: This works fine in the JSP page, but when I call the action: http://www.mydomain.net/membership_address.do

Re: Global Forward x Action Mapping

2004-09-15 Thread Jitender K Chukkavenkata
A practical example of this is like: there exists a home page link or any link common to all in every pages that you navigate. Use the global forward instead of using a local forward in such scenario. Jitender Kumar C.V.

Global Forward x Action Mapping

2004-09-15 Thread Pedro Castro
Hello everyone, I´ve been thinking about something lately, and haven´t figured it out yet by myselfI don´t understand when we should map a forward in the global-forward element of the struts-config, and when is enough to just map it in the action-mapping element. I´ve read about it in

RE: Action Mapping From a JSP to Another JSP (How to Do Global Forward)

2004-09-08 Thread Jim Barrows
> -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 08, 2004 10:56 AM > To: Struts Users Mailing List > Subject: RE: Action Mapping From a JSP to Another JSP (How to > Do Global > Forward) > > > Thanks a lot f

RE: Action Mapping From a JSP to Another JSP (How to Do Global Forward)

2004-09-08 Thread Caroline Jen
List > > Subject: RE: Action Mapping From a JSP to Another > JSP (How to > > Do Global > > Forward) > > > > > > Thanks for your reply and help. > > > > if I have > > Register > > > > In my struts.config.xml file, I sho

RE: Action Mapping From a JSP to Another JSP (How to Do Global Forward)

2004-09-08 Thread Jim Barrows
> -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 08, 2004 10:34 AM > To: Struts Users Mailing List > Subject: RE: Action Mapping From a JSP to Another JSP (How to > Do Global > Forward) > > > Thanks for

RE: Action Mapping From a JSP to Another JSP (How to Do Global Forward)

2004-09-08 Thread Caroline Jen
Thanks for your reply and help. if I have Register In my struts.config.xml file, I should have action mapping like this: What if I do a global forward: Register what kind of mapping should I specify in the struts-config.xml file? --- Caroline Jen <[EMAIL PROTECTED]> wrote: &g

RE: global forward to tile definition does NOT work

2004-05-12 Thread Pingili, Madhupal
You don't even have to give type="xxx.xxx.xx". Just use this syntax: Above works well for me. --- Reddy > -Original Message- > From: Mark Lowe [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, May 12, 2004 5:05 PM > To: Struts Users Mailing List > Subje

RE: global forward to tile definition does NOT work

2004-05-12 Thread Keith Bottner
way to do it? Or is the various documentation incorrect in this ability? Thanks, Keith -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 4:05 PM To: Struts Users Mailing List Subject: Re: global forward to tile definition does NOT work Use an

Re: global forward to tile definition does NOT work

2004-05-12 Thread Riyad Kalla
I sure hope there is a nicer way around it than this... is this really what it takes to use Tiles in this situation? On Wednesday 12 May 2004 02:05 pm, Mark Lowe wrote: > Use an empty action. > > > > > > the action just needs to return this. > return (mapping.findForward("success")); > >

Re: global forward to tile definition does NOT work

2004-05-12 Thread Mark Lowe
Use an empty action. the action just needs to return this. return (mapping.findForward("success")); and you'll be there. On 12 May 2004, at 22:58, Keith Bottner wrote: I am trying to forward directly to a tiles definition from the with # struts-config.xml My JSP page uses: BLA

global forward to tile definition does NOT work

2004-05-12 Thread Keith Bottner
I am trying to forward directly to a tiles definition from the with # struts-config.xml BLAH URL However when the JSP is generated it actually generates BLAH URL Any ideas on why global-forwards to tile definitions do not work? Thanks in advance, Keith ---