HiI am having issues with struts validation when i have more then one
struts-config.xml file defined in web.xml
Struts performs no validation for the rules i have in validation.xml file,
which is part of struts-config.xml, but if i remove struts-config-admin.xml
from web.xml then it performs the r
2008/1/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> Thanks for ur reply.
> Even i know that it is the problem.
> How can i make the tiles definitions of one module to other?
In your struts-config-masters, when you configure Tiles plugin, you can add
a comma-separated list of Tiles definition f
ailing List" , [EMAIL PROTECTED]
Subject: Re: Problem with using Muliple tiles-defs.xml and multiple
struts-config.xml in a web application
2008/1/18, [EMAIL PROTECTED] :
>
> I want my pages to travel from one module to another module
> using the information in two tiles-defs.xm
2008/1/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> I want my pages to travel from one module to another module
> using the information in two tiles-defs.xml's. And I am not able to do
> that
Tiles Definitions in one module are not visible in the other module.
Antonio
Hi,
I have been
developing a web application using struts, which has number of modules in it.
Also I am using tiles in it for views. So
I am configuring different struts-config.xml for each module. And I think there
is nothing wrong with that.
And I want to use different tiles-defs for each
Why wouldn't you want to use modules? I find them a great organizational
tool and way to customize each request processor for its section.
Don
On 10/11/05, Preston CRAWFORD <[EMAIL PROTECTED]> wrote:
>
> No, in our case it's mostly to make the code manageable. We're putting
> code into separate p
I think a Filter would be ideal for this. Based on the users locale, (or any
logic which identifies a webpage of particular language) the Filter can
maintain the number of hits.
On 10/12/05, Bryon Lape < [EMAIL PROTECTED]> wrote:
>
> Along similar lines, I have a question of using modules for
> in
Along similar lines, I have a question of using modules for
internationalization. We have a requirement to not only support i18n, but
to be able to tell the client how many of their visitors are seeing which
language version of any particular web page. I had thought of using
modules to help keep
From: "Preston CRAWFORD" <[EMAIL PROTECTED]>
I've done this in the past. Used modules to logically (and for the sake
of having sane config files) break up these config files. However I'm
wondering if anyone avoids using modules and maybe merges the files
using ANT or something?
You can have mu
Just tried this. This works nice. Only downside is that then you don't
get any context help in the editor as you can't have a full XML file
with a doctype at the top (for the included files).
Bummer.
Preston
>>> [EMAIL PROTECTED] 10/11/2005 2:02:48 PM >>>
Some people prefer to stay away from mod
No, in our case it's mostly to make the code manageable. We're putting
code into separate packages and separate JSP directories, but it's all
going to be part of the same application in the end. And avoiding
modules wold be nice if possible.
Preston
>>> [EMAIL PROTECTED] 10/11/2005 2:02:48 PM >>>
Some people prefer to stay away from modules (I have a vague memory of at
least one Struts committer saying they generally try to avoid them for
example). One option that Craig turned me on to (and I hope I'm
remembering this right!) is using entities to import XML into another. If
the only real
I've done this in the past. Used modules to logically (and for the sake
of having sane config files) break up these config files. However I'm
wondering if anyone avoids using modules and maybe merges the files
using ANT or something? Reason I ask is because I know there are
pitfalls to using module
Your solution works perfectly. Thank you Kishore.
Kishore Senji <[EMAIL PROTECTED]> wrote:I think by default the
CactusStrutsTestCase reads the /WEB-INF/struts-
config.xml only. If you have multiple config files you would have to set the
appropriate config file in your test method. For eg:
publ
HI
I dont know about Cactus . But Struts 1.2 onwards only more than one
struts-config files are allowed that to be in this manner
action
com.struts.action.ActionServlet
/// THis is for Defalut
config
/WEB-INF/struts-confi
It's been rather a long time since I used Cactus so I can't rememner the
details of how you set things up, but are you sure that struts-my.xml is
being read in when you run your cactus tests?
L.
Carl Smith wrote:
I have two struts-config.xml files. One is Struts default struts-config.xml and
I think by default the CactusStrutsTestCase reads the /WEB-INF/struts-
config.xml only. If you have multiple config files you would have to set the
appropriate config file in your test method. For eg:
public void testDisplay() throws Exception {
setConfigFile("/WEB-INF/struts-config.xml,/WEB-INF/
I have two struts-config.xml files. One is Struts default struts-config.xml and
the other one is called
struts-my.xml. and I have configued these two xml files in web.xml so that
ActionServlet can take both struts-config.xml
and struts-my.xml. See following:
action
org.apache.struts.ac
Hi Néstor Boscán,
You can use multiple struts-config.xml files.
for that you have modify web.xml file
steps
1. in ActionServlet init params u can pass all the struts-config.xml
file(s) as a values.
action
tem that is live now, with no problem.
-Original Message-
From: Manfred Wolff [mailto:[EMAIL PROTECTED]
Sent: Monday, April 11, 2005 2:48 AM
To: Struts Users Mailing List
Subject: Re: Multiple struts-config.xml
Hi
A better way is to use struts modules. Every Module has its own
str
:42
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Multiple struts-config.xml
I would caution anyone about using Modules. It is not for the beginner.
Working with Struts Modules can be extremely confusing to the novice Struts
developer. I think a better solution is to suggest that
AIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, April 11, 2005 2:48 AM
Subject: Re: Multiple struts-config.xml
Hi
A better way is to use struts modules. Every Module has its own
struts-configuration. If you use more than one struts configuration such
as described bel
ruts Users Mailing List'
Subject: Multiple struts-config.xml
Hi
I have an application and I need to create many web flows. If I use struts
to model the web flows, is it possible to use many struts-config.xml instead
of one?
Regards
Users Mailing List'
Subject: Multiple struts-config.xml
Hi
I have an application and I need to create many web flows. If I use struts
to model the web flows, is it possible to use many struts-config.xml instead
of one?
Regards,
Nés
Hi
I have an application and I need to create many web flows. If I use struts
to model the web flows, is it possible to use many struts-config.xml instead
of one?
Regards,
Néstor Boscán
-
To unsubscribe, e-mail: [EMAIL PROT
se or story independently.
Do you have an example which uses multiple struts-config.xml and
validator.xml files for dealing with "stories"?
...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Subject: RE: can i have multiple struts-config.xml
Can you try using struts 1.1 dtd instead of 1.0 which is what you have
done right now
Use this
http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";>
Thanks,
Satish
-Original Message-
From: Viral_Thakkar [mailto:[EMAIL P
nal Message-
> From: Viral_Thakkar [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 16, 2004 12:44 PM
> To: Satish Kataria; [EMAIL PROTECTED]
> Subject: RE: can i have multiple struts-config.xml
>
>
> 503 Parsing error
>
> -Original Message-
> From: Satish
-
From: Satish Kataria [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 1:09 PM
To: Viral_Thakkar
Subject: RE: can i have multiple struts-config.xml
What is extact error you are getting
Also can you send me ur strut config files and web.xml?
Satish
-Original Message-
From: Viral_T
503 Parsing error
-Original Message-
From: Satish Kataria [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 1:09 PM
To: Viral_Thakkar
Subject: RE: can i have multiple struts-config.xml
What is extact error you are getting
Also can you send me ur strut config files and web.xml
struts-config.xml
I tried this and I am getting parsing error.
-Original Message-
From: Satish Kataria [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 12:45 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: can i have multiple struts-config.xml
Yes you can have any
I tried this and I am getting parsing error.
-Original Message-
From: Satish Kataria [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 12:45 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: can i have multiple struts-config.xml
Yes you can have any number of
>> Lionel wrote:
>>
http://otn.oracle.com/products/jdev/howtos/10g/StrutsMultiConfigs/struts_multiconfig_howto.html
Shailender Jain wrote:
> I went to this link but this document seems to have been
> removed. Is there is any other link?
the given link works fine...
try
-INF/a.xml,
/WEB-INF/b.xml
Where struts-config.xml,a.xml and b.xml are the struts config files
Thanks,
Satish
-Original Message-
From: sougata [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 15, 2004 5:29 PM
To: Struts Users Mailing List
Subject: can i have multiple struts-config.xml
Hai,
I went to this link but this document seems to have been removed.
Is there is any other link?
Regards
Shailender Jain
Lionel wrote:
> Lionel wrote:
> > sougata wrote:
> >> Hi All
> >> I have one question.Can I have 2 struts-config.xml for one web
> >> application.
Lionel wrote:
> sougata wrote:
>> Hi All
>> I have one question.Can I have 2 struts-config.xml for one web
>> application.
>
> yes.
I forgot to paste this:
http://otn.oracle.com/products/jdev/howtos/10g/StrutsMultiConfigs/struts_multiconfig_howto.html
--
struts-config.xml
sougata wrote:
> Hi All
> I have one question.Can I have 2 struts-config.xml for one web
> application.
yes.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
sougata wrote:
> Hi All
> I have one question.Can I have 2 struts-config.xml for one web
> application.
yes.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi All
I have one question.Can I have 2 struts-config.xml for one web application.
Thanks
Sougata
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Lionel
Sent: Tuesday, June 15, 2004 5:22 PM
To: [EMAIL PROTECTED]
Subject: Re: security roles
Zhang, Larry (L.) wrote:
> (2
Needed Using multiple struts-config.xml-
ActionErrors problem
If u specify more than one message resources file, only the last message
resources file is loaded. Isn't this a bug in struts 1.1?
>From: "Daniel Perry" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users
ling List" <[EMAIL PROTECTED]>
Subject: RE: Urgent help Needed... Using multiple struts-config.xml-
ActionErrors problem
Date: Tue, 11 May 2004 10:28:00 +0100
>FYI: I don't use message resource in this context.
well there's your problem :)
You need to have the error mes
ling List" <[EMAIL PROTECTED]>
Subject: RE: Urgent help Needed... Using multiple struts-config.xml-
ActionErrors problem
Date: Tue, 11 May 2004 10:28:00 +0100
>FYI: I don't use message resource in this context.
well there's your problem :)
You need to have the error mes
durai [mailto:[EMAIL PROTECTED]
Sent: 11 May 2004 10:18
To: [EMAIL PROTECTED]
Subject: Urgent help Needed... Using multiple struts-config.xml-
ActionErrors problem
>Hi,
>
> Actually, my requirement is to populate the actionerrors object in
>a Actionclass and display it in the JSP usi
cept that they belong to
different modules( given in web.xml).
Can anybody tell me what's to be done to solve this problem?
FYI: I don't use message resource in this context.
Thanx,
Norman
From: "Ashutosh Satyam" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mai
t that they belong to
different modules( given in web.xml).
Can anybody tell me what's to be done to solve this problem?
FYI: I don't use message resource in this context.
Thanx,
Norman
From: "Ashutosh Satyam" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailin
: [EMAIL PROTECTED]
Subject: Using multiple struts-config.xml- ActionErrors problem
Hi,
I'm using struts-modular approach. i.e. in web.xml I've definitions like
this
-
config
/WEB-INF/struts-config.xml
config/business
/WEB-INF/struts-config
Hi,
I'm using struts-modular approach. i.e. in web.xml I've definitions like
this
-
config
/WEB-INF/struts-config.xml
config/business
/WEB-INF/struts-config-smile.xml
-
But when ActionErrors object is populated in "config/business" mo
njai Singh Pauldurai wrote:
Hi all,
I would like to know some details about using multiple struts-config.xml and
multiple tiles-defs.xml.
I'll explain the way i'm gonna use multiple stuts and miltiple tiles in my project.
Kindly validate it and point me the correct usage.
48 matches
Mail list logo