I previously had struts 1.1 running on jrun 3.1.
See this email in the archive (which refers to struts 1.0.2 but the change
works for 1.1)
http://marc.theaimsgroup.com/?l=struts-userm=103652624602001w=2
Let me know if you need more help.
H.
-Original Message-
From: David Liles
but haven't installed it because of the reason.
Thanks again
-Original Message-
From: Huw Richards [mailto:[EMAIL PROTECTED]
Sent: Monday, November 10, 2003 3:19 PM
To: Struts Users Mailing List
Subject: RE: Struts Config for JRun FYI
I previously had struts 1.1 running
Or, if you're using Ant, try the optional xmlvalidate task (this is almost
exactly one of the examples given):
xmlvalidate file=struts-config.xml
dtd publicId=-//Apache Software Foundation//DTD Struts Configuration 1.1//EN
location=struts-config_1_1.dtd/
/xmlvalidate
Very cool, exactly what I was looking for.
Edgar
-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 8:22 AM
To: Struts Users Mailing List
Subject: RE: Struts-config
Or, if you're using Ant, try the optional xmlvalidate task (this is almost
Download XML Spy (or another good XML tool) and validate it against the DTD.
-Original Message-
From: Edgar P Dollin [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2003 4:37 PM
To: Struts Users Mailing List
Subject: Struts-config
Has anyone experienced situtation where struts 1.1
a forward to an action:
fwd= new ActionForward();
fwd.setPath(/action.do);
store your errors in the session or request:
session.setAttribute(org.apache.struts.action.ERROR, errors);
or
request.setAttribute(org.apache.struts.action.ERROR, errors);
From: Florent LOTHON [EMAIL PROTECTED]
Reply-To:
According to the Struts DTD:
pathThe module-relative or context-relative path to the
resources
that is encapsulated by the logical name of this
ActionForward.
If the path is to be considered context-relative when
used in
a
PROTECTED]
Sent: Monday, September 29, 2003 2:00 PM
Subject: RE: Struts-config path
According to the Struts DTD:
pathThe module-relative or context-relative path to the
resources
that is encapsulated by the logical name of this
ActionForward
I'm guessing that you didn't bother to search google, the source code,
or web site documentation as this topic is covered very well in many
places.
http://www.google.com/search?hl=enlr=ie=UTF-8oe=UTF-8q=using+set-pro
perty+struts-configbtnG=Google+Search
From the first hit found on google:
The
: Donnerstag, 26. Juni 2003 06:54
To: Struts Users Mailing List
Subject: Re: struts-config and tiles configuration
Hmmm, I am not sure as to what you are asking.
As a test, I am using the struts-config.xml file from the
tiles-documentation.war
file. It still comes up with this SAXParseException. I
Oh, and I am using Struts-1.1-rc2.
Bob Byron wrote:
I am getting a strange error, and I can't figure out why.
As I understand it, I can put a plug-in in the struts-config file,
however,
I am receiving the following error message when I do:
23:00:04,841 ERROR [Digester] Parse Error at line 54
Is plug-in a latest element of your strruts-config.xml?
- Original Message -
From: Bob Byron [EMAIL PROTECTED]
To: Struts Users [EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 9:38 PM
Subject: struts-config and tiles configuration
I am getting a strange error, and I can't figure out
Hmmm, I am not sure as to what you are asking.
As a test, I am using the struts-config.xml file from the
tiles-documentation.war
file. It still comes up with this SAXParseException. I don't get it.
Bob
Sergey Smirnov wrote:
Is plug-in a latest element of your strruts-config.xml?
-
Well, I think I found the problem. It appears my build script was
compiling against
Struts 1.1 but copying over Struts 1.0.
Thanks for your help,
Bob Byron
Bob Byron wrote:
Hmmm, I am not sure as to what you are asking.
As a test, I am using the struts-config.xml file from the
Following is taken verbatim from the struts-config.dtd
input Module-relative path of the action or other resource to
which control should be returned if a validation error is
encountered. Valid only when name is specified. Required
Thanks. Of course, I was looking at the DTD
yesterday, but today I forgot about it :(
Otis
On Mon, 23 Dec 2002, Siggelkow, Bill
([EMAIL PROTECTED]) wrote:
Following is taken verbatim from the
struts-config.dtd
input Module-relative path of
the action or other resource to
/usr/bin/awk '{gsub(/\r/,); print $0; }' $0
will dump the file without ^M on stdout. Just pipe it to a file.
HTH,
umberto
On Wed, 2002-08-28 at 22:51, Tero P Paananen wrote:
To convert a windows file into a unix format you can use the
dos2unix command under unix.
It will get rid of all
DOS (aka Windows) and Unix use different line-termination sequences. In Microsoft
land, lines are terminated with a CR/LF pair. In Unix land, lines are terminated with
LF. When you view a Windows created file on Unix, the extra CR displays as a control
character.
--Kevin
P.S. CR == carriage
Mailing List
Subject: RE: struts-config windows 2 unix?
DOS (aka Windows) and Unix use different line-termination sequences. In
Microsoft land, lines are terminated with a CR/LF pair. In Unix land, lines
are terminated with LF. When you view a Windows created file on Unix, the
extra CR displays
'
Subject: RE: struts-config windows 2 unix?
To convert a windows file into a unix format you can use the dos2unix
command under unix.
It will get rid of all the ^M caracters that you see under vi.
Nicolas
-Original Message-
From: Kevin A. Smith [mailto:[EMAIL PROTECTED]]
Sent: Wednesday
To convert a windows file into a unix format you can use the
dos2unix command under unix.
It will get rid of all the ^M caracters that you see under vi.
Use a text editor on Windows that can save in Unix format.
Practically any advanced text editor can do that. I use
UltraEdit myself.
thanks all... i find that the http status 500 problem is not from extra
control char's in the config, although i did clean the config file with
dos2unix anyway.
still getting:
error 500: no action instance for myclassname
??
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
Here's a silly question that's bit me a few times: are you sure that the .class file
is physically packaged in the webapp?
-Original Message-
From: slickdev [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 2:02 PM
To: Struts Users Mailing List
Subject: Re: struts-config
PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, August 28, 2002 1:03 PM
Subject: RE: struts-config windows 2 unix? No Action Instance
Here's a silly question that's bit me a few times: are you sure that the
.class file is physically packaged in the webapp
, August 28, 2002 2:13 PM
To: Struts Users Mailing List
Subject: Re: struts-config windows 2 unix? No Action Instance
yeah, it's packaged at
WEB-INF/classes/ecapp
I also set the struts-config action mapping thus:
!-- database main page action --
action
path=/dbopsAction
type
?
-Max
- Original Message -
From: slickdev [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, August 28, 2002 11:13 AM
Subject: Re: struts-config windows 2 unix? No Action Instance
yeah, it's packaged at
WEB-INF/classes/ecapp
I also set the struts-config
.
--Kevin
-Original Message-
From: Desjardins, Nicolas [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 1:36 PM
To: 'Struts Users Mailing List'
Subject: RE: struts-config windows 2 unix?
To convert a windows file into a unix format you can use the dos2unix
command under unix
At this point in time there is not something like you
mention that I know of. However, Ted Husted has
recently updated the DTD and User Guide a bit.
http://jakarta.apache.org/struts/userGuide/building_controller.html
-james
[EMAIL PROTECTED]
http://www.jamesholmes.com/struts/
--- Heligon
Holmes [mailto:[EMAIL PROTECTED]]
Sent: 09 July 2002 16:50
To: Struts Users Mailing List
Subject: Re: struts-config deployment descriptor file syntax
At this point in time there is not something like you
mention that I know of. However, Ted Husted has
recently updated the DTD and User Guide a bit
At 5:26 PM +0200 2002/07/09, Heligon Sandra wrote:
what a pity!
http://edocs.bea.com/wls/docs61/webapp/web_xml.html gives the elements of
a web.xml deployment descriptor, it is easier than web-app_2_2.dtd file.
I hope that in the future a such format will exist for struts-config
file.
Many of
.
Sandra
-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED]]
Sent: 09 July 2002 16:50
To: Struts Users Mailing List
Subject: Re: struts-config deployment descriptor file syntax
At this point in time there is not something like you
mention that I know of. However
Ryan,
Please include more detail than it is not working, like what the error or
exception thrown is. Otherwise we can't help troubleshoot.
Also, if it's an option, you may want to take a look at declarative
security. The container manages the authentication and authorization
procedures. You
to replace with a custom Ant task).
cheers,
Joe Barefoot
-Original Message-
From: John Kroubalkian [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 6:25 PM
To: [EMAIL PROTECTED]
Subject: Re: Struts config, can it have includes?
Have you tried using XML ENTITY tags to declare
Interestingly enough, we do the exact same thing in our project (many .xml
files), and currently we use a perl script to merge the XML files (boo!).
However, I've been writing an Ant task that merges XML files into a single
file to replace the perl...but it's not finished (doh!). Most of the
You might want to look into the modular capabilities in the nightly
build (soon to be 1.1 beta 1).
This allows you to break your application into modules, so each
developer can work be working their ownmodules within the same
application.
-- Ted Husted, Husted dot Com, Fairport NY US
--
, 2002 6:25 PM
To: Struts user
Subject: Re: struts-config and include
http://jakarta.apache.org/ant/ant_in_anger.html
This tells you how to do an XML document include inside another XML
document. I believe you could do this with the struts-config.xml? It
under Tips and Tricks.
Steve
Hi,
It depends on what you want to do. If you wish to have a link to another
page/action then your best bet is to use an html:link to a global forward.
If you wish to include content within a page then you could use a
jsp:include but your best bet might be to use a templating mechanism such as
init-parameter
nameconfig/name
value/WEB-INF/struts-config.xml/value
/init-parameter
-Original Message-
From: Jon.Ridgway [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 30, 2001 2:44 PM
To: 'Struts Users Mailing List'
Subject: RE: struts
PROTECTED]]
Sent: 03 December 2001 07:55
To: 'Struts Users Mailing List'
Subject: RE: struts-config not found in Websphere 3.5.2 FixPack3
Hi Jon, firstly thanks for your replies, and sorry for my late replies.
Rough weekend.
here is the excerp from strutsexample.webapp where the ActionServlet
gotten into
Struts. Been busy with this for 2 half weeks now. So great. Thanks again.
cheers
Darryl
-Original Message-
From: Jon.Ridgway [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 03, 2001 12:30 PM
To: 'Struts Users Mailing List'
Subject: RE: struts-config not found in Websphere 3.5.2
Hi,
Have you added the ActionServlet mapping into your webapp name.webapp
file? This mapping tells the action servlet where to find struts-config.xml.
If you have the mapping what entry do you have for the config parameter?
Jon Ridgway
www.upco.co.uk
-Original Message-
From: jpablo
On Thu, 19 Jul 2001, Martin, Margaret wrote:
in your action code you can retrieve it from the ActionMapping passed in to
the perform method via:
mapping.getParameter();
We are using this parameter to indicate the method name to invoke from
perform, so that we have a handful of action
in your action code you can retrieve it from the ActionMapping passed in to
the perform method via:
mapping.getParameter();
We are using this parameter to indicate the method name to invoke from
perform, so that we have a handful of action classes with many methods on
them rather than a lot of
Very nice. Thanks Martin. I had seen this on the Ant list, but had not thought
of that.
Martin Cooper wrote:
You can manage it using standard XML techniques. The oft-repeated example on
this list comes from the Ant build tool. The FAQ item for that is:
My understanding is that you would need to extend the ActionServlet, pass
multiple entries for each of the files as init-parameters to the ActionServlet
and rewrite the initDigester() method. You will also need to create new DTDs
and rebundle the struts.jar. The reason for the rebundle of the
45 matches
Mail list logo