2010/1/13 Stephen Ince :
> name="jakartax"
> class="org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequestx"
> scope="default"/>
>
Is that class exists
org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequestx ?
Regards
--
Lukasz
Kapituła Javarsovia 2010
http://javarsovi
Hi,
I wish to write a test which tests an interceptor. The goal is writing
an integration test which hits the struts2 2.1.6 application and mocks
out the database DAO (data access object). I'm using JUnit. The
interceptor changes the HTTP Response headers. I am testing that and
indirectly the stru
the build path is considered only by the java compiler, not by your
executing application server. The WEB-INF/lib is the folder the web
apps put required run time dependencies, so that the app server can
found them.
2010/1/13 fireapple :
>
> It solved the problem. Thanks!
>
> I wonder what's the d
well, I meant built in :)
On Wed, Jan 13, 2010 at 2:17 PM, Dale Newfield wrote:
> Musachy Barroso wrote:
>>
>> No way to distinguish, that I know off.
>
> Perhaps simply inserting a custom interceptor between params and
> actionMappingParams/staticParams so you can track which are set before the
Musachy Barroso wrote:
No way to distinguish, that I know off.
Perhaps simply inserting a custom interceptor between params and
actionMappingParams/staticParams so you can track which are set before
the custom interceptor runs and which are set afterwards?
-Dale
---
No way to distinguish, that I know off. But the static params
interceptor has a setting to not merge them.
On Mon, Jan 11, 2010 at 7:54 PM, Jose Luis Martinez Avial
wrote:
> Hi all,
> I'm trying to distinguish the parameters that come from the request
> from those that come from the params defin
It solved the problem. Thanks!
I wonder what's the difference between putting jar in build path and putting
jar in WEB-INF/lib. Appreciate
Gabriel Belingueres-2 wrote:
>
> Seems it is not S2 related. This exception is raised when some
> dependency is not found by the JVM. Note that in addition
Lukasz,
Thx for your replay. I defined the jakartax bean but it is still
not working. Does anyone know how I can further troubleshoot this? I
can not set 'struts.multipart.saveDir' setting either. It's sees my
application include but for some reason the "struts.multipart.parser"
is not being se
Hi all,
I'm trying to distinguish the parameters that come from the request
from those that come from the params defined in the struts.xml. For
example, I have the following mapping in my struts.xml
my resource
/example/Login.jsp
Menu
The
Hi all,
I'm trying to define an action that can be reused in multiple
definitions. They will receive a variable number of parameters from the
mapping definition
value1
value2
value3
value4
/example/Login.jsp
Menu
Hi,
In Struts 1 I was able to extend the class ActionMapping and declare
additional properties for a mapping in the struts-config.xml
by creating the method setPublica in the class MyActionMapping. Is it
possible to do something similar in Struts 2? I've seen that there is a
param eleme
Thanks, that will work.
On Wed, Jan 13, 2010 at 11:21 AM, Lukasz Lenart
wrote:
> 2010/1/13 Greg Lindholm :
>> How do you do this?
>
> ContextListener?
> http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletContextListener.html
>
>
> Regards
> --
> Lukasz
> Kapituła Javarsovia 2010
> http://
2010/1/13 Greg Lindholm :
> How do you do this?
ContextListener?
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletContextListener.html
Regards
--
Lukasz
Kapituła Javarsovia 2010
http://javarsovia.pl
-
To unsubscribe,
I'm working on a new Struts 2 application and wondering where to put
startup and initialization logic?
In previous projects I've always had other servlets that were part of
the applications and would put the logic in the Servlet init() method
but I don't have a servlet this time and there is no "s
solved
I use my own paramsPrepareParamsStack so I have to set in every package the
interceptor although I did set up in the base package.
...
might it be a bug?
do i issue it?
2010/1/13 David Canos
> Hi folks
> after migrating I cannot use paramsPrepareParams interceptorStack because
>
Hi folks
after migrating I cannot use paramsPrepareParams interceptorStack because
params are not being called.
I have checked setting the log to debug
log4j.logger.com.opensymphony.xwork2.interceptor=DEBUG, stdout
having no message so
any idea?
everything would be welcome
thank u :)
--
David
Thanks Gabriel, it is working now!
From: Gabriel Belingueres
To: Struts Users Mailing List
Sent: Tue, January 12, 2010 7:06:59 PM
Subject: Re: [S2] Does global exception mapping work with interceptor?
Is your custom interceptor _before_ the exception intercept
17 matches
Mail list logo