Re: Switching Action between different modules in Struts 2.1.x...

2009-09-23 Thread Paweł Wielgus
Hi Muthu, check how your generated html looks like. I don't know if struts isn't adding namespace if it's not specified. Best greetings, Pawel Wielgus. 2009/9/23, Muthu Velappan : > > Hi, > > I have 3 different modules in my project and added that

Re: Switching Action between different modules...

2009-09-23 Thread Wes Wannemacher
figured. > > ~Muthu > > -Original Message- > From: musom...@aol.com [mailto:musom...@aol.com] > Sent: Wednesday, September 23, 2009 3:23 PM > To: user@struts.apache.org > Subject: Re: Switching Action between different modules... > > >  The name of the xml file

RE: Switching Action between different modules...

2009-09-23 Thread Muthu Velappan
k.jsp related actions are configured. ~Muthu -Original Message- From: musom...@aol.com [mailto:musom...@aol.com] Sent: Wednesday, September 23, 2009 3:23 PM To: user@struts.apache.org Subject: Re: Switching Action between different modules... The name of the xml file is immaterial -- what is t

Re: Switching Action between different modules...

2009-09-23 Thread musomesa
@struts.apache.org Sent: Wed, Sep 23, 2009 3:10 am Subject: Switching Action between different modules... Hi, I have 3 different modules in my project and added that into struts.xml like this I got a feedback.jsp page in admin module. When user hit the

Switching Action between different modules in Struts 2.1.x...

2009-09-23 Thread Muthu Velappan
Hi, I have 3 different modules in my project and added that into struts.xml like this I got a feedback.jsp page in admin module. When user hit the cancel button from this form, I want that to submit to home.action available in home module. Since I don’t have the

Switching Action between different modules...

2009-09-23 Thread Muthu Velappan
Hi, I have 3 different modules in my project and added that into struts.xml like this I got a feedback.jsp page in admin module. When user hit the cancel button from this form, I want that to submit to home.action available in home module. Since I don&#

Re: newbie question: How can I make a Struts Project with multiple modules?

2008-08-04 Thread Antonio Petrelli
2008/8/4 ryan webb <[EMAIL PROTECTED]>: > Struts Version = 1.2.9 > So creating a multiple module depends on struts version? Surely it depends on being a Struts 1 project or a Struts 2 one. In fact I think that the concept of "module" is not used inside Struts 2, but I wanted to be sure that you we

Re: newbie question: How can I make a Struts Project with multiple modules?

2008-08-04 Thread ryan webb
Struts Version = 1.2.9 So creating a multiple module depends on struts version? On 8/4/08, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > > Version of Struts? > > 2008/8/4 ryan webb <[EMAIL PROTECTED]>: > > How can I make a Struts Project with multiple modules?

Re: newbie question: How can I make a Struts Project with multiple modules?

2008-08-03 Thread Antonio Petrelli
Version of Struts? 2008/8/4 ryan webb <[EMAIL PROTECTED]>: > How can I make a Struts Project with multiple modules? > > -- > warmest regards, > Ryan Webb - Philippines > > email: [EMAIL PROTECTED] > --

newbie question: How can I make a Struts Project with multiple modules?

2008-08-03 Thread ryan webb
How can I make a Struts Project with multiple modules? -- warmest regards, Ryan Webb - Philippines email: [EMAIL PROTECTED]

Re: Struts 1.3 modules.

2008-01-02 Thread Peter L. Berghold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter L. Berghold wrote: > Maybe I'm misunderstanding just what Struts modules do, but I'm trying > to migrate from Struts 1.2 to Struts 1.3 and I'm running into some issues. > > Never mind.. figured out what was goi

Struts 1.3 modules.

2008-01-02 Thread Peter L. Berghold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maybe I'm misunderstanding just what Struts modules do, but I'm trying to migrate from Struts 1.2 to Struts 1.3 and I'm running into some issues. What I **think** 1.3 is going to buy me is the ability to split out pieces of my web a

