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
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
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
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
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
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" attribute of the action element
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.
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
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
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
)
Thema: AW: why struts-config.xml AND action.xml
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
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
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 ?
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
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
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
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
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
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
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
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
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
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
I want to break this file up into several files. Anyone know how to do this?
Katherine
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
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
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
"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?
"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
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
32 matches
Mail list logo