action.xml

2001-04-18 Thread sampath kanakaraju
Hi, I am new to struts and was going thru the documentation for struts 1.0-b1. I found that action.xml file is no more necessary in version 1.0. Could anyone please clarify with this. The docuementation says that this file has been deprecated. I am confused. Thanx for the information. sampath

Re: action.xml

2001-04-18 Thread Marcile Moulene
it's now called struts-config.xml sampath kanakaraju wrote: Hi, I am new to struts and was going thru the documentation for struts 1.0-b1. I found that action.xml file is no more necessary in version 1.0. Could anyone please clarify with this. The docuementation says that this file has

Re: action.xml

2001-04-18 Thread Ratnadeep Bhattacharjee
It has been replaced by struts-config.xml -Deep. Hi, I am new to struts and was going thru the documentation for struts 1.0-b1. I found that action.xml file is no more necessary in version 1.0. Could anyone please clarify with this. The docuementation says that this file has been

Re: action.xml

2001-02-01 Thread John Hunt
Is there a to remove the bean from the session scope after the purpose is solved. Say I have 50 pages and out of that 5 pages share one form bean. I would put that bean in the session scope. But I dont want that to be alive for that entire session except for that 5 pages right Another

Re: action.xml

2001-02-01 Thread Ted Husted
On 2/1/2001 at 9:03 AM John Hunt wrote: Is there a to remove the bean from the session scope after the purpose is solved. Yes. You can remove the same as any other bean. If a new one is needed later, Struts will create it again. Here's a snip from the example application: // Remove

action.xml

2001-01-31 Thread John Hunt
Hi In the deprecated action.xml was there a way to specify scope for the form beans. If yes how. Is the scope attribute in the new struts-config.xml a scope for the form bean??? Thanks Hunt __ Get personalized email addresses from Yahoo! Mail

Re: action.xml

2001-01-31 Thread Craig R. McClanahan
John Hunt wrote: Hi In the deprecated action.xml was there a way to specify scope for the form beans. If yes how. Is the scope attribute in the new struts-config.xml a scope for the form bean??? Thanks Hunt In both versions, the "scope" attribute of the action element

Re: action.xml

2001-01-31 Thread JamesW
If a formBean is spread acroos multiple but consecutive ( again consecutive ) pages, should I put the bean in session or will the request scope do because they are consecutive pages. I believe, session, since each visit to each page in sequence is a separate request. Regards, James W.

Re: action.xml

2001-01-31 Thread John Hunt
If a formBean is spread acroos multiple but consecutive ( again consecutive ) pages, should I put the bean in session or will the request scope do because they are consecutive pages. --- "Craig R. McClanahan" [EMAIL PROTECTED] wrote: John Hunt wrote: Hi In the deprecated

why struts-config.xml AND action.xml

2001-01-25 Thread michael . brohl
Hello, going through the struts example I wonder why there is an action.xml and a struts-config.xml because there are many equal entries (action-mappings). Thank you for the explanation in advance. Regards Michael

AW: why struts-config.xml AND action.xml

2001-01-25 Thread Oliver . Lauer
Hi, those two, I guess, are more or less redundant while action.xml is depreciated and has a different syntax and dtd. I used struts-config.xml within the example and this one worked. Oliver -Ursprngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet am

Antwort: AW: why struts-config.xml AND action.xml

2001-01-25 Thread michael . brohl
) Thema: AW: why struts-config.xml AND action.xml

AW: Antwort: AW: why struts-config.xml AND action.xml

