Struts validation with multiple struts-config.xml file (struts 1.2.6)

2009-06-15 Thread Ashish Kulkarni
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

Re: Problem with using Muliple tiles-defs.xml and multiple struts-config.xml in a web application

2008-01-18 Thread Antonio Petrelli
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

Re: Problem with using Muliple tiles-defs.xml and multiple struts-config.xml in a web application

2008-01-18 Thread [EMAIL PROTECTED]
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

Re: Problem with using Muliple tiles-defs.xml and multiple struts-config.xml in a web application

2008-01-18 Thread Antonio Petrelli
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

Problem with using Muliple tiles-defs.xml and multiple struts-config.xml in a web application

2008-01-18 Thread [EMAIL PROTECTED]
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

Re: Is the best way to have multiple struts-config.xml andtiles-defs.xml files, modules?

2005-10-12 Thread Don Brown
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

Re: Is the best way to have multiple struts-config.xml andtiles-defs.xml files, modules?

2005-10-12 Thread Kishore Senji
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

Re: Is the best way to have multiple struts-config.xml andtiles-defs.xml files, modules?

2005-10-12 Thread Bryon Lape
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

Re: Is the best way to have multiple struts-config.xml andtiles-defs.xml files, modules?

2005-10-11 Thread Wendy Smoak
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

Re: Is the best way to have multiple struts-config.xml andtiles-defs.xml files, modules?

2005-10-11 Thread Preston CRAWFORD
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

Re: Is the best way to have multiple struts-config.xml andtiles-defs.xml files, modules?

2005-10-11 Thread Preston CRAWFORD
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 >>>

Re: Is the best way to have multiple struts-config.xml andtiles-defs.xml files, modules?

2005-10-11 Thread Frank W. Zammetti
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

Is the best way to have multiple struts-config.xml andtiles-defs.xml files, modules?

2005-10-11 Thread Preston CRAWFORD
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

Re: multiple struts-config.xml issues with CactusStrutsTestCase

2005-09-21 Thread Carl Smith
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

Re: multiple struts-config.xml issues with CactusStrutsTestCase

2005-09-15 Thread Praveen Kumar
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

Re: multiple struts-config.xml issues with CactusStrutsTestCase

2005-09-15 Thread Laurie Harper
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

Re: multiple struts-config.xml issues with CactusStrutsTestCase

2005-09-15 Thread Kishore Senji
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/

multiple struts-config.xml issues with CactusStrutsTestCase

2005-09-15 Thread Carl Smith
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

Re: Multiple struts-config.xml

2005-04-14 Thread sridhar
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

RE: Multiple struts-config.xml

2005-04-11 Thread Folashade Adeyosoye
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

RE: Multiple struts-config.xml

2005-04-11 Thread Mark Benussi
: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

Re: Multiple struts-config.xml

2005-04-11 Thread James Mitchell
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

Re: Multiple struts-config.xml

2005-04-10 Thread Manfred Wolff
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

RE: Multiple struts-config.xml

2005-04-10 Thread Folashade Adeyosoye
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

Multiple struts-config.xml

2005-04-10 Thread Néstor Boscán
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

multiple struts-config.xml and validator.xml files for dealing with "stories"

2004-07-13 Thread Mark Shifman
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]

RE: can i have multiple struts-config.xml

2004-06-16 Thread Viral_Thakkar
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

RE: can i have multiple struts-config.xml

2004-06-16 Thread Matthias Wessendorf
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

RE: can i have multiple struts-config.xml

2004-06-16 Thread Asim Ghosh
- 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

RE: can i have multiple struts-config.xml

2004-06-16 Thread Viral_Thakkar
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

RE: can i have multiple struts-config.xml

2004-06-16 Thread Rajat Pandit, Gurgaon
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

RE: can i have multiple struts-config.xml

2004-06-16 Thread Viral_Thakkar
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

Re: can i have multiple struts-config.xml

2004-06-16 Thread Lionel
>> 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

RE: can i have multiple struts-config.xml

2004-06-16 Thread Satish Kataria
-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

Re: can i have multiple struts-config.xml

2004-06-15 Thread Shailender Jain
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.

Re: can i have multiple struts-config.xml

2004-06-15 Thread Lionel
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 --

RE: can i have multiple struts-config.xml

2004-06-15 Thread sougata
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

Re: can i have multiple struts-config.xml

2004-06-15 Thread Lionel
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]

can i have multiple struts-config.xml

2004-06-15 Thread sougata
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

RE: Clarification Needed.... Using multiple struts-config.xml- ActionErrors problem

2004-05-11 Thread Daniel Perry
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

Clarification Needed.... Using multiple struts-config.xml- ActionErrors problem

2004-05-11 Thread Normanjaisingh pauldurai
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

RE: Urgent help Needed....... Using multiple struts-config.xml- ActionErrors problem

2004-05-11 Thread Normanjaisingh pauldurai
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

RE: Urgent help Needed....... Using multiple struts-config.xml- ActionErrors problem

2004-05-11 Thread Daniel Perry
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

Urgent help Needed....... Using multiple struts-config.xml- ActionErrors problem

2004-05-11 Thread Normanjaisingh pauldurai
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

RE: Using multiple struts-config.xml- ActionErrors problem

2004-05-07 Thread Normanjaisingh pauldurai
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

RE: Using multiple struts-config.xml- ActionErrors problem

2004-05-07 Thread Ashutosh Satyam
: [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

Using multiple struts-config.xml- ActionErrors problem

2004-05-06 Thread Normanjaisingh pauldurai
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

Re: Using multiple struts-config.xml

2004-04-15 Thread Ted Husted
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.