How to use modules without *.do servlet-mapping in Struts 1.2?

2007-12-13 Thread Mark Piper
How do I get modules to work with URLs like these: "http://server.com/webApp/module1/action1"; "http://server.com/webApp/module2/action2"; Alternatively, is it now allowed to have multiple ActionServlets in one webapp? If so, I can use that technique rather than modu

Re: [s1.35] Need help with Struts and Modules

2007-10-11 Thread Paul Benedict
ot; >parameter="default=setup" >type="view.struts.actions.secure.Main_Menu_Action" >validate="false"> > > > > If I create the second action in struts-config-secure.xml, will other > actions need a /secure/

RE: [s1.35] Need help with Struts and Modules

2007-10-05 Thread Givler, Eric
7;t sure how to proceed with it, and it seems like Struts modules is the solution. However, after spending some time with the modules, I ran into issues with it being able to see images, css files, pages from the global-exceptions entry if within a subsystem, links on certain pages if they are speci

Re: [s1.35] Need help with Struts and Modules

2007-09-30 Thread Paul Benedict
Get rid of modules. They aren't worth the hassle. You can easily split up your struts config without using modules. On 9/28/07, Givler, Eric <[EMAIL PROTECTED]> wrote: > > Can anyone assist with this? > > -Original Message- > From: Givler, Eric [mailto:[EMAIL P

RE: [s1.35] Need help with Struts and Modules

