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 th
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
> docuementat
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
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 t
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 quest
> > 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 version
> 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.
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
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" at
[EMAIL PROTECTED] wrote:
> 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).
>
As others have indicated, "action.xml" is there as a compatibility a
#conf
ig
Oliver
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet am: Donnerstag, 25. Januar 2001 11:26
An: [EMAIL PROTECTED]
Betreff: Antwort: AW: why struts-config.xml AND action.xml
Hi,
so in fact I only have to concentrate on on of these
Hi there,
I would say that in the example application the action.xml file is not used.
Just have a look at the web.xml file. There struts-config.xml is provided as the
config parameter to the ActionServlet:
>
>
> action
> org.apache.struts.action.A
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
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
)
Thema: AW: why struts-config.xml AND action.xml
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
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet am
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
nahan 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 t
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 Le
Rob Leland wrote:
> 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 ?
It is still supported (even though deprecated) in 1.0, along with the deprecated
tag library, so the exam
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 ?
>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 fi
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
ment
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
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 th
>
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 so far have not been able
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:
a
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
Hello,
We're looking at struts for a few days now and it looks good, but I was
wondering the following:
What's the difference between action.xml and struts-config.xml for the
action mapping? I see that in both files you nearly define the same things.
Can somebody explain us the
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:
>
>
> ]>
>
>
What I've got is:
Action.xml:
]>
&deployment;
--
I've had to add the DOCTYPE declaration since the action.xml doesn't
normally have one.
This causes a parsing error on startup.
Craig & Katherine,
Here's a message from ant-user that describes how to do this (for Ant, at
least, although it should work for action.xml as well).
--
Martin Cooper
Tumbleweed Communications
- Original Message -
From: "Stefan Bodewig" <[EMAIL PROTECTED]>
To:
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 i
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.
Katherine
-Origin
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
I want to break this file up into several files. Anyone know how to do this?
Katherine
"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
&g
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 t
"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.xm
Hi.!
Can anyone tell me what is the difference between this two files? When
should I use each of them and what for?
Thanks,
Gastón
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
Marcel Ruff wrote:
> Hi,
>
> i am a bit confused, what is the diference between
> action.xml and struts-config.xml, they seem to contain
> similar things?
>
The "action.xml" file was the old way to configure Struts (for the 0.5
milestone). Going forward (versio
Hi,
i am a bit confused, what is the diference between
action.xml and struts-config.xml, they seem to contain
similar things?
thanks,
Marcel
--
Marcel Ruff
43 matches
Mail list logo