2012/12/10 ChadDavis :
> Before I rewrite agains that API, I thought Id ask for advice. What's the
> best way to add a new xml config file to the runtime configuration?
You would like to upload a new jar/zip with classes, expand it and
somehow reload the whole configuration with newly uploaded xm
Hopefully it solves the OP's problem.
Cheers
Chris
-Original Message-
From: Zoran Avtarovski
To: Struts Users Mailing List ; musom...@aol.com
Sent: Wed, Aug 12, 2009 7:27 pm
Subject: Re: Configuring SiteMesh for specific action mappings in Struts 2?
I apol
gt;
>
> -Original Message-
> From: Zoran Avtarovski
> To: Struts Users Mailing List ; CS Wong
>
> Sent: Tue, Aug 11, 2009 9:49 pm
> Subject: Re: Configuring SiteMesh for specific action mappings in Struts 2?
>
>
>
>
>
>
>
>
&
I think your pattern is on the namespace rather than the action?
C.
-Original Message-
From: Zoran Avtarovski
To: Struts Users Mailing List ; CS Wong
Sent: Tue, Aug 11, 2009 9:49 pm
Subject: Re: Configuring SiteMesh for specific action mappings in Struts 2?
I¹m
t; > /styles/*
>> > /scripts/*
>> > /images/*
>> > /index.html
>> >
>> > ...
>> >
>> >
>> > Regards
>> > Eduard Neuwirt
>> >
>> > CS Wong schrieb:
>> >
>> > Hi,
>>&g
Tue, Aug 11, 2009 1:03 pm
Subject: Re: Configuring SiteMesh for specific action mappings in Struts 2?
If I understand you correctly, you're saying that I should have double
copies of each JSP, say "/decorated/view.jsp" and "/undecorated/view.jsp".
And I should co
action mappings in Struts 2?
If I understand you correctly, you're saying that I should have double
copies of each JSP, say "/decorated/view.jsp" and "/undecorated/view.jsp".
And I should configure the exclusion pattern like
"/undecorated/*".
If poss
---
> From: CS Wong
> To: user@struts.apache.org
> Sent: Tue, Aug 11, 2009 6:10 am
> Subject: Configuring SiteMesh for specific action mappings in Struts 2?
>
>
>
>
>
>
>
>
>
>
> Hi,
> I'm trying to configure sitemesh to only take effect for a certain su
> /styles/*
> /scripts/*
> /images/*
> /index.html
>
> ...
>
>
> Regards
> Eduard Neuwirt
>
> CS Wong schrieb:
>
> Hi,
>> I'm trying to configure sitemesh to only take effect for a certain subset
>> of
>> action mappings in my S
e the actual material
you want to re-use?
Chris
-Original Message-
From: CS Wong
To: user@struts.apache.org
Sent: Tue, Aug 11, 2009 6:10 am
Subject: Configuring SiteMesh for specific action mappings in Struts 2?
Hi,
I'm trying to configure sitemesh to only take ef
Hi Wong,
perhaps would the following entries from decorators.xml help you :
/styles/*
/scripts/*
/images/*
/index.html
...
Regards
Eduard Neuwirt
CS Wong schrieb:
Hi,
I'm trying to configure sitemesh to only take effect for a certain subset of
action mappings in my Str
Hi,
I'm trying to configure sitemesh to only take effect for a certain subset of
action mappings in my Struts 2 application.
Say for example, I have the following struts.xml snippet:
/view/form.jsp
/view/form.jsp
I would like the output of "/showForm.act
I think as I was typing a response I may have discovered the issue. We
had a wildcard catch all for the root namespace which was throwing
things off.
/ftl/{1}.ftl
Once I created a stand alone package com.xm.web.struts2.test.HelloAction
I was able to use both /test/h
Convention configuration just gets mixed with xml configuration, they
should not conflict. What kind of problem are you having?
musachy
On Fri, Apr 3, 2009 at 12:52 PM, Ryan Chichirico wrote:
> We've recently migrated to Struts 2.1.6 and started looking into the
> convention plugin. Since our a
We've recently migrated to Struts 2.1.6 and started looking into the
convention plugin. Since our application is far along the 2.0.x way of
doing things it's difficult to make whole sale changes immediately.
We'd like to start introducing new features with the convention plugin
and slowly ada
In case anyone's interested, I solved the problem by making a small
compromise: that previewing a post (whether a new one or an edited one)
should require the same security authorization as posting one.
>From that point on, I can limit myself to two action mappings: dispatchPost,
editPos
I am a little puzzled as to what my best option is for mapping and naming
actions in the following context.
I have a "posting" form (in JSP) which is used for any of the following:
* Posting a new comment
* Editing an existing comment
* Previewing a new comment
* Previewing a comment while it's be
Karr, David wrote:
"MyStuff_(add|save|load|delete)", that is still more concise than having
Has anyone ever considered this?
I threw this together but don't use it any more:
http://code.google.com/p/struts2urlplugin/
You can plugin a regex matcher (default) or plaintext or others.
Aft
One thing that's always bothered me a bit about using wildcards for
action mappings is that it's somewhat less self-documenting than I'd
like. Although I like being more concise, I'd really rather have an
alternative form that is still concise but still specifies what possibl
---
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Bypassing-action-mappings-tp15490514p15494933.html
Sent from the Struts - Use
--- wkbutler <[EMAIL PROTECTED]> wrote:
> I'm trying to enable the OGNL debug console (using request param
> 'debug=console'), and am receiving the error
>
>There is no Action mapped for namespace /struts and action name
> webconsole
>
> since struts is trying to map the URL. The webconsol
Do I need to
declare a limited interceptor stack?
Thanks for ideas -
Kent
--
View this message in context:
http://www.nabble.com/Bypassing-action-mappings-tp15490514p15490514.html
Sent from the Struts - User mailing list archive at Nabble.com.
---
>
>
> On 10/19/07, Cool Coder wrote:
> >
> > Hi,
> > There is a requirement in my project to make all action mappings case
> > insensitive i.e. login.do is same as Login.do. Somebody suggested me to
> > use custom moduleconfig, something like
> &g
D]> wrote:
On 10/19/07, Cool Coder wrote:
>
> Hi,
> There is a requirement in my project to make all action mappings case
> insensitive i.e. login.do is same as Login.do. Somebody suggested me to
> use custom moduleconfig, something like
>
> class MyModuleConfig e
I think this idea is cool.
On 10/19/07, Cool Coder <[EMAIL PROTECTED]> wrote:
>
> Hi,
> There is a requirement in my project to make all action mappings case
> insensitive i.e. login.do is same as Login.do. Somebody suggested me to
> use custom moduleconfig, somet
Hi,
There is a requirement in my project to make all action mappings case
insensitive i.e. login.do is same as Login.do. Somebody suggested me to use
custom moduleconfig, something like
class MyModuleConfig extends ModuleConfigImpl{
public MyModuleConfig(String prefix) {
super
ns and action mappings with "!"
It appears that this does not work. Is that correct? I have
/employee/employee.action working, but I get a 404 when I try
/employee/employee.action!list.
Norris Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Shelton Consulting, LLC
I
Thank you.
- Original Message
From: Wes Wannemacher <[EMAIL PROTECTED]>
To: Struts Users Mailing List
Sent: Thursday, October 18, 2007 2:23:43 PM
Subject: Re: Annotations and action mappings with "!"
what about /employee!list.action
-W
On 10/18/07, Norris Shelton &
what about /employee!list.action
-W
On 10/18/07, Norris Shelton <[EMAIL PROTECTED]> wrote:
> It appears that this does not work. Is that correct? I have
> /employee/employee.action working, but I get a 404 when I try
> /employee/employee.action!list.
>
>
>
> Norris Shelton
> Software Engineer
It appears that this does not work. Is that correct? I have
/employee/employee.action working, but I get a 404 when I try
/employee/employee.action!list.
Norris Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Shelton Consulting, LLC
ICQ# 26487421
AIM NorrisEShelton
YIM norrisshe
Thanks,
I added
REQUEST
REDIRECT
in my web.xml file for filter-mapping. Which made perfect sense right
after i read it.
Cory D. Wiles wrote:
If you are trying to truly redirect then the below line is your problem. It
is trying to forward not redirect.
""
Use:
<%
String redirectAction = "/my
If you are trying to truly redirect then the below line is your problem. It
is trying to forward not redirect.
""
Use:
<%
String redirectAction = "/myapp/subfolder/welcome.action";
response.sendRedirect(redirectAction);
%>
On 9/19/07, Eugen Stoianovici <[EMAIL PROTECTED]> wrote:
>
> I'm trying
I'm trying to create an index with an action mapped to it for a
subfolder in my webapp. The ideea was to create a index.jsp file that has:
so it redirects me to a mapped action. The problem is that even though
the url is correct, i get a
"The requested resource (/myapp/subfolder/welcome.action
Laurie Harper wrote:
Eugen Stoianovici wrote:
I'm using struts 2.0.9.
Where do i read about action mappings and how to configure them?
In the Struts2 documentation of course ;-) These pointers may help:
http://struts.apache.org/2.x/docs/action-configuration.html
http://struts.apache.or
Eugen Stoianovici wrote:
I'm using struts 2.0.9.
Where do i read about action mappings and how to configure them?
In the Struts2 documentation of course ;-) These pointers may help:
http://struts.apache.org/2.x/docs/action-configuration.html
http://struts.apache.org/2.x/docs/result-types
I'm using struts 2.0.9.
Where do i read about action mappings and how to configure them?
Is there any detailed documentation? Right now i'm doing something like
this...but i don't really know why i need the result name="input" tag
and couldn't fi
web servers or app servers configuration
> to
> send a redirect back for requests to these URLs?
>
> -Original Message-
> From: AntonyJB [mailto:[EMAIL PROTECTED]
> Sent: 02 July 2007 13:57
> To: user@struts.apache.org
> Subject: Over 100 site URLs to redirect
irect: interceptor or action mappings?
Hi,
I searched for similar situations but haven't come across anything - an easy
one I'm sure though.
Issue:
Our site contains a large amount of marketing URLs which redirect to a small
number of actual actions. E.g.:
www.mysite.com/offer1
www.mysite
ot 100% on Struts 2 yet so your assistance is appreciated. I'm going
live very soon with this!
Thanks,
Antony
--
View this message in context:
http://www.nabble.com/Over-100-site-URLs-to-redirect%3A-interceptor-or-action-mappings--tf4012051.html#a11393485
Sent from the Struts - Use
Hello,
I got an exception that my action mappings cannot be located... eg.
namespace /program
action name viewInvoices. - [UNKNOWN LOCATION] ... etc.
so i gave my action an incorrect name eg. (viewInvoice)
and guess what my action was suddenly located, even tough I triple checked
that the
quest}
>>
>> I'd rather not stash this in a session variable if it's available
>> someplace!
>>
>> --
>> Scott
>> [EMAIL PROTECTED]
>>
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
do you mean the request url?
musachy
On 6/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Is there a way to get the current request substituted in an action
mapping?
${currentRequest}
I'd rather not stash this in a session variable if it's available
someplace!
--
Sco
Is there a way to get the current request substituted in an action mapping?
${currentRequest}
I'd rather not stash this in a session variable if it's available someplace!
--
Scott
[EMAIL PROTECTED]
Thanks. That helps. One thing puzzles me, though, as to how others
handle this specifically with regards to Struts. Does this mean that
those that use the session scope simply manage the reset action very
carefully? And how does the reset action not get called in situations
where you want to retain
Please, read this short intro:
http://struts.sourceforge.net/strutsdialogs/#traditionalflow
It advertises Struts Dialogs library (doh), but also explains where
the power of session scope and two-way request processing is.
Also read about JSF and Wicket. Wicket developers use two-phase
request proc
I don't know why (I've been doing struts development for years, but I
guess we've always been very explicit in our struts-config files), but
only recently did I discover that this was the default behavior for form
beans. And I'm trying to figure out, mostly on a higher level, on a
theoretical level
independently
What does the logs say?
Martin-
- Original Message -
From: "Robbie Anonymous" <[EMAIL PROTECTED]>
To:
Sent: Sunday, May 29, 2005 3:01 AM
Subject: Action class defined in action-mappings not being executed -
without 2mb webapp source
Hi,
The Action cla
ous [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 29, 2005 6:52 AM
To: Struts Users Mailing List
Subject: RE: Action class defined in action-mappings not being executed
- without 2mb webapp source
I fixed the dtd to be struts 1.2 as thats the version of my struts.jar
(Struts 1.2.4).
http://stru
lt;[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Subject: RE: Action class defined in action-mappings not being executed -
without 2mb webapp source
Date: Sun, 29 May 2005 03:15:07 -0400
>
> Robbie,
>
> I see you are using Struts v1.1 (your included DTD l
Robbie,
I see you are using Struts v1.1 (your included DTD lists it as such) so are
you using execute() or perform()? What is your Action method's signature?
Regards,
David
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
Hi,
The Action class defined in my action-mappings not being executed.
I know its not being executed as I made the execute window pop up a
swing window on the server
and it did not.
When I click submit on contactUs.jsp, instead of an object
com.devfirm.actions.AddContactUs being instantaniated
false
>
> 3
>
>
>
> jsp
> /views/*
>
>
>
> controller
> /*
>
>
> > -Original Message-
> > From: Allistair Crossley
> > Sent: 06 May 2005 15:1
May 2005 15:11
> To: user@struts.apache.org
> Subject: Infinite loop with action mappings
>
>
> Hi,
>
> I have a catch-all servlet mapping to push all requests to my
> Struts controller in web.xml;
>
>
> controller
> /*
>
>
> I have 2 action m
Hi,
I have a catch-all servlet mapping to push all requests to my Struts controller
in web.xml;
controller
/*
I have 2 action mappings;
When I request http://www.domain.com/view Struts finds the action mapping and
delegates a forward to /views/layout.jsp. However, /views/layout.jsp
At 6:48 AM -0400 4/18/05, Néstor Boscán wrote:
Hi
When I create a struts-config.xml that has many nodes that call the same
action class, is the action class instantietad once, or is instantiated for
every node?. What happens if I have a custom action mapping class, is
instantiated once or is instan
..."
Not sure if this is what you mean, though.
Cheers,
Freddy.
-Mensaje original-
De: Néstor Boscán [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 18 de abril de 2005 12:49
Para: 'Struts Users Mailing List'
Asunto: Actions and Action Mappings instantiated once?
Hi
When I
Hi
When I create a struts-config.xml that has many nodes that call the same
action class, is the action class instantietad once, or is instantiated for
every node?. What happens if I have a custom action mapping class, is
instantiated once or is instantiated for every node?.
Regards,
Néstor Bosc
Thanks everyone for your replies. I didn't know the wildcard matching
feature in action mappings. With this feature and map-backed ActionForms
now I can do more or less what I wanted to do.
Regards,
Diego.
Joe Germuska wrote:
At 12:39 PM +0100 2/21/05, Diego Manilla Suárez wrote:
Hi! I
Or use an action mapping that matches "/*". I use them with
MappingDispatchAction to match "/*/*" where the first is the action
class and the second is the function to call.
Don
On Mon, 21 Feb 2005 22:40:17 -0500, David G. Friedman
<[EMAIL PROTECTED]> wrote:
> Diego,
>
> Here is an idea: You c
Diego,
Here is an idea: You could always set your on-the-fly actions under a
module. Then you could use the unknown="true" attribute to route all
unmatched /module/*.do mappings to your new Action, which handles the lookup
and dynamic dispatching to the appropriate pages/actions, probably via a m
At 12:39 PM +0100 2/21/05, Diego Manilla Suárez wrote:
Hi! I'm trying to add an ActionMapping
definition dinamically (using
ModuleConfig.addActionConfig method), but I get
an IllegalStateException (configuration is
frozen). Is there a way to do what I want?
Well, you haven't really explained wh
It can be done, but I suspect everyone on the list will tell you not to
do it, and for very good reasons.
However, I'm one of those "here's your rope sir, try not to hang
yourself with it" kind of guys, so here's how...
The ModuleConfigImpl has a member "configured". This is what determines
i
Hi! I'm trying to add an ActionMapping definition dinamically (using
ModuleConfig.addActionConfig method), but I get an IllegalStateException
(configuration is frozen). Is there a way to do what I want?
Thanks in advance.
-
To u
63 matches
Mail list logo