2007-09-28 Thread Givler, Eric
Can anyone assist with this? -Original Message- From: Givler, Eric [mailto:[EMAIL PROTECTED] Sent: Saturday, September 22, 2007 1:25 AM To: user@struts.apache.org Subject: [s1.35] Need help with Struts and Modules Hello, Let me just say that I'm struggling at times writing my

[s1.35] Need help with Struts and Modules

2007-09-21 Thread Givler, Eric
Hello, Let me just say that I'm struggling at times writing my first production Struts application. The issue that I'm trying to wrestle with now is that part of the application requires security, and part of it should allow general access to the public. This sounds like a case f

Re: Struts 1.1 multiple modules and application resources

2007-08-21 Thread Paul Benedict
Why are you using modules? You could just have one module with multiple configuration files. On 8/20/07, temp temp <[EMAIL PROTECTED]> wrote: > > My application has several modules (several struts-config files > )and each module has its own application.resources files. >

Struts 1.1 multiple modules and application resources

2007-08-20 Thread temp temp
My application has several modules (several struts-config files )and each module has its own application.resources files. How to handle multiple application.resource files ? Sairam - Luggage? GPS? Comic books? Check out fitting

Problems with multiple resource files (can separate modules be a solution?)

2007-08-15 Thread struts
the place. And don't want to have to make the forum guys make changes in their code if not absolutely necessary. After searching on google, I'm starting to think that maybe one option is to divide this into two different struts modules. But it seems like a lot of work, and even though I h

Struts integration with (JBoss) Login Modules

2007-07-02 Thread Krish Palaniappan
Folks, If there is a simple working example someplace, could you please point me to it? I am trying to migrate a Struts application to use JAAS and JBoss Login Modules. I assume I don't need to implement any JAAS callback handlers if I used either one of the OOTB JBoss login modul

Question about using Struts with JAAS Login Modules

2007-06-30 Thread Krish Palaniappan
am assuming the whole point of using Login Modules is so that there are no code changes required when moving authentication from one data store to the other (DB to LDAP, for example). So, I presume I shouldn't be using JAAS callback handlers to implement this as that would require code changes

Re: [S2 Tip] Use namespaces to organize your application into logical "modules"

2007-03-23 Thread Piero Sartini
Thank you Ted, like Harring I also wondered what namespaces are all about and decided they arent that important to me - however, already tried to make action names like "foo/bar". Now I consider namespaces very useful. Maybe this should be included in the wiki somewhere. (Tips & Tricks Corner?)

Re: [S2 Tip] Use namespaces to organize your application into logical "modules"

2007-03-23 Thread Vinny
wn > defaults, including a namespace setting. > > > > > > /example/HelloWorld.jsp > > > > > > > Use the namespace attribute to create logical modules or units of work > within an application, each with its own identifying pre

Re: [S2 Tip] Use namespaces to organize your application into logical "modules"

2007-03-23 Thread Harring Figueiredo
large applications, the Struts configuration is designed around the notions of "packages" and "namespaces". Each package can set its own defaults, including a namespace setting. /example/HelloWorld.jsp Use the namespace attribute to

[S2 Tip] Use namespaces to organize your application into logical "modules"

2007-03-23 Thread Ted Husted
ample/HelloWorld.jsp Use the namespace attribute to create logical modules or units of work within an application, each with its own identifying prefix. In an accounting application, the actions relating to "payables" might be in one namespace, and actions relati

RE: struts sub-modules and file upload

2007-02-27 Thread Massimiliano Cuccia
GOT IT!! -- the problem was due to incompatibility between struts modules and common Oreilly servlet (cos). -- No problems using MultipartRequestHandler! -- bye --> Hi allI'm using struts 1.3.5 and I defined a struts sub module (a new struts-config-mymodule.xml), when I try to call an a

struts sub-modules and file upload

2007-02-27 Thread Massimiliano Cuccia
Hi allI'm using struts 1.3.5 and I defined a struts sub module (a new struts-config-mymodule.xml), when I try to call an action of the mymodule module to upload a file I get "Corrupt form data: premature ending" . If I define the action inside the default module it works.There is a bug somewhere

[s1.3] modules and JSP under WEB-INF

2007-01-05 Thread nicolas de loof
Hello, I'm using Struts 1.3.5. My application use struts modules. I'd like to put my JSPs under /WEB-INF/pages, so I've set forwardPattern to "/WEB-INF/pages$M$P". That works for JSP, but when I use a redirect forward to a ".do" (for postback actions) the ac

Re: Application Modules

2006-12-14 Thread Jon Wynacht
Ah...that's it...thanks! Jon On Dec 13, 2006, at 5:06 PM, Jerome Gagner wrote: Don't need to include the .do in html:link On 12/13/06, Jon Wynacht <[EMAIL PROTECTED]> wrote: Hi, I am implementing modules in my application and I want to know the best way to do that in ter

Re: Application Modules

2006-12-13 Thread Jerome Gagner
Don't need to include the .do in html:link On 12/13/06, Jon Wynacht <[EMAIL PROTECTED]> wrote: Hi, I am implementing modules in my application and I want to know the best way to do that in terms of how I want the application to behave. This may or may not be possible but bear wit

Application Modules

2006-12-13 Thread Jon Wynacht
Hi, I am implementing modules in my application and I want to know the best way to do that in terms of how I want the application to behave. This may or may not be possible but bear with me... My application is a calendaring system for a specific audience. The default application affords

[Fwd: HELP with switching modules in Struts 1.2.x]

2006-12-07 Thread robin bajaj
Please ignore my previous mail. I found the issue. I was trying to forward from a local forward to a global forward. I started forwarding to the global forward directly and everthing started working fine. thanks, robin --- Begin Message --- Hi All, I am trying to switch modules in Struts 1.2

HELP with switching modules in Struts 1.2.x

2006-12-07 Thread robin bajaj
Hi All, I am trying to switch modules in Struts 1.2.x webapp using a global forward. Here's the global forward path="/MODULE2/action.do" redirect="true"/> Here's the action Mapping that wants to switch to MODULE2 when an actionForward "toAccMa

Re: Configuring Struts Validator with Multiple Modules

2006-09-15 Thread Niall Pemberton
On 9/14/06, Scott Smith <[EMAIL PROTECTED]> wrote: I have a struts 1.2.9 app that has several modules (assume they are named "a" and "b"). In my struts-config-a.xml file, I have a form defined as followed: My vali

Configuring Struts Validator with Multiple Modules

2006-09-14 Thread Scott Smith
I have a struts 1.2.9 app that has several modules (assume they are named "a" and "b"). In my struts-config-a.xml file, I have a form defined as followed: My validation

Re: Struts Modules: automatic validation using few resource bundles

2006-09-13 Thread Niall Pemberton
On 9/13/06, Jacek Konopelski <[EMAIL PROTECTED]> wrote: Hi All - it's my first mail here but don't be scared ;) Recently I have been doing My best to divide My web application into modules - so My boss could sell main part without addons (modules). I successed in everything e