2001-01-25 Thread Oliver . Lauer
AND action.xml Hi, so in fact I only have to concentrate on on of these configuration files? Would be nice to read that in the documentation or have I missed something? Regards Michael [EMAIL PROTECTED] am 25.01.2001 11:30:41 Bitte antworten an [EMAIL PROTECTED

Re: why struts-config.xml AND action.xml

2001-01-25 Thread Rob Leland
It is confusing. If you are starting a new application then use struts-config.xml and delete action.xml. The action.xml was originally used with struts 0.5, after that struts-config.xml was created which replaces action.xml. It is only left in the example application since struts 1.0 will still

Action.xml

2001-01-22 Thread Rob Leland
I thought action.xml, was depreciated, and no longer used however it is still in the struts download as of January 17. Shouldn't this be removed ?

Re: Action.xml

2001-01-22 Thread Rob Leland
Sorry, I didn't make myself clear. In the 'struts example' there is still an Action.xml in the distribution for Jan 22 2001. If it isn't used then at least in the 'struts example' it should be removed. -Rob "Craig R. McClanahan" wrote: Rob Leland wrote: I thought

Re: Action.xml

2001-01-22 Thread martin . cooper
wrote: Katherine Barry wrote: Craig, The second approach is the one I am trying, but the problem is that the XML syntax is in the DOCTYPE declaration. There isn't one in the action.xml. I can add a declaration with the external file, and then reference it later, but it still doesn't work

action.xml and struts-config.xml

2001-01-04 Thread Alain Hubert
I'm using struts last build with Tomcat. A newbie question. I'm looking at the different struts examples coming with the distribution and I'm trying to figure out why action.xml is sometimes used and why it is sometimes not. For instance, in the struts-example application, action.xml and struts

Re: action.xml and struts-config.xml

2001-01-04 Thread Ted Husted
struts-config.xml is the successor to action.xml. action.xml is deprecated, and won't be supported past the 1.0 release. To use the new format, the ActionServlet validate property should be set to true. struts-config.xml is basically a superset of action.xml, so where you see that mentioned

RE: action.xml and struts-config.xml

2001-01-04 Thread Robinson, Brian
From the Struts trail map at http://developer.bluestone.com/scripts/SaISAPI.dll/StrutsTrailMap.class/stru ts-trailmap/Trail4.htm, there is a Note which answers your question: Note: It should be noted that in earlier releases of Struts struts-config.xml was referred to as action.xml. These files

Re: Pre-compiled JSPs in action.xml path=URI possible ??

2001-01-03 Thread Craig R. McClanahan
Ron Bolin wrote: Is struts designed to work with pre-compiled JSPs? Is it possible in struts 1.0 to define and use classes in the forward path argument rather than JSP as shown below. I am interested in speeding up the initial screens in our project. I have been toying with this, bus

RE: Difference between action.xml and struts-config.xml

2000-11-24 Thread Kevin Gibbs
As I undertand it... action.xml was used up to the 0.5 milestone release. The current development release is able to use either, but from v1.0+ action.xml will no longer be supported. -Original Message- From: De Smet Koen [mailto:[EMAIL PROTECTED]] Sent: Friday, November 24, 2000 1

Re: Difference between action.xml and struts-config.xml

2000-11-24 Thread Pierre Métras
Hi Koen, Use the struts-config.xml if you want to create a new application. It's the new version 1.0 file format used by struts. For compatibility with version 0.5, Struts can read the old action.xml file. The version you choose to use is defined in web.xml: servlet servlet-nameaction

RE: Action.xml

2000-11-23 Thread Katherine Barry
What I've got is: Action.xml: !DOCTYPE action [ !ENTITY deployment SYSTEM "file:./deploymentaction.xml" ] action-mappings !-- Default Forward when mapping.findForward() does not find a forward name -- forward name="home" path="/home

Re: Action.xml

2000-11-23 Thread Wong Kok Wai
Using XInclude is the solution but I don't know whether Xerces support XInclude or not. Katherine Barry wrote: What I've got is: Action.xml: !DOCTYPE action [ !ENTITY deployment SYSTEM "file:./deploymentaction.xml" ] action-mappings !-- Default Fo

Action.xml

2000-11-22 Thread Katherine Barry
I want to break this file up into several files. Anyone know how to do this? Katherine

Re: Action.xml

2000-11-22 Thread Craig R. McClanahan
Katherine Barry wrote: I want to break this file up into several files. Anyone know how to do this? Katherine Offhand, I can think of at least two approaches: * Store the pieces of action.xml in separate text files, and then have (as part of your build script) a command that combines them

Re: Action.xml

2000-11-22 Thread Craig R. McClanahan
Katherine Barry wrote: Craig, The second approach is the one I am trying, but the problem is that the XML syntax is in the DOCTYPE declaration. There isn't one in the action.xml. I can add a declaration with the external file, and then reference it later, but it still doesn't work. Hmm, I

RE: Difference between action.xml struts_config.xml

2000-11-16 Thread Ansaldo, Gaston
Craig: thanks for your reply; actually, I undertood it the way your are describing the behavior but what I can't understand is why every time I add new paths in a Struts 0.5 app I have to update both files. Should be enought updating action.xml? What i'm doing is extending the example

Re: Difference between action.xml struts_config.xml

2000-11-16 Thread Craig R. McClanahan
"Ansaldo, Gaston" wrote: Craig: thanks for your reply; actually, I undertood it the way your are describing the behavior but what I can't understand is why every time I add new paths in a Struts 0.5 app I have to update both files. Should be enought updating action.xml?

Re: Difference between action.xml struts_config.xml

2000-11-15 Thread Craig R. McClanahan
"Ansaldo, Gaston" wrote: Hi.! Can anyone tell me what is the difference between this two files? When should I use each of them and what for? I think I answered this earlier (blasted email reader is duplicating messages on me), but just in case: "action.xml" is t

Re: action.xml and struts-config.xml

2000-11-08 Thread Larry Rogers
Marcel, It's true that they serve the same function and contain similar things. The file action.xml with its format belongs to the 0.5 release, and struts-config.xml is the name for 1.0. You only need one or the other, depending on the version of Struts you are using. About a month ago