> > "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
> > "http://struts.apache.org/dtds/struts-2.3.dtd";>
> >
> >
> >
> >
> >
> > > class="net.codejava.struts.MyCustomInterceptor&
ware Foundation//DTD Struts Configuration 2.3//EN"
> > > > "http://struts.apache.org/dtds/struts-2.3.dtd";>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > > > > class="net.codejava.struts.MyCustomInterceptor" /&
ware Foundation//DTD Struts Configuration 2.3//EN"
> > > > "http://struts.apache.org/dtds/struts-2.3.dtd";>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > > > > class="net.codejava.struts.MyCustomInterceptor" /&
> > "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
> > "http://struts.apache.org/dtds/struts-2.3.dtd";>
> >
> >
> >
> >
> >
> > > class="net.codejava.struts.MyCustomInterceptor&
//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
> > > "http://struts.apache.org/dtds/struts-2.3.dtd";>
> > >
> > >
> > >
> > >
> > >
> > > > > class="net.codejava.struts.MyCustomInterceptor" />
> > >
> > "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
> > "http://struts.apache.org/dtds/struts-2.3.dtd";>
> >
> >
> >
> >
> >
> > > class="net.codejava.struts.MyCustomInterceptor&
tp://struts.apache.org/dtds/struts-2.3.dtd";>
>
>
>
>
>
> class="net.codejava.struts.MyCustomInterceptor" />
>
>
>
>
>
>
>
Do you have more interceptors in your cu
nart.org.pl/
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
> Hi Lakasz
Below is the struts.xml and LoginAction (for reference). Using default
On 2016-10-30 18:53 (-0400), Martin Gainty wrote:
>
>
>
>
> From: ronald.a.ander...@gmail.com
> Sent: Sunday, October 30, 2016 1:59 PM
> To: user@struts.apache.org
> Subject: convention plugin struts.xml interceptors
>
>
Hi Lakasz
Below is the struts.xml and LoginAction (for reference). Using default for
package name in struts.xml:
http://struts.apache.org/dtds/struts-2.3.dtd";>
package net.codejava.struts;
import com.opensym
y wrote:
>
>
>
>
> From: ronald.a.ander...@gmail.com
> Sent: Sunday, October 30, 2016 1:59 PM
> To: user@struts.apache.org
> Subject: convention plugin struts.xml interceptors
>
> My actions are working fine by following the convention ru
2016-10-30 18:59 GMT+01:00 ronald.a.ander...@gmail.com
:
> My actions are working fine by following the convention rules - no struts.xml
> required; I need to configure a custom interceptor, so struts.xml is
> required. As soon as I add the struts.xml, the following exception is
> returned:
>
>
From: ronald.a.ander...@gmail.com
Sent: Sunday, October 30, 2016 1:59 PM
To: user@struts.apache.org
Subject: convention plugin struts.xml interceptors
My actions are working fine by following the convention rules - no struts.xml
required; I need to configure
My actions are working fine by following the convention rules - no struts.xml
required; I need to configure a custom interceptor, so struts.xml is required.
As soon as I add the struts.xml, the following exception is returned:
Oct 30, 2016 1:54:22 PM org.apache.struts2.dispatcher.Dispatcher erro
eturn method;
}
Antonios
On 7 June 2014 05:57, Alireza Fattahi wrote:
> Thanks!
> A complete code sample at:
>
>
> http://stackoverflow.com/questions/24021534/struts-2-get-custom-action-anotation-in-interceptors
>
>
>
> ~Regards,
> ~~Alireza Fattahi
>
>
&
Thanks!
A complete code sample at:
http://stackoverflow.com/questions/24021534/struts-2-get-custom-action-anotation-in-interceptors
~Regards,
~~Alireza Fattahi
On Wednesday, 4 June 2014, 12:22, Lukasz Lenart wrote:
Take a look on com.opensymphony.xwork2.util.AnnotationUtils
2014-06
Take a look on com.opensymphony.xwork2.util.AnnotationUtils
2014-06-03 19:37 GMT+02:00 Alireza Fattahi :
> Consider below action class with three action mappings. Two of them are
> annotated with a custom annotation `@AjaxAction`
>
> public class MyAction extends ActionSupport{
>
> @Act
Just get the action and check for the annotation.
On Jun 3, 2014 1:41 PM, "Alireza Fattahi"
wrote:
> Consider below action class with three action mappings. Two of them are
> annotated with a custom annotation `@AjaxAction`
>
> public class MyAction extends ActionSupport{
>
> @Action("
Consider below action class with three action mappings. Two of them are
annotated with a custom annotation `@AjaxAction`
public class MyAction extends ActionSupport{
@Action("action1")
@AjaxAction //My custom anotation
public String action1(){
}
It should work as you reference the same instance (interceptors are
instantiated per stack), maybe it is something else?
Maybe try copy paramsPrepareParamsStack and redefine excludeParams?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
2013/10/9 Dmytro Kostiuchenko :
> Hi
Hi all.
I'm new to struts2 and may miss something obvious, indeed need someone
to help me.
I have an application with the following interceptors stack applied by default
...,token
AUTOMATIC
When in dev mode I see
Try something like
HttpSession session = ServletActionContext.getRequest().getSession();
On 27 July 2011 17:10, Eric Lentz wrote:
> In an interceptor I have a need to store a value in the session. I can see
> a session map that I find in the invocation's object graph that is
> available in the i
In an interceptor I have a need to store a value in the session. I can see
a session map that I find in the invocation's object graph that is
available in the interceptor, but storing back to the map has no effect.
Is there a "Struts 2 way" to get/set the session within an interceptor or
do I j
On Friday, December 10, 2010 2:33 PM, Dave Newton wrote:
> if you want to do something before rendered you need to implement
PreResultListener.
I will keep this in mind.
As far as the redirect issue, I just need to rework my actions a bit, I
guess. I appreciate your wealth of knowledge, Dave.
On Fri, Dec 10, 2010 at 2:23 PM, Biesbrock, Kevin wrote:
> Ah. So is the idea that you *could* have logic in an interceptor that
> executes after the action by adding logic after invocation.invoke()?
>
Sure, like closing a Hibernate session, for example.
The caveat (to me, at least) is that the
!
Beez
r 5347
-Original Message-
From: Dave Newton [mailto:davelnew...@gmail.com]
Sent: Friday, December 10, 2010 2:15 PM
To: Struts Users Mailing List
Subject: Re: Struts Interceptors
Interceptors don't "execute in reverse order", they're each a "wrapper"
Interceptors don't "execute in reverse order", they're each a "wrapper"
around the next interceptor's execution, and eventually, the action itself.
If the interceptor is firing twice there's been to requests, which could be
a result of a redirect.
Dave
On
cuted the first time with myObjectId=1. This
is where my understanding becomes a little cloudy. I believe after the
interceptor is executed initially (and the rest of the interceptor stack
is executed), the action is executed, and then the interceptors are
executed in reverse order. This is what ap
This is being posted separate from my other post for search clarity. The
same team that is questioning server vs. client, is asking how these
interceptors are better than simply inhibiting input by the client for the
duration of the submit. Are these interceptors falling off in popularity?
Like
On Wed, Nov 17, 2010 at 8:14 AM, Li Ying wrote:
> I suggest you to do these things in the following way:
This is where I think I messed things up. My identifyAction didn't
have setters/getters for the fields because the verifyAction captured
the results of that input.
Consequently, when I redir
I suggest you to do these things in the following way:
(1)put 2 method in IdentifyAction.
The first [execute] method returns [input],
show the input page to user.
(2)In the Identify-input.jsp,
submit fields to [IdentifyAction] itself, but another method: [verify]
(3)when validation fails, the r
Hi all,
then You have to state it: (pseudo code!)
@Result(name='input', value='identify-success.jsp')
in VerifyAction.
But when it comes to action and result configuration best thing to do is:
http://poulwiel.blogspot.com/2009/09/config-browser-plugin-in-struts2.html
Best greetings,
Paweł Wielgus
Maybe I'm doing something really stupid here.
I have two pages / actions (IdentifyAction -> identify-*.jsp ->
VerifyAction -> verify-*.jsp)
When a user completes the fields on identify-sucess.jsp and submits
the form to VerifyAction.. the validate() method on VerifyAction
fails. I want the user
Why not to name your original page page-input.jsp?
On Tue, Nov 16, 2010 at 10:31 PM, Greg Akins wrote:
> Does that mean that I can't use the Convention plugin if I want the
> Validation Interceptor to behave like I'm expecting?
>
> It seems like the information I've read so far implies that the
When validation fails, intercept returns "INPUT" on behalf of the action.
That is why convention plugin takes you to page-input.jsp
On Nov 16, 2010 9:06 PM, "Greg Akins" wrote:
> I'm trying to get validation working.. should be pretty simple.
>
> It looks like if my validation fails Struts should
I'm trying to get validation working.. should be pretty simple.
It looks like if my validation fails Struts should auto-magically take
me back to the originating jsp. Instead Struts keeps wanting to find
a page-INPUT.jsp to match the INPUT return type.
I'm using the convention plugin and using a
2010/8/18 Stephen Turner :
> I'm looking in struts2-junit-plugin-2.2.1.jar that came as part of
> struts2-2.2.1-all.zip and I see only these classes in the org/apache/struts2
> folder:
>
> StrutsTestCase.class
> StrutsTestCase$1.class
> StrutsSpringTestCase.class
>
> What am I missing?
This class
On Wed, 18 Aug 2010 16:22:37 -0400, Lukasz Lenart
wrote:
2010/8/18 Stephen Turner :
Unit tests for interceptors in Struts 2.2.1
In TokenInterceptorTest I see a reference to
org.apache.struts2.TestConfigurationProvider, but I can't find this
class in
a jar file. I do see the source
2010/8/18 Stephen Turner :
> Unit tests for interceptors in Struts 2.2.1
>
> In TokenInterceptorTest I see a reference to
> org.apache.struts2.TestConfigurationProvider, but I can't find this class in
> a jar file. I do see the source code though.
>
> Which
Unit tests for interceptors in Struts 2.2.1
In TokenInterceptorTest I see a reference to
org.apache.struts2.TestConfigurationProvider, but I can't find this class
in a jar file. I do see the source code though.
Which jar should I be using for TestConfigurationProvider?
Thanks,
The first one is pretty clear :
No result defined for action com.inrev.bm.action.IRCampaignMgmtAction and
result input
You have to check your struts.xml file (or other xml configuration
files for Struts), in the declaration of the action
IRCampaignMgmtAction and add a result with the name "input".
Hi,
I am new to struts2, prior to this I have been using struts1.2, Spring and
Hibernate combination. I have just started using Struts2,Spring and
Hibernate application, but I seem to be plagued with interceptor exceptions,
There are two error which keep happening, all in different scenario
2010/2/9 Saeed Iqbal :
> java.lang.reflect.InvocationTargetException
Maybe you are trying access private or protected methods / fields of
your action.
Regards
--
Łukasz
http://www.lenart.org.pl/
Kapituła Javarsovia 2010
http://javarsovia.pl
-
java.lang.reflect.InvocationTargetException
at
com.google.appengine.runtime.Request.process-df292afe47330d6f(Request.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.De
/2.x/docs/writing-interceptors.html says that
> interceptors are not thread safe, i wanted a deeper understanding on this.
>
> Case:
> 1. Suppose i have 2 action tags each having an interceptor (I) referenced
> in
> it
> 2. 2 action tags with interceptors referenced *twice in eac
hi,
http://struts.apache.org/2.x/docs/writing-interceptors.html says that
interceptors are not thread safe, i wanted a deeper understanding on this.
Case:
1. Suppose i have 2 action tags each having an interceptor (I) referenced in
it
2. 2 action tags with interceptors referenced *twice in each
: Re: I have removed struts-default.xml so why do I get it's
> Interceptors stack??
>
> David Rocks wrote:
> > But i still get all 18 of the defaultStack interceptors being called
> > even though I have created my own stack and called
> > in the struts.xml for the
David Rocks wrote:
But i still get all 18 of the defaultStack interceptors being called
even though I have created my own stack and called
in the struts.xml for the
package, also extends="" is set for the package. My own stack gets
ignored.
Is there something I am doing wrong?
M
Hi,
I wanted to cut down to the minumim interceptors so I removed my references to
struts-default, by setting struts.configuration.files invarious places,
documentation confilcts quite a bit
in struts.xml
struts.configuration.files=struts.xml in struts.properties
and even tried
This is the interceptor declaration in my struts.xml:
org.almayer.web.AlmayerModel
session
Envoyé : mardi 20 janvier 2009 22:10
À : Struts Users Mailing List
Objet : Re: Injecting in Interceptors
2009/1/20 Ignacio de Córdoba :
Anybody has an idea on how can I get info about ServletContext in the init()
method of an interceptor? I'd like to lookup EJBs there and not lookup th
z.len...@googlemail.com]
Envoyé : mardi 20 janvier 2009 22:10
À : Struts Users Mailing List
Objet : Re: Injecting in Interceptors
2009/1/20 Ignacio de Córdoba :
> Anybody has an idea on how can I get info about ServletContext in the init()
> method of an interceptor? I'd like to lookup EJBs there and
p/struts2ejb3/
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
2009/1/20 Ignacio de Córdoba :
> Anybody has an idea on how can I get info about ServletContext in the init()
> method of an interceptor? I'd like to lookup EJBs there and not lookup them
> for every request (I know I can get the info I need from ActionInvocation
> object that every intercept() get
on't need to get JNDI resources on every request--use the lazy
> initialization "pattern" and only get it the first time. Since
> interceptors aren't re-instantiated this should work fine.
>
> Dave
>
>
>
ation "pattern" and only get it the first time. Since
interceptors aren't re-instantiated this should work fine.
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional comm
t()
> method of the interceptor.
>
> Probably this is due to the way it gets the ServletContext. Probably it
> first gets the request or the session, and uses current thread for that. As
> in the init() method there is no Action (remember Interceptors are not
> binded to an action o
uses current thread for that. As
in the init() method there is no Action (remember Interceptors are not
binded to an action or request, but instanciated only once at the web
application deployment) there is no request/response/session, and so I
returns "null". No ServletContext. :-(
Any o
x27;m using Struts 2.1
>
> Thanks for any ideas,
> Ignacio
> --
> View this message in context:
> http://www.nabble.com/Injecting-in-Interceptors-tp21570523p21570523.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> -
nfo I need from ActionInvocation
object that every intercept() gets)
I'm using Struts 2.1
Thanks for any ideas,
Ignacio
--
View this message in context:
http://www.nabble.com/Injecting-in-Interceptors-tp21570523p21570523.html
Sent from the Struts - User mailing list archive at
You may need to perform your post-processing inside a
PreResultListener [1], that is, just before the result is executed.
[1] http://struts.apache.org/2.1.2/docs/preresultlistener.html
2008/8/13, Raghunath <[EMAIL PROTECTED]>:
>
> Hi
> I'm working on struts2 interceptors, wh
Hi
I'm working on struts2 interceptors, which inherits WebWork.
My requirement at one interceptor:
->request--->Bread Interceptor : before invocation.invoke()
->Action
<--response<---Bread Interceptor : after invocation.invoke()
<
Thanks for the idea, I'm going to try it now ;)
2008/6/16 Gamble, Wesley (WG10) <[EMAIL PROTECTED]>:
> Dave is correct, you can configure your interceptors with XML and then
> define @ParentPackage in your annotations to point to the name of your
> Struts package.
>
Dave is correct, you can configure your interceptors with XML and then
define @ParentPackage in your annotations to point to the name of your
Struts package.
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 15, 2008 1:23 PM
To: Struts Users Mailing List
You don't, but this functionality may have been added to S2.1 (don't quote me
on that; I'm woefully behind, but I know it has been discussed.)
One typical solution is to define a package's interceptors via XML then use the
@ParentPackage annotation to configure your action
Uff I wrote it so badly,
Summary:
Does anyone know how to add interceptors to an Action defined with
annotations (without definitiion in an xml file)???
2008/6/15 Ramon <[EMAIL PROTECTED]>:
> Hi,
>
> I'm starting with a little project to test new features in struts
Hi,
I'm starting with a little project to test new features in struts2. I'm
trying both ways (xml configuration and annotations) but I don't know how to
define interceptors for an action which is defined with interceptors. for a
example my action looks like this:
@Results({
Hi all!
I am using a custom interceptor to capture old and new value for an
attribute in my page. This interceptors doBefore method is called before the
params interceptor is called. The doAfter method is called after the action
and the other interceptors are finished.
This new and old values is
krishna chary wrote:
when I use intercepters in Struts.xml in Struts2 application for
validation,I got an
I'm not sure what that means. An example of your configuration would
have been helpful.
Exception starting filter struts
Unable to find interceptor class referenced by ref-name staticP
when I use intercepters in Struts.xml in Struts2 application for
validation,I got an
Exception starting filter struts
Unable to find interceptor class referenced by ref-name staticParams -
interceptor-ref -
file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/CAMPUZZ/WEB-I
uration files.
>
> [1] -
> http://struts.apache.org/2.x/docs/interceptors.html#Interceptors-OrderofInterceptorExecution
>
> Nils-H
>
> On Wed, Apr 16, 2008 at 9:46 PM, Parker Grimes <[EMAIL PROTECTED]> wrote:
> > My interceptor is being called, but it appears that
> > com
cs/interceptors.html#Interceptors-OrderofInterceptorExecution
Nils-H
On Wed, Apr 16, 2008 at 9:46 PM, Parker Grimes <[EMAIL PROTECTED]> wrote:
> My interceptor is being called, but it appears that
> com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor is still
> being ca
My interceptor is being called, but it appears that
com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor is still
being called before my interceptor, despite having my interceptor declared
first in the stack. As you can tell my interceptor is handed the "error"
result rather than catchin
I did some testing locally, and it looks to me like exceptions should
be propagated properly. Are you sure that the exception is not handled
somewhere else? From your logs, it appears that "error" is returned
somewhere along the chain.
Nils-H
On Wed, Apr 16, 2008 at 12:46 AM, Parker Grimes <[EMAI
ch using
either annotations or XML.
Randy
> From: Martin Gainty <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List
> Date: Tue, 15 Apr 2008 17:16:03 -0400
> To: Struts Users Mailing List
> Subject: Re: [S2] Spring: Interceptors, prototype or singleton?
>
> Ye
I am trying to implement a custom exception mapping interceptor to be used
in my struts2 portlet. I implemented my own ExceptionMappingInterceptor
class that is similar to
com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor, the only
difference is that I send an email with the exception
uot;Struts Users Mailing List"
Sent: Tuesday, April 15, 2008 9:51 AM
Subject: Re: [S2] Spring: Interceptors, prototype or singleton?
> Just about every single S2 action I have ever created uses Spring to
inject
> a service object of some sort into the action. I use Spring for
> transac
ery action call and my thinking was that Spring had only
constructor or setter injection and that interceptors were always
singletons, so the injected bean would always be a singleton. Well I just
found in Spring 2.5 they have lookup method injection which can be used to
create a new instance of
That is correct, but should be highly discouraged. If your
interceptor accepted any parameters, multiple configurations would
step on each other, resulting in nondeterministic behavior.
Interceptors should also be of the 'prototype' scope.
Don
On Tue, Apr 15, 2008 at 5:55 AM, Ran
Could you provide a scenario where one bean is injected into another?
Thanks
M-
- Original Message -
From: "Randy Burgess" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, April 14, 2008 3:55 PM
Subject: Re: [S2] Spring: Interceptors, prototyp
.
Regards,
Randy Burgess
Sr. Web Applications Developer
Nuvox Communications
> From: Don Brown <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List
> Date: Tue, 15 Apr 2008 01:12:49 +1000
> To: Struts Users Mailing List
> Subject: Re: [S2] Spring: Interceptors, prototype
endency Injection you will
need an exact match on name, or class-type or constructor
HTH
Martin
- Original Message -
From: "GF" <[EMAIL PROTECTED]>
To: "Struts Users ML"
Sent: Monday, April 14, 2008 8:51 AM
Subject: [S2] Spring: Interceptors, prototype or singleton?
: Struts Users Mailing List
Subject: Re: [S2] Spring: Interceptors, prototype or singleton?
To clarify, interceptors aren't technically singletons as each
instance in an interceptor stack gets its own interceptor instance.
However, for all requests using that stack, the same interceptor will
be
To clarify, interceptors aren't technically singletons as each
instance in an interceptor stack gets its own interceptor instance.
However, for all requests using that stack, the same interceptor will
be used. Therefore, you do need to be careful. For example, most
interceptors take param
Interceptors are Singletons according to the documentation. If it were me I
would come up with another method besides Spring for changing object
properties.
Regards,
Randy Burgess
Sr. Web Applications Developer
Nuvox Communications
> From: GF <[EMAIL PROTECTED]>
> Reply-To:
In a guide I found on the web, the interceptor was defined as singleton in
the Spring's ApplicationContext.
If I need to use "changeable" object properties, I need to have it as
Prototype, otherwise different requests will result in a object property
overwriting.
Is there any issues about defining
Hi all, dear Ralf,
thanks a lot for your answer it was really helpful.
Honestly, I didnt understand the call-stack-principle
behind the interceptors at all. So your hint:
"To understand recursion, you must understand recursion"
was a good one and also this picture:
[1] http://struts.
isplayed (list.jsp) is not invoked.
> I dont understand why, since the interceptor should
> be called as the LAST step as far as I understand the
> doc?! Therefore, there should be no influence of
> the interceptor at the result at all!
Nope. actionInvocation.invoke() calls the next i
Hello,
first of all thanks for all your previous answers. Somehow,
I got the interceptor working for the simplest case, but
honestly I still dont know exactly why. Maybe it was a
caching issue.
Now I have some questions:
I have the "SimpleInterceptor":
>>>
public String intercept(ActionInvocati
On Wed, Mar 26, 2008 at 10:16 PM, Alex Shneyderman
<[EMAIL PROTECTED]> wrote:
> I have a custom interceptor that I define in the root of my profect
> and then I define my custom interceptorStack and define that as
> default interceptor stack.
>
> If any of my actions are running automatically vi
I'd try using the @ParentPackage annotation in your actions first; that seems
to be the workaround for not having appropriate interceptor annotations.
Dave
--- Alex Shneyderman <[EMAIL PROTECTED]> wrote:
> I have a custom interceptor that I define in the root of my profect
> and then I define my
I have a custom interceptor that I define in the root of my profect
and then I define my custom interceptorStack and define that as
default interceptor stack.
If any of my actions are running automatically via Zero-config option
all works well but interceptor does not trigger. If I specify my
acti
Hi all,
I'm trying to use the result annotation in some of my actions.
I've a custom stack of interceptors that are defined in my struts config
file.
This stack of interceptors must be called by every action(including those
that are not in the config file) actions.
I've a st
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Interceptors-with-Ajax-Actions-tp15706322p15729034.ht
Pablo Vázquez Blázquez wrote:
Well... I think it's using s:url "value" attribute instead of "action"
one. Isn't it?
Ah, I see what you mean. Yes, via s:url, or s:form action="a url", or
sx:submit href="a url" (for ajax tags).
The tags include code to generate the URL to an action based on th
Well... I think it's using s:url "value" attribute instead of "action"
one. Isn't it?
Pablo Vázquez Blázquez escribió:
Yes, yes, I know, but my doubt is:
When calling "DoItNow.do" or "DoItNow.xhtml"? Where in my config do I
say that "DoItNow" is having .xhtml extension or .do one? Because, in
Yes, yes, I know, but my doubt is:
When calling "DoItNow.do" or "DoItNow.xhtml"? Where in my config do I
say that "DoItNow" is having .xhtml extension or .do one? Because, in
you do not specify the extension.
Thanks.
Jeromy Evans escribió:
Pablo Vázquez Blázquez wrote:
May I have 2 differe
Pablo Vázquez Blázquez wrote:
May I have 2 different action extensions in the same webapp? Where do
I indicate the extension for each action? Now, I have set name="struts.action.extension" value="do"/> in my struts.xml file, so
.do is the extension for all actions.
Hi Pablo,
That's simply a c
May I have 2 different action extensions in the same webapp? Where do I
indicate the extension for each action? Now, I have set name="struts.action.extension" value="do"/> in my struts.xml file, so
.do is the extension for all actions.
Thanks.
Jeromy Evans escribió:
Pablo Vázquez Blázquez wro
Just a quick thought. Try this but include an empty div in the body.
The "undefined" in IE may be because Dojo is inserting an empty string
into the DOM using innerHTML.
(Dojo extracts the scripts and executes them separate
1 - 100 of 227 matches
Mail list logo