Struts Modules: automatic validation using few resource bundles

2006-09-13 Thread Jacek Konopelski
Hi All - it's my first mail here but don't be scared ;) Recently I have been doing My best to divide My web application into modules - so My boss could sell main part without addons (modules). I successed in everything except validation... What I have: 0. I'm using: Str

Re: problem with modules : Cannot retrieve mapping

2006-07-07 Thread niels
Actually I don't want to switch modules, I want to 'access' an action form another module On 7/6/06, Laurie Harper <[EMAIL PROTECTED]> wrote: niels wrote: > have 2 modules: moduleA and moduleB > in struts-config.xml from moduleA: > > > > where testA is

Re: problem with modules : Cannot retrieve mapping

2006-07-06 Thread Laurie Harper
niels wrote: have 2 modules: moduleA and moduleB in struts-config.xml from moduleA: where testA is located on the filesystem in : /moduleA/testA.jsp in struts-config.xml from moduleB: in testB.jsp & testA.jsp if have: search whe I call /moduleB/moduleBtest.do --&g

problem with modules : Cannot retrieve mapping

2006-07-06 Thread niels
have 2 modules: moduleA and moduleB in struts-config.xml from moduleA: where testA is located on the filesystem in : /moduleA/testA.jsp in struts-config.xml from moduleB: in testB.jsp & testA.jsp if have: search whe I call /moduleB/moduleBtest.do --> form is di

XDoclet + struts-config.xml + modules

2006-06-23 Thread Stasica, Grzegorz
Hi, Is it possible to generate struts-config.xml for modules? I've two modules in my application handled by one DispatchAction. Unfortunately I can't find a way to indicate that specific mapping is related to another module. By the way is it true that XDoclet for struts doesn't

Re: modules & menus

2006-05-30 Thread Joe Germuska
At 3:50 PM -0400 5/30/06, Brian Long wrote: Hi folks - appreciate any input on this one: I have a menu in a Struts 1.2.9 modularized app. The menu has links to some jsps and some actions. When the app is launched, the links all work. However, once I've navigated into a module, the links all g

modules & menus

2006-05-30 Thread Brian Long
Hi folks - appreciate any input on this one: I have a menu in a Struts 1.2.9 modularized app. The menu has links to some jsps and some actions. When the app is launched, the links all work. However, once I've navigated into a module, the links all get prefixed with that module, and the links d

using tiles/validator across modules

2006-05-19 Thread Berk, Jason R.
how can I configure my struts-config files to allow modules to define the validation rules and tiles definitions they (and only they) need, while defining cross application validations/tile-defs at the default struts config level? Currently, we do NOT use the default struts config. It is defined

Re: using modules with JSPs behind WEB-INF

2006-05-16 Thread Joe Germuska
At 1:58 PM -0500 5/16/06, David Durham wrote: Berk, Jason R. wrote: I'm using struts 1.2.9 which the struts site claims is the "prime time" ready version. I would like to use modules and put my JSPs behind WEB-INF to protect them. When I try this with struts, it rewrites

Re: using modules with JSPs behind WEB-INF

2006-05-16 Thread David Durham
Berk, Jason R. wrote: I'm using struts 1.2.9 which the struts site claims is the "prime time" ready version. I would like to use modules and put my JSPs behind WEB-INF to protect them. When I try this with struts, it rewrites my URL with the module name and causes 404 error

using modules with JSPs behind WEB-INF

