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
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
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
@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
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
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
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
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?
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]
>
--
How can I make a Struts Project with multiple modules?
--
warmest regards,
Ryan Webb - Philippines
email: [EMAIL PROTECTED]
-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
-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 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
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/
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
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
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
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
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.
>
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
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
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
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
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?)
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
Can someone suggest a site for struts modulisation, with a small example.
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
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
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
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
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
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
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
> 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
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
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
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
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:
[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"
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
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
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
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
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
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
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.
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
**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
**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
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
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
**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
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
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
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"
- 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
--
>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
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
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
> 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
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
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
[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
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
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
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
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
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
>>> [
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
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
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
, 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
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
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
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 - 100 of 226 matches
Mail list logo