Actions in Global forwards

2004-03-15 Thread Gerald_Beattie
When I add a Action to a global forward I get a IDE syntax error of : Warning Target /ContentView.do does not exist in the following modules: / Does anyone know why I would not be able to add a Action as a Global forward?

global forwards with modules (Again)

2004-02-13 Thread Matt Bathje
/struts-config-admin.xml/param-value /init-param and if I type urls under /admin/ into the location bar, they work. If I try to use any of the global forwards I have defined in struts-config-admin.xml though, they do not. This becomes a problem rapidly, because (like good struts users) all of our

global forwards in modules

2004-01-27 Thread Matt Bathje
under /admin/ into the location bar, they work. If I try to use any of the global forwards I have defined in struts-config-admin.xml though, they do not. This becomes a problem rapidly, because (like good struts users) all of our javascript, style sheets, etc. are setup as global forwards

global forwards and update problems

2004-01-15 Thread Mathieu Grimault
Hello everyone ! I've got a page A with a form with several fields, the fields are populated via the reset() method in a corresponding ActionForm, datas are holding in the session. After filling/modifying the datas in the form a user push a submit and is lead to a screen B. The Action

Global Forwards Request Attributes

2003-09-16 Thread Pat Quinn
I have a struts action which sets a String value as an attribute in the request scope i then redirect to a global forward. But the value never appears in my jsp i'm using the c:out/ tag lib. Any ideas what i could be doing wrong here or do global forwards support request attribute population

RE: Global Forwards Request Attributes

2003-09-16 Thread Robert Taylor
PROTECTED] Sent: Tuesday, September 16, 2003 12:10 PM To: [EMAIL PROTECTED] Subject: Global Forwards Request Attributes I have a struts action which sets a String value as an attribute in the request scope i then redirect to a global forward. But the value never appears in my jsp i'm using

Global Forwards and Tiles

2003-08-15 Thread David Holtzhouser
I've attached a discussion with a fellow developer regarding Global Forwards and Tiles. The tiles-defs are in xml if that makes any difference. * Here's the delima. I can configure a Global Forward that maps to my tiles definition. If I refer

RE: Global Forwards and Tiles

2003-08-15 Thread Witbeck, Shane
My solution to this problem is not to define any global forwards and route everything through an Action. If you are forwarding to a simple JSP defined by a tile then define an action-mapping using a ForwardAction. HTH, Shane -Original Message- From: David Holtzhouser [mailto:[EMAIL

RE: Global Forwards and Tiles

2003-08-15 Thread Hue Holleran
Hi David, I think the fundamental problem here is that global-forwards are not available to be called from outside the server. If one considers the URL one might use to call global-forwards, e.g.: http://myHost/myApp/myForward ... then this will not be passed-to struts

Are only Global Forwards legit for getInputForward()?

2003-06-11 Thread Doyle, Michael J
Hi, I couldn't understand why my DynaValidatorForm was giving me a blank page when validation failed. I had specified /index.jsp as my input. I figured out that a blank page with no other exception means Struts can't find the path it's supposed to. I found this bugzilla ticket

Find global forwards in individual module

2003-05-31 Thread Zaili_Xu
mapping.findForward(home); in UserProfileThanksAction the mapping is not able to find home. We are not using the switch action. Instead we are specifying modul prefix in config file. For example, What is the appropriate way to find global forwards in individual module ? Thanks in advance

FW: Find global forwards in individual module

2003-05-31 Thread Zaili_Xu
mapping.findForward(home); in UserProfileThanksAction the mapping is not able to find home. We are not using the switch action. Instead we are specifying modul prefix in config file. For example, What is the appropriate way to find global forwards in individual module ? Thanks in advance

[Q] Using tiles definition in global-forwards...

2003-03-24 Thread John Nikolai
I have searched the mail archives for this and found the following message: http://www.mail-archive.com/[EMAIL PROTECTED]/msg61840.html Basically I want to put a tiles definition into a global forward like this: -- global-forwards forward name=welcome path

Re: [Q] Using tiles definition in global-forwards...

2003-03-24 Thread John Nikolai
a tiles definition into a global forward like this: -- global-forwards forward name=welcome path=.tiles.definition / /global-forwards -- but when I call the following in index.jsp: -- %@ taglib uri=struts-logic prefix=logic% logic:forward name=welcome

Re: [Q] Using tiles definition in global-forwards...

2003-03-24 Thread David Graham
be in an Action. David From: John Nikolai [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: [Q] Using tiles definition in global-forwards... Date: Mon, 24 Mar 2003 10:22:42 -0800 I have searched the mail archives

REPOST - Using tiles mappings in global forwards

2003-03-05 Thread White, Joshua A (CASD, IT)
If the forward attribute of the action element can take both an actual path or a tiles definition to forward to, shouldn't the global forwards element have similar functionality? In Chuck Cavaness's book (Programming Jakarta Struts), he attempts to do this on page 347. I just can't get

Re: REPOST - Using tiles mappings in global forwards

2003-03-05 Thread Simon Kelly
global-forwards forward name=welcome path=my.default redirect=false/ /global-forwards I have inserted the following code into a jsp file to test the forwards: %@ taglib uri=struts-logic prefix=logic% logic:forward name=welcome/ Try changing the path to /WEB-INF/pages

Multiple query params for global forwards

2002-12-12 Thread Viva Chu
I'm trying to configure a global forward with multiple query parameters and get a parse error from the Digester when my web app initializes. Is this not allowed? If not, anyone know the reason why? global-forwards forward name=stores path=list.servlet?bean=Storetype=STORE/ forward

RE: Multiple query params for global forwards

2002-12-12 Thread Scott Dickson
- From: Viva Chu [mailto:[EMAIL PROTECTED]] Sent: Friday, 13 December 2002 9:34 To: [EMAIL PROTECTED] Subject: Multiple query params for global forwards I'm trying to configure a global forward with multiple query parameters and get a parse error from the Digester when my web app initializes

RE: Multiple query params for global forwards

2002-12-12 Thread Viva Chu
Actually this was a typo only in my email when constructing my example. Uniqueness of the forward name is not my problem. Here's the example again written correctly: global-forwards forward name=stores path=list.servlet?bean=Storetype=STORE/ forward name=auctions path=list.servlet

RE: Multiple query params for global forwards

2002-12-12 Thread Viva Chu
Here's the reason why for anyone else with a similar problem: Since it is an xml file, you need to make sure to use entity references where appropriate (i.e., changing to amp;). global-forwards forward name=stores path=list.servlet?bean=Storeamp;type=STORE/ forward name=stores

Problem with Global Forwards when using Scaffold FindForwardAction

2002-11-13 Thread Steve_Akins
Hi all, Was wondering if anyone has used FindForwardAction successfully with global forwards? I can't see how the current version can work, even if the commented code is uncommented. Any ideas? Steve Akins Team Leader, Frameworks, J2EE Engineering Development Centre Financial Services

global forwards vs. simple forwards

2002-10-22 Thread Marcus Biel
When to use global forwards and when to use regular action forwards ? global-forwards forward name=actionDone path=/index.jsp/ /global-forwards or: action path=/addAlaskaGroup type=ActionClass name=ActionForm scope=request input=/index.jsp

RE: global forwards vs. simple forwards

2002-10-22 Thread Lacerda, Wellington (AFIS)
Hi Marcus Global forwards are to be used when you have paths inside the application that are recurrent and common to a number of actions. For example: logon. Every sensitive action in the application will have to check the credentials of the user, and if the user hasn't logged on yet

Using global forwards to tile definitions?

2002-09-10 Thread wbchmura
BDY.RTF Description: RTF file

Re: Using global forwards to tile definitions?

2002-09-10 Thread Cedric Dumoulin
best practices that I skipped over in the beginning. One of which is to use global forwards alot. Say I have some global forwards that look like this: global-forwards forward name=home path=plantsec.index/ forward name=faqMain path=plantsec.faq/ forward name

Re: Using global forwards to tile definitions?

2002-09-10 Thread Dylan van Iersel
/ put name=copyright value=/common/copyright.jsp / /definition /tiles-definitions global-forwards forward name=Super_Success path=storefront.superuser.main / /global-forwards So this is a problem in the HTML:Link forward code

RE: global forwards in forms.

2002-09-08 Thread Todd Pierce
Thanks for the information, Ted. I note with amusement that the debate for this feature is still warm ;-) I'd vote for it! -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Friday, 6 September 2002 8:41 PM To: Struts Users Mailing List Subject: Re: global forwards

Re: global forwards in forms.

2002-09-06 Thread Ted Husted
: Thursday, 5 September 2002 3:46 PM To: Struts Users Mailing List Subject: Re: global forwards in forms. doesn't support forwarding to global forwards. What global forwards give you is globally visible symbolic URIs. In a sense, the actions are already globally visible symbolic URIs

RE: global forwards in forms.

2002-09-05 Thread Todd Pierce
2002 3:46 PM To: Struts Users Mailing List Subject: Re: global forwards in forms. html:form doesn't support forwarding to global forwards. What global forwards give you is globally visible symbolic URIs. In a sense, the actions are already globally visible symbolic URIs. (Watch out that using

RE: global forwards in forms.

2002-09-05 Thread John Yu
. -Original Message- From: John Yu [mailto:[EMAIL PROTECTED]] Sent: Thursday, 5 September 2002 3:46 PM To: Struts Users Mailing List Subject: Re: global forwards in forms. doesn't support forwarding to global forwards. What global forwards give you is globally visible symbolic URIs

global forwards in forms.

2002-09-04 Thread Todd Pierce
To remove literal requests from JSPs I'm replacing them with global forwards and using the link tag's forward attribute. However, there doesn't seem to be a corresponding attribute for the form tag. How can you use global forwards for form actions? I've tried using the forward name as the action

Re: global forwards in forms.

2002-09-04 Thread John Yu
html:form doesn't support forwarding to global forwards. What global forwards give you is globally visible symbolic URIs. In a sense, the actions are already globally visible symbolic URIs. (Watch out that using html:link forward=.. may not be compatible with multi subapps.) At 09:53 am 05

Urgent-using global-forwards in custom tag classes

2002-06-14 Thread Yaman Kumar
Hi, I have a requirement to get a forward class in a Custom tag class which is in struts-config.xml. I'm writing a user's session checking tag which needs to forward to a login.jsp page that is available in struts-config.xml global-forwards forward name=sessionexpired path=/InvalidSession.jsp

Global-Forwards Question

2002-06-03 Thread Jerry Jalenak
Hi All, Is it possible to use the mapping.findForward method to forward to another ActionServlet? I have two ActionServlets that both need to forward to a third, common ActionServlet. In my struts-config, I have the following line: global-forwards forward name

Re: Global-Forwards Question

2002-06-03 Thread Vincent Aumont
Have you tried: global-forwards forward name=thirdAction path=/thirdAction.do / /global-forwards or global-forwards forward name=thirdAction path=/do/thirdAction / /global-forwards -vincent. Jerry Jalenak wrote: Hi All, Is it possible to use

RE: Global-Forwards Question

2002-06-03 Thread Jerry Jalenak
PROTECTED]] Sent: Monday, June 03, 2002 12:47 PM To: Struts Users Mailing List Subject: Re: Global-Forwards Question Have you tried: global-forwards forward name=thirdAction path=/thirdAction.do / /global-forwards or global-forwards forward name=thirdAction

RE: Global-Forwards Question

2002-06-03 Thread Jerry Jalenak
Further clarification I do get a 'Page cannot be found' when I use the path='/thirdAction.do' format. Jerry -Original Message- From: Vincent Aumont [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 12:47 PM To: Struts Users Mailing List Subject: Re: Global-Forwards Question

Re: Global-Forwards Question

2002-06-03 Thread Bharat Nagwani
have you defined the servlet in web.xml At 10:46 AM 6/3/2002 -0700, you wrote: Have you tried: global-forwards forward name=thirdAction path=/thirdAction.do / /global-forwards or global-forwards forward name=thirdAction path=/do/thirdAction

Re: Global-Forwards Question

2002-06-03 Thread Craig R. McClanahan
: Date: Mon, 3 Jun 2002 12:26:38 -0500 From: Jerry Jalenak [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Global-Forwards Question Hi All, Is it possible to use the mapping.findForward method to forward to another

RE: Global-Forwards Question

2002-06-03 Thread Jerry Jalenak
-Original Message- From: Bharat Nagwani [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 1:03 PM To: Struts Users Mailing List Subject: Re: Global-Forwards Question have you defined the servlet in web.xml At 10:46 AM 6/3/2002 -0700, you wrote: Have you tried: global-forwards

RE: Global-Forwards Question

2002-06-03 Thread Jerry Jalenak
PROTECTED]] Sent: Monday, June 03, 2002 1:08 PM To: Struts Users Mailing List Subject: Re: Global-Forwards Question Trying to run multiple ActionServlet instances in the same web application is going to cause you no end of grief, and is not a supported configuration. You should organize your app so

RE: Global-Forwards Question

2002-06-03 Thread Jerry Jalenak
To: Struts Users Mailing List Subject: Re: Global-Forwards Question Trying to run multiple ActionServlet instances in the same web application is going to cause you no end of grief, and is not a supported configuration. You should organize your app so that it uses a single instance

Using Global Forwards for all entry points to application?

2002-04-21 Thread jfc100
Hi, Can somebody please explain this suggestion (from the struts catalog) to me as I think I must be missing something. Here is the excerpt: Use Global Forwards for all entry points to application All links in the application should be to ActionMappings. Rather than embed

global forwards (Struts Catalog)

2002-02-03 Thread rob
I was just reading Ted's Struts Catalog to improve the building of my struts based application and I misunderstand the section on 'Use Global Forwards for all entry points to application' Also it says 'all links in the application should be to ActionMappings. Rather than embed the path

Re: global forwards (Struts Catalog)

2002-02-03 Thread Ted Husted
wrote: I was just reading Ted's Struts Catalog to improve the building of my struts based application and I misunderstand the section on 'Use Global Forwards for all entry points to application' Also it says 'all links in the application should be to ActionMappings. Rather than embed the path

Re: global forwards (Struts Catalog)

2002-02-03 Thread rob
it? Thanks for the quick reply before I appreciate it rob - Original Message - From: Ted Husted [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, February 04, 2002 3:14 PM Subject: Re: global forwards (Struts Catalog) forward name=view path=/do/view

Global Forwards

2001-12-05 Thread Dave J Dandeneau
Can a global forward point to a file in the WEB-INF directory? Thanks, dave

Re: global forwards

2001-10-22 Thread Ted Husted
You may need to url-encode the path here. Try ViewClipamp;streamMode -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ chiji nwankwo wrote: Hi, Can anyone see what I am doing wrong? forward

GLOBAL FORWARDS

2001-10-20 Thread chiji nwankwo
Hi, Can anyone see what I am doing wrong? forward name="viewClipStreamHigh" path="/do/search?action=ViewClipstreamMode=High" / Application developer (ibm) seems to be complaining about the use of a delimiter. This is taken from within my strut-config file and I have an action called search. Is

Re: GLOBAL FORWARDS

2001-10-20 Thread Renaud Waldura
Try using amp; instead of in your path. forward name=viewClipStreamHigh path=/do/search?action=ViewClipamp;streamMode=High / - Original Message - From: chiji nwankwo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, October 20, 2001 8:17 AM Subject: GLOBAL FORWARDS

global forwards for menu generation

2001-10-19 Thread Jonathan M Crater
i have found that my global forwards almost always contain my menu items, and thus it would be convenient to have an extra attribute on the forward element like text or menu, the value of which could be presented in a jsp and would allow direct iteration through the forwards collection

AW: global forwards for menu generation

2001-10-19 Thread storck
How can I use global forwards for menu-generation? What is the main task if global forwards? For what is the input-property in the action-tag under action-mappings in the struts-config.xml? -Ursprungliche Nachricht- Von: Jonathan M Crater [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 19

Re: AW: global forwards for menu generation

2001-10-19 Thread Jonathan M Crater
there is no built in struts way (that i know of) to do this. the action servlet stores the global forwards collection in the servlet context, so you have access to that collection from your web components. once you grab it you can simply use the iterate tag to spit out the values contained

global forwards

2001-10-19 Thread chiji nwankwo
Hi, Can anyone see what I am doing wrong? forward name="viewClipStreamHigh" path="/do/search?action=ViewClipstreamMode=High" / Application developer (ibm) seems to be complaining about the use of a delimiter. This is taken from within my strut-config file and I have an action called search. Is it

RE: global forwards

2001-10-19 Thread Fletcher, Ken
Oh, nevermind -Original Message- From: Fletcher, Ken [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 3:52 PM To: '[EMAIL PROTECTED]' Subject: RE: global forwards I believe you forgot the path... -Original Message- From: chiji nwankwo [mailto:[EMAIL PROTECTED

Re: Global forwards, targets and frames

2001-06-01 Thread Craig R. McClanahan
On Fri, 11 May 2001, Kyle Robinson wrote: Is there a way to specify the target of a global forward? I have a global forward which I want to go to another frame. For instance in my action if everything works fine I want to return to the input page but if there is an error I want to go to

Global forwards, targets and frames

2001-05-11 Thread Kyle Robinson
Is there a way to specify the target of aglobal forward? I have a global forward which I want to go to another frame. For instance in my action if everything works fine I want to return to the input page but if there is an error I want to go to another frame. Any thoughts? Kyle Robinson