2006-05-15 Thread Berk, Jason R.
I'm using struts 1.2.9 which the struts site claims is the "prime time" ready version. I would like to use modules and put my JSPs behind WEB-INF to protect them. When I try this with struts, it rewrites my URL with the module name and causes 404 errors on validation failures.

Re: How to splite the the sturts application into modules

2006-04-20 Thread Ted Husted
On 4/20/06, Vimal Varghese <[EMAIL PROTECTED]> wrote: > Can someone suggest a site for struts modulisation, with a small example. The "Examples" application that is bundled with the Struts 1.2.9 distribution uses modules. Orginally, each module was a separate example applic

How to splite the the sturts application into modules

2006-04-19 Thread Vimal Varghese
Can someone suggest a site for struts modulisation, with a small example.

Modules Problem

2006-03-01 Thread Kalcevich, Daniel
Everyone, I have two modules: / & /app. /app is protected by a Servlet Filter and is used for all actions after you have authenticated yourself. I am having a problem when I try to declare a form in a JSP page that is referenced by an action within the /app module. I am trying to define

Re: modules

2006-02-13 Thread Joe Germuska
At 5:17 PM -0500 2/13/06, [EMAIL PROTECTED] wrote: Can someone explain to me the benefits of using modules? I can see how it will help logically compartmentalize different regions of an application so that developers will have a more manageable view of the project, but does it provide

modules

2006-02-13 Thread [EMAIL PROTECTED]
Can someone explain to me the benefits of using modules? I can see how it will help logically compartmentalize different regions of an application so that developers will have a more manageable view of the project, but does it provide anything a bit more technical

Re: Modules in Struts 1.2.8

2006-02-12 Thread MC Moisei
What did you mean to use module ? What I did was and kindoff worked was to use the switch action. The bad thing is that I have to do this in every module also I had to "import" the form definition too! Any other way would be very much appreciated ! Torgeir Veimo wrote: > On Sat, 2006-02

Re: Modules in Struts 1.2.8

2006-02-11 Thread Torgeir Veimo
On Sat, 2006-02-11 at 22:26 -0600, MC Moisei wrote: > > > When I run actions from default module all works fine but when I call > a > action from profile module I get the annoying > javax.servlet.jsp.JspException: Cannot retrieve mapping for > action /search > at org.apache.struts.taglib.html

Modules in Struts 1.2.8

2006-02-11 Thread MC Moisei
Hi All, I decided to use modules in this application I already have. Setting it up was very simple but I ran into some issues Default module has a /search action defined. The /forgotpassword is in a new module "profile". THe forgot password as well as all the pages in the site is

Re: modules and url

2006-02-03 Thread Raúl Eduardo Plata
3, 2006 3:10 PM To: user@struts.apache.org Subject: modules and url Hi, i am using two modules on my web.xml action org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml config/test /WEB-INF/struts-test.xml But my mapping instead

RE: modules and url

2006-02-03 Thread George.Dinwiddie
> From: Raúl Eduardo Plata [mailto:[EMAIL PROTECTED] > Sent: Friday, February 03, 2006 3:10 PM > To: user@struts.apache.org > Subject: modules and url > > > Hi, i am using two modules on my web.xml > > action > > org.apache.struts.action.ActionServlet

modules and url

2006-02-03 Thread Raúl Eduardo Plata
Hi, i am using two modules on my web.xml action org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml config/test /WEB-INF/struts-test.xml But my mapping instead of use *.do is using /do/* action /do/* How can i call an

Re: problem with forwardPattern and modules

2006-01-30 Thread Hubert Rabago
ich mir nicht so ganz sicher." > Albert Einstein > > > > > > -Original Message- > > From: Hubert Rabago [mailto:[EMAIL PROTECTED] > > Sent: Monday, January 30, 2006 4:25 PM > > To: Struts Users Mailing List > > Subject: Re: problem with for

RE: problem with forwardPattern and modules

2006-01-30 Thread Günther Wieser
s Mailing List > Subject: Re: problem with forwardPattern and modules > > Günther, > > Can you file a Bugzilla issue for this? > > thanks, > Hubert > > On 1/30/06, Günther Wieser <[EMAIL PROTECTED]> wrote: > > hi, > > > > just for future ref

Re: problem with forwardPattern and modules

2006-01-30 Thread Hubert Rabago
nfig.xml sends the servlet > container the URI that is prefixed with the module path, and the container > loads the page/URI from filesystem). > > kr, > guenther > > > > > -Original Message- > > From: Günther Wieser [mailto:[EMAIL PROTECTED] > > Sent:

RE: problem with forwardPattern and modules

2006-01-30 Thread Günther Wieser
[EMAIL PROTECTED] > Sent: Friday, January 27, 2006 2:23 PM > To: 'Struts Users Mailing List' > Subject: problem with forwardPattern and modules > > hi, > > i'm trying to configure the controller using forwardPattern="/$P" pagePattern="/$P"

problem with forwardPattern and modules

2006-01-27 Thread Günther Wieser
hi, i'm trying to configure the controller using so that it looks for jsp pages in the webroot folder, no matter if we are inside a module or not. but whatever i enter in the forwardPattern or pagePattern properties, no changes in the behaviour. went through the source code of 1.2.8, and in Re

RE: Modules

2006-01-10 Thread Garner, Shawn
s Users Mailing List Subject: Modules Hi Is it possible to add struts module using Java code, without adding initial parameters into web.xml ? I need to write application using modules without web.xml modifications. Regards -- Daniel Łaś <[EMAIL PROTECTED]> e-direct Polska sp. z o.o. u

Modules

2006-01-10 Thread Daniel Łaś
Hi Is it possible to add struts module using Java code, without adding initial parameters into web.xml ? I need to write application using modules without web.xml modifications. Regards -- Daniel Łaś <[EMAIL PROTECTED]> e-direct Polska sp. z o.o. ul. 1-go Maja 9 45-068 Opole tel. +48

Re: Tiles , struts modules, form-bean lost

2006-01-04 Thread hicham abassi
Hello again Good news, I finally found the bug. If you use struts modules and you want to use form-bean declared into one struts module to one other, you must redeclare the form-bean header. Finally it's not a Tiles problem but a scoped form-bean problem with struts modules. Thanks. 200

Re: Tiles , struts modules, form-bean lost

2006-01-04 Thread hicham abassi
tion from a struts expert about this strange topic. Thanks 2006/1/4, hicham abassi <[EMAIL PROTECTED]>: > Hello, > > I have 2 struts modules. > One for a list screen : proList > Other for the complete project module : pro > Both hav

Tiles , struts modules, form-bean lost

2006-01-04 Thread hicham abassi
Hello, I have 2 struts modules. One for a list screen : proList Other for the complete project module : pro Both have separated struts config files. Code samples : --- struts module proList --- . - struts

Re: Fwd: Re: Struts ModuleConfig when forwarding between modules

2005-11-16 Thread Adam Hardy
processed. However, if I then forward to a page that's intended to work in > another module, it still finds the module information from the Action's > module in the request attributes. I don't see anything else that calls > selectModule or otherwise sets up the info.

Re: Struts ModuleConfig when forwarding between modules

2005-11-16 Thread Adam Hardy
As Brian Holzer said in his reply (did you see it? It wasn't threaded), the message resources can be managed well with taglibs and declarations in the web.xml if you are using jstl. I won't ask why you have to do what you're doing. Sounds like a nightmare :( Adam Brian Sayatovic/AMIG on 16/11

Fwd: Re: Struts ModuleConfig when forwarding between modules

2005-11-16 Thread Brian Holzer
**DISCLAIMER** This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the named addressee, please notify the sender immediately by e-mail if you have received this e-mai

Fwd: Re: Struts ModuleConfig when forwarding between modules

2005-11-16 Thread Brian Holzer
**DISCLAIMER** This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the named addressee, please notify the sender immediately by e-mail if you have received this e-mai

Re: Struts ModuleConfig when forwarding between modules

2005-11-16 Thread Brian Sayatovic/AMIG
One thing I'm not using, but if I did, I'd be worried about, is resources. Form what I can tell, the message resources for a module are set into a request attribute by the RequestUtil.selectModule() method. But this is only done in an action servlet. So, if I've intended a JSP to rely on resource

Re: Struts ModuleConfig when forwarding between modules

2005-11-16 Thread Adam Hardy
mation from the Action's module in the request attributes. I don't see anything else that calls selectModule or otherwise sets up the info. Is it not recommended to forward to pages built for other modules? If so, what is the work around? I considered action chaining to an action i

Fwd: Struts ModuleConfig when forwarding between modules

2005-11-15 Thread Brian Holzer
**DISCLAIMER** This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the named addressee, please notify the sender immediately by e-mail if you have received this e-mai

Struts ModuleConfig when forwarding between modules

2005-11-14 Thread Brian Sayatovic/AMIG
attributes. I don't see anything else that calls selectModule or otherwise sets up the info. Is it not recommended to forward to pages built for other modules? If so, what is the work around? I considered action chaining to an action in module B, but I've been ridiculed for consideri

Re: forwardPattern and Modules

2005-11-13 Thread Laurie Harper
alec lee wrote: I am using Struts 1.2.4. I have 2 modules and was trying to switch from default to moduleA. In my moduleA, I've used , since my JSP's are inside WEB-INF. In my default module, I have these lines: ... path="/switch.do?prefix=/moduleA&a

forwardPattern and Modules

2005-11-13 Thread alec lee
I am using Struts 1.2.4. I have 2 modules and was trying to switch from default to moduleA. In my moduleA, I've used , since my JSP's are inside WEB-INF. In my default module, I have these lines: ... path="/switch.do?prefix=/moduleA&page=/synForm.do"

Re: Validation Configuration for Multiple Modules

2005-10-13 Thread Adam Hardy
- Original Message - From Adam Hardy <[EMAIL PROTECTED]> Date Wed, 12 Oct 2005 21:02:00 +0100 To Struts Users Mailing List Subject Re: Validation Configuration for Multiple Modules [EMAIL PROTECTED] on 11/10/05 07:20, wrote: I'm using *Struts 1.1* to build an applic

Re: Validation Configuration for Multiple Modules

2005-10-13 Thread tarek . nabil
-- >From Adam Hardy <[EMAIL PROTECTED]> Date Wed, 12 Oct 2005 21:02:00 +0100 To Struts Users Mailing List Subject Re: Validation Configuration for Multiple Modules [EMAIL PROTECTED] on 11/10/05 07:20, wrote: > I'm using *Struts 1.1* to build an application with multiple

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 p

Re: Why I Hate Struts Modules

2005-10-12 Thread Paul Benedict
Frank, I didn't know this. I thought the only way to chunk up the Struts config was to define modules, because only one XML could be specified. well now that I know I can have one (default) module that contain all my configurations, I am chucking the modules. :-) Paul --- "Frank W

Re: Why I Hate Struts Modules

2005-10-12 Thread Hubert Rabago
> You can declare something like a struts-config-common.xml which will > > contain the config items that are common among your modules and then > > include them in your config declarations: > > > > config > > > > /WEB-INF/classes/elms/resource/struts-config-c

Re: Why I Hate Struts Modules

2005-10-12 Thread Don Brown
with. This technique is especially potent with the new "extends" attribute available with Struts 1.3. Don On 10/11/05, David G. Friedman <[EMAIL PROTECTED]> wrote: > > Paul, > > > See, after all these years, I really wanted was to > > split files up. Modules d

Re: Why I Hate Struts Modules

2005-10-12 Thread Adam Hardy
Hubert, does that work for all config items including global exceptions etc, as was discussed earlier? Adam Hubert Rabago on 12/10/05 17:09, wrote: Paul, You can declare something like a struts-config-common.xml which will contain the config items that are common among your modules and

Re: Validation Configuration for Multiple Modules

2005-10-12 Thread Adam Hardy
[EMAIL PROTECTED] on 11/10/05 07:20, wrote: I'm using *Struts 1.1* to build an application with multiple Struts modules. I put my validations for each module in a seperate validations.xml file. For example, I have validations-a.xml for module a and validations-b.xml for module b. I

Re: Why I Hate Struts Modules

2005-10-12 Thread Michael Jouravlev
On 10/11/05, David G. Friedman <[EMAIL PROTECTED]> wrote: > Paul, > > > See, after all these years, I really wanted was to > > split files up. Modules don't gain me anything, do > > they? I know (or I think) when Craig wrote Struts 0.x, > > he had

Re: Why I Hate Struts Modules

2005-10-12 Thread Hubert Rabago
Paul, You can declare something like a struts-config-common.xml which will contain the config items that are common among your modules and then include them in your config declarations: config /WEB-INF/classes/elms/resource/struts-config-common.xml, /WEB-INF/classes/elms/resource/struts

Re: Why I Hate Struts Modules

2005-10-12 Thread Dave Newton
Joe Germuska wrote: I've used modules in the past, but I too found the walls too high; since the only real functionality I wanted was splitting config files, once I realized there are other ways to do that, I stopped using modules. +1 "Checkout" problems aren't a g

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

RE: Is the best way to have multiplestruts-config.xmlandtiles-defs.xml files, modules?

2005-10-12 Thread Nathan Voxland
esday, October 11, 2005 4:45 PM To: user@struts.apache.org Subject: Re: Is the best way to have multiplestruts-config.xmlandtiles-defs.xml files, modules? Oooh. I like that. That works relatively well so far, although it's not picking up on my secondary tiles-defs.xml file. Preston >>> [

Re: Why I Hate Struts Modules

2005-10-12 Thread Joe Germuska
At 8:08 AM -0600 10/12/05, Brian Holzer wrote: Hey Paul or anyone else, Could you elaborate on Paul's Berlin Wall comment. We have just started using modules, but haven't come across anything like this yet. Well, as Paul mentioned, you have to repeat certain things (like global

Re: Why I Hate Struts Modules

2005-10-12 Thread Brian Holzer
Hey Paul or anyone else, Could you elaborate on Paul's Berlin Wall comment. We have just started using modules, but haven't come across anything like this yet. Thanks Brian >>> Paul Benedict <[EMAIL PROTECTED]> 11/10/2005 10:39:44 pm >>> Great subject

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: Why I Hate Struts Modules

2005-10-12 Thread James Mitchell
, at 12:39 AM, Paul Benedict wrote: Great subject line, isn't it? :) OK. I've been doing Struts for like 2-3 years now, and Struts Modules I loved for awhile but now I absolutely can't stand them First off, my initial appeal to modules was to split up the configuration fil

Re: Why I Hate Struts Modules

2005-10-11 Thread Frank W. Zammetti
oblems. I think multiple config files gives you what you want though. http://struts.apache.org/userGuide/configuration.html#dd_config_servlet David G. Friedman wrote: Paul, See, after all these years, I really wanted was to split files up. Modules don't gain me anything, do they? I k

RE: Why I Hate Struts Modules

2005-10-11 Thread David G. Friedman
Paul, > See, after all these years, I really wanted was to > split files up. Modules don't gain me anything, do > they? I know (or I think) when Craig wrote Struts 0.x, > he had an action.xml which did something similar > Now I could create file of just actions and u

Why I Hate Struts Modules

2005-10-11 Thread Paul Benedict
Great subject line, isn't it? :) OK. I've been doing Struts for like 2-3 years now, and Struts Modules I loved for awhile but now I absolutely can't stand them First off, my initial appeal to modules was to split up the configuration files so different developers can work

  1   2   3   >