Hello Jonathan.
As the other replies have pointed out, your code is using/extending
"import java.nio.file.DirectoryStream.Filter;". That is an import for a file
directory filter, and not a servlet filter.
You will want to replace the old import statement wi
Eyou should use interface Filter in servlet package. Not from nio package
On Tue, May 5, 2020, 22:40 Dave Newton wrote:
> `import java.nio.file.DirectoryStream.Filter` is not a servlet filter.
>
> Dave
>
`import java.nio.file.DirectoryStream.Filter` is not a servlet filter.
Dave
Do you see any errors while you starting Tomcat?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache
Hello,
In order to study/practice using struts 2, I am using a the
struts2-archetype-starter maven archetype.
I've come across a problem trying to add my own filter, and was hoping
someone could point me in the right direction.
I'm using eclipse with maven for my build process,
ollow with its deletion, so that we can ensure such a
mistake does not occur in the future.
On 25/09/19 09:18, Yasser Zamani-2 [via Struts] wrote:
-Original Message-
From: Micael Carreira
Sent: Tuesday, September 24, 2019 1:30 PM
To: user@struts.apache.org
Subject: JSON plu
Facebook icon <https://www.facebook.com/ITClinical> LinkedIn icon
>>> <https://www.linkedin.com/company/itclinical>
>>> The content of this email is confidential and intended for the recipient
>>> specified in message only. It is st
lease reply to this
message and follow with its deletion, so that we can ensure such a
mistake does not occur in the future.
On 25/09/19 09:18, Yasser Zamani-2 [via Struts] wrote:
-Original Message-
From: Micael Carreira
Sent: Tuesday, September 24, 2019 1:30 PM
To: user@struts.apache.org
take, please reply to this
> message and follow with its deletion, so that we can ensure such a
> mistake does not occur in the future.
>
> On 25/09/19 09:18, Yasser Zamani-2 [via Struts] wrote:
>>
>>> -Original Message-
>>> From: Micael Carreira
>>
er Zamani-2 [via Struts] wrote:
-Original Message-
From: Micael Carreira
Sent: Tuesday, September 24, 2019 1:30 PM
To: user@struts.apache.org
Subject: JSON plugin: filter fields in a Map with Lists
Hello,
In MyAction, I have the following instance variable:
Map> result;
And My
>-Original Message-
>From: Micael Carreira
>Sent: Tuesday, September 24, 2019 1:30 PM
>To: user@struts.apache.org
>Subject: JSON plugin: filter fields in a Map with Lists
>
>Hello,
>
>In MyAction, I have the following instance variable:
>
> Map
Hello,
In MyAction, I have the following instance variable:
Map> result;
And MyObject has the following properties:
MyObject
|- interestingProperty
|- notInterestingProperty
I want to return the action result as a JSON. So, in my struts
configuration I have:
2018-02-28 17:55 GMT+01:00 Emi :
> Hello,
>
> There is a topic about Parameter Validation Filter (TrimTextValidationRule,
> FailIfNotCanonicalizedValidationRule, FailIfContainsHTMLValidationRule) for
> servlet (https://www.owasp.org/index.php/Parameter_Validation_Filter).
>
>
Hello,
There is a topic about Parameter Validation Filter
(TrimTextValidationRule, FailIfNotCanonicalizedValidationRule,
FailIfContainsHTMLValidationRule) for servlet
(https://www.owasp.org/index.php/Parameter_Validation_Filter).
I just want to know that struts2.5.14.1 already have these
Sadanala
+91-880 777 9058.
On Thu, Apr 28, 2016 at 10:07 AM, Lukasz Lenart
wrote:
> 2016-04-28 3:59 GMT+02:00 mailinglist rs :
> > Besides using upgrade or disable Dynamic method invocation, can I use
> > Filter or ParameterInteceptors to block request parameters which start
>
2016-04-28 3:59 GMT+02:00 mailinglist rs :
> Besides using upgrade or disable Dynamic method invocation, can I use
> Filter or ParameterInteceptors to block request parameters which start with
> "method:" prefix to prevent S2-032?
> Reference: https://struts.apache.org/docs
Besides using upgrade or disable Dynamic method invocation, can I use
Filter or ParameterInteceptors to block request parameters which start with
"method:" prefix to prevent S2-032?
Reference: https://struts.apache.org/docs/s2-032.html
Thanks for this information, very interesting - seems like we're not
alone with FiterDispatcher :)
- René
Am 15.08.12 00:45, schrieb Joseph Mocker:
> FWIW, JAX-RS/Jersey provides both a Filter and a Servlet option as a
> controller, however the Servlet came first.
>
>
FWIW, JAX-RS/Jersey provides both a Filter and a Servlet option as a
controller, however the Servlet came first.
http://java.net/jira/browse/JERSEY-122
Note the bug mentions Wicket also uses a Filter. The bug also provides an
interesting reason for the use of a filter
to
I just
> wanted to reflect the opinion for some spectrum of struts user community
> though may be small in numbers.
>
>
> - Original Message -
> From: Rene Gielen
> To: Struts Users Mailing List
> Cc:
> Sent: Tuesday, August 14, 2012 12:10:56 PM
> Subject: Re:
Cc:
Sent: Tuesday, August 14, 2012 12:10:56 PM
Subject: Re: Benefits of using Filter as front controller
So far I fail to see where Struts 2 deviates from or violates the spec.
The fact that _usually_ a front controller - a concept not to be found
at all in the servlet spec - is implemen
On Tue, Aug 14, 2012 at 12:10 PM, Rene Gielen wrote:
> So far I fail to see where Struts 2 deviates from or violates the spec.
>
Agreed; I've now read the relevant sections of older and new specs, and
AFAICT it does not explicitly disallow serving resources.
Further, it is arguable that the phra
ood chance that _some_ of them
share a common product line name, starting with "W" :) And well, going
through hell when deploying apps to WAS* is something I suffered from
myself many times, with various different frameworks and technology
stacks in use.
I'll try to wrap up my points:
2:05:45 PM
Subject: Re: Benefits of using Filter as front controller
Rene
Thanks for such a detailed explanation and descrbing each and every aspects
Now even I can say and explains things in much more and good way
Sent from BlackBerry® on Airtel
-Original Message-
From: Rene Gielen
Dat
: "Struts Users Mailing List"
Subject: Re: Benefits of using Filter as front controller
Grabbed me a copy of Servlet Spec 2.4:
SRV.6.1 What is a filter?
A filter is a reusable piece of code that can transform the content of
HTTP requests, responses, and header information. Filters do not
Grabbed me a copy of Servlet Spec 2.4:
SRV.6.1 What is a filter?
A filter is a reusable piece of code that can transform the content of
HTTP requests, responses, and header information. Filters do not
generally create a response or respond to a request as servlets do,
rather they modify or adapt
et/package-summary.html
Paul
On Mon, Aug 13, 2012 at 8:53 AM, wrote:
> Yes this was one of the point I was thinking
> Same question was today asked on SO and this lead me to reaseach as what
> advantages and reasons was there to use filter as controller
> Sent from BlackBerry® on Airtel
>
Yes this was one of the point I was thinking
Same question was today asked on SO and this lead me to reaseach as what
advantages and reasons was there to use filter as controller
Sent from BlackBerry® on Airtel
-Original Message-
From: Dave Newton
Date: Mon, 13 Aug 2012 09:49:43
To
2 violates the Servlet
> Spec is a grand stretch of the imagination.
>
> http://stackoverflow.com/questions/2957165/servlet-vs-filter
>
> Struts has a filter gives greater control over the kind of dispatching
> needed. You can then intercept processing not just web requests, but
> f
With all due respect, I think saying Struts 2 violates the Servlet
Spec is a grand stretch of the imagination.
http://stackoverflow.com/questions/2957165/servlet-vs-filter
Struts has a filter gives greater control over the kind of dispatching
needed. You can then intercept processing not just
légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Date: Mon, 13 Aug 2012 11:30:05 +0530
> Subject: Benefits of using Filter as front controller
> From: umeshawas...@gma
Thanks for your help! I found a struts jar in my tomcat\lib folder
Dave Newton gmail.com> writes:
>
> The error message says it all, you need to remove the struts/etc. libs you
> put in the tomcat lib directory and deploy only the application's copies.
>
> Dave
> log4j-1.2.14.jar
>
>
> Here is log information:
>
> Mar 1, 2012 9:12:46 PM
> org.apache.catalina.core.StandardContext filterStart
> SEVERE: Exception starting filter struts2
> Unable to load configuration.
> - bean - jar:file:/C:/apache-tomcat-7.0.26/webapps/
> Ba
Here is log information:
Mar 1, 2012 9:12:46 PM
org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter struts2
Unable to load configuration.
- bean - jar:file:/C:/apache-tomcat-7.0.26/webapps/
Basic_Struts2_Ant/WEB-INF/lib/struts2-core-2.3.1.2.jar!
/struts
What's in the startup log? Have you turned on devMode? Logging at debug
level?
IMO doing this via Ant will end up being a pain. IIRC there was done other
issue with this particular project, too, although I'd have to dig to try to
recall.
Dave
(pardon brevity and typos, on cell)
On Mar 1, 2012 10
I downloaded from google code Basic_Struts2_Ant
and modified web.xml, added
struts.xml and index.jsp along with log4j
stuff according to instructions on
struts website for this example.
The app does not work on tomcat 7.0
I built with ant and deployed on tomcat
jars I am using
commons-fileu
We may need to know slightly more in order to help...
Dave
(pardon brevity and typos, on cell)
On Mar 1, 2012 10:25 PM, "jay" wrote:
> I have created simple struts 2 app with latest struts2 jar files.
>
>
>
> -
> To unsubscribe
I have created simple struts 2 app with latest struts2 jar files.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Is there any particular reason for not using an interceptor? Is the perfect
place to do such processing.
--Mensaje original--
De: mohan rao
Para: user@struts.apache.org
Responder a: Struts Users Mailing List
Asunto: How do i redirect to another action in filter?
Enviado: 16 Sep, 2011 11
Hi,
As per my requirement i'm overriding prepareandexecture filter. I'm
restricting the user from un accessable actions he might be book marked it
before. I don't want to this in interceptor. I want to decide it on filter
itself because i can reduce some processin
On Apr 26, 2011 10:40 AM, "alex zaim" wrote:
> Thank you, can you please show me what line indicates that the error is
specific to the server but not struts?
> Caused by: java.lang.ClassNotFoundException: org.hibernate.Session
Dave
: Exception starting filter struts2
To: "Struts Users Mailing List"
Date: Tuesday, April 26, 2011, 10:04 AM
Just because ant or an ide sees a class doesn't mean the web server does
when you're deploying or starting up.
Almost certainly a classpath issue with the server, almost certai
wrote:
> Hello. I'm trying to make a simple hibernate setup, but i encounter an
error when i start the server (Apache).
>
> Apr 26, 2011 3:20:18 PM org.apache.catalina.core.StandardContext
filterStart
> SEVERE: Exception starting filter struts2
> java.lang.NoClassDefFo
Hello. I'm trying to make a simple hibernate setup, but i encounter an error
when i start the server (Apache).
Apr 26, 2011 3:20:18 PM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter struts2
java.lang.NoClassDefFoundError: org/hibernate/Session
OS: Windows 7
Tomcat: 6.0.26
Struts 2.1.8.1
Java 1.6.0_20
Same software versions of all software on both my OS X machine and my Win7
machine, but when I try to start my Tomcat instance (in Eclipse) in Win7, I
get the following exception:
java.lang.ClassCastException:
org.apache.struts2.dispatcher.
Thank you Lenart, Its working after making the change you said.
On 3 April 2010 14:05, Lukasz Lenart wrote:
> 2010/4/2 sandeep kotha :
> > In-spite of having *struts2-core-2.1.8.1.jar *under
> > /WebContent/WEB-INF/lib/struts-2.1.8.1/ . im getting the below error .
>
> Is that /WEB-INF/lib/strut
2010/4/2 sandeep kotha :
> In-spite of having *struts2-core-2.1.8.1.jar *under
> /WebContent/WEB-INF/lib/struts-2.1.8.1/ . im getting the below error .
Is that /WEB-INF/lib/struts-2.1.8.1/ a directory ???
^
If so, your jars cannot be found, move them to
In-spite of having *struts2-core-2.1.8.1.jar *under
/WebContent/WEB-INF/lib/struts-2.1.8.1/ . im getting the below error .
Exception starting filter struts2
*java.lang.ClassNotFoundException*:
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
*
my web.xml*
http
t;> following two stack traces.
>> The NoClassDefFoundError seems strange to me, because the two jars
>> struts2-core.jar and backpost-util-concurrent.jar (for retrotranslation
>> of struts2) contain the classes correctly.
>> Maybe something related with weblogic?
>
thanks, that addressed my problem directly. although, i liked the no
action extension approach.
is there a feature request to pass in init-params to the struts filter
to exclude certain url patterns?
On Sun, Jan 31, 2010 at 6:56 PM, Greg Lindholm wrote:
> Check out the "Filter Mapping,
Check out the "Filter Mapping, default Action extensions, and
Servlets" section on this wiki page:
http://cwiki.apache.org/confluence/display/S2WIKI/Troubleshooting+guide+migrating+from+Struts+2.0.x+to+2.1.x#TroubleshootingguidemigratingfromStruts2.0.xto2.1.x-Fil
i am using servlets (HttpServlet) and struts 2. my mapping in web.xml
for the struts filter maps to the url pattern, /*. my servlet maps to
something like this, /test. however, when i try to access my servlet,
http://localhost:8080/myapp/test, i get the following message:
"There is no A
-Message d'origine-
De : Lukasz Lenart [mailto:lukasz.len...@googlemail.com]
Envoyé : lundi 9 novembre 2009 20:53
À : Struts Users Mailing List
Objet : Re: [Struts 2.1.8] Filter init parameter "actionPackages" fails on
JBoss5.1.0: workaround ?
2009/11/9 Fernandes Celinio :
> Any id
2009/11/9 Fernandes Celinio :
> Any idea ? Thanks
Dozen! First of all - remove all jars from server/default/lib - you
shouldn't mix your jars between apps. As I remember only jdbc drivers
should be shared. As you can see, you have duplicated ognl.jar and
freemarker.jar.
Put only those files in ap
p.com]
Envoyé : lundi 9 novembre 2009 13:38
À : Struts Users Mailing List
Objet : RE: [Struts 2.1.8] Filter init parameter "actionPackages" fails on
JBoss5.1.0: workaround ?
web.xml full content :
http://www.w3.org/2001/XMLSchema-instance";
xmlns=
1ÿ557ÿ320 xwork-core-2.1.6.jar
Any idea ? Thanks
-Message d'origine-
De : Lukasz Lenart [mailto:lukasz.len...@googlemail.com]
Envoyé : lundi 9 novembre 2009 13:29
À : Struts Users Mailing List
Objet : Re: [Struts 2.1.8] Filter init parameter "actionPackages" fails on
JBoss5
2009/11/9 Fernandes Celinio :
> It still does not work. It is still looking for that actionPackages
> parameter. And if i add it, I get an error
> related to the path.
Strange, you have something messed up with a configuration. Could you
list what kind of jars do you have in WEB-INF/lib folder? T
3:15
À : Struts Users Mailing List
Objet : Re: [Struts 2.1.8] Filter init parameter "actionPackages" fails on
JBoss5.1.0: workaround ?
2009/11/9 Fernandes Celinio :
> Is that latest filter implementation part of the Struts 2.1.8 distribution ?
Sorry, tiny mistake,
2009/11/9 Fernandes Celinio :
> Is that latest filter implementation part of the Struts 2.1.8 distribution ?
Sorry, tiny mistake, should be
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
Regards
--
Lukasz
http://www.lenart.org
java.lang.ClassNotFoundException:
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
Is that latest filter implementation part of the Struts 2.1.8
xception: No
> mapping found for dependency [type=java.lang.String, name='actionPackages']
> in public void
> org.apache.struts2.config.ClasspathPackageProvider.setActionPackages(java.lang.String).
Used latest filter implementation:
org.apache.struts2.dispatcher.filter.StrutsPr
? You also removed it from the web.xml file ?
Thanks.
-Message d'origine-
De : Lukasz Lenart [mailto:lukasz.len...@googlemail.com]
Envoyé : lundi 9 novembre 2009 12:25
À : Struts Users Mailing List
Objet : Re: [Struts 2.1.8] Filter init parameter "actionPackages" fails o
2009/11/9 Fernandes Celinio :
> However I am using JBOSS 5.1.0 GA JDK 6, not Jboss 5.0.1 GA.
I downloaded and checked also with 5.1 - no problems spotted
> Anyays, I added a constant in struts.xml :
> />
You have to define it like this:
Regards
--
Lukasz
http://www.lenart.org.pl/
try deploying with the exploded EAR and WAR
files, to resolve that Path problem.
Any suggestion ?
-Message d'origine-
De : Lukasz Lenart [mailto:lukasz.len...@googlemail.com]
Envoyé : lundi 9 novembre 2009 08:39
À : Struts Users Mailing List
Objet : Re: [Struts 2.1.8] Filter
2009/11/8 Celinio Fernandes :
> I am facing the same problem as described in this JIRA issue :
> http://issues.apache.org/struts/browse/WW-2948
I tested that with JBoss 5.0.1 GA and I used example application based
on new struts2-archetype-convention archetype. I didn't spot any
problems.
> If i
Can someone provide a patch for it asap ?
http://jira.opensymphony.com/browse/XW-678
JBoss 5.1.0 GA users are stuck without it.
Thanks in advance.
From: Celinio Fernandes
Subject: [Struts 2.1.8] Filter init parameter "actionPackages" fails on
JBoss5.1.0: workaround ?
To: &qu
Hi,
this is my configuration :
Struts 2.1.8
JBoss AS 5.1.0 GA jdk6
I am facing the same problem as described in this JIRA issue :
http://issues.apache.org/struts/browse/WW-2948
I am stuck on this, can anyone suggest a work around ?
This is the part in web.xml that causes the trouble :
I'm having a persistent problem deploying my project to my tomcat 6 server in
which the struts filter generates a null pointer exception. What confuses me is
that I do not have this problem running the system under Eclipse, but only when
I deploy it to my standalone Tomcat instance.
erver/jsp container and not processed by Struts2
(it could even be moved out of the web server/jsp container).
santos.
On Mon, Nov 2, 2009 at 5:08 PM, James Cook wrote:
> Yes, this is what I do also, I have an app with a webservice so needed
> it to not get caught in the Struts filter. It
Hi
I am using Struts 2 together with jfreechart and displaytag, to get this
working I could not use /* , to get it working I have to modify the mapping
to use
responseOverrideFilter
*.action
responseOverrideFilter
*.jsp
Best regards
Arne Johnsson
Yes, this is what I do also, I have an app with a webservice so needed
it to not get caught in the Struts filter. It is a shame however, as I
would like to have kept the URLs neat without the action on the end. But
as they say, don't get caught up in what the URL says.
-Original Me
I have a number of servlets in the same web app so to make it work I have
restrict the filter mapping as follows.
struts2
*.action
struts2
/struts/*
The first one catches all requests with .action extensions which is what I
use.
The second
Hi all,
I am trying to develop a struts2 app, and I am struggling to find a
reference that explains the thinking and/or best practice behind the
url-pattern in web.xml.
Google uncovers hundreds of articles showing the url-pattern being
specified as follows:
struts2
Here is my request filter code:
public class MyFilter implements Filter {
private FilterConfig filterConfig = null;
public void init(FilterConfig filterConfig)
throws ServletException {
this.filterConfig = filterConfig;
}
public void destroy
What REQUEST FILTER is this you are talking about?
On Sat, Oct 10, 2009 at 10:15 PM, Pancham wrote:
> request filter
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
-
To unsubscribe, e-mail:
This does NOT work. When an action is invoked using "s:action" in JSP, even
if dispatcher is set as below, the request filter is being invoked.
Is there any work-around?
Thanks.
Musachy Barroso wrote:
>
> Use the "dispatcher" element in the "filter-mapp
Use the "dispatcher" element in the "filter-mapping" element in web.xml, like:
MyFilter
/*
REQUEST
On Fri, Oct 9, 2009 at 10:16 AM, Pancham wrote:
>
> I have a request filter that needs to be executed only once during processing
>
I have a request filter that needs to be executed only once during processing
of a request. Unfortunately, whenever another action is included within the
same request using "action" tag, my request filter is invoked.
How can I prevent invocation of request filter when an action is incl
Dummy servlet should do it (as mentioned by WES), I know this in case of WAS
where you are going to create plugin-xml file for your HTTP server. Without a
dummy servlet mapped to *.action or *.do, Http server would fail to route any
request that is mapped to *.action or *.do in the filter
10/7/09, Arthur Neves wrote:
>
>> From: Arthur Neves
>> Subject: Re: Servlet filter as front controller
>> To: "Struts Users Mailing List"
>> Received: Wednesday, October 7, 2009, 11:57 PM
>> With the filter struts2 can intercept
>> all request.
>&
appservers that follow the spec and you have to resort to all sort of
hacks to get around it.
--- On Wed, 10/7/09, Arthur Neves wrote:
> From: Arthur Neves
> Subject: Re: Servlet filter as front controller
> To: "Struts Users Mailing List"
> Received: Wednesday, October 7, 200
With the filter struts2 can intercept all request.
I think it's more difficult to do thinks like, the namespace struct with a
servlet,i dont have sure though.
On Wed, Oct 7, 2009 at 2:58 PM, Unmesh joshi wrote:
>
> Hi,Struts2 uses servlet filter
> org.
Hi,Struts2 uses servlet filter
org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter as front
controller, rather than having a servlet act as front controller. Is there any
specific advantage of using servlet filter over servlet (as in struts 1.1)?
Thanks,Unmesh
My mistake ...
I should have had Spring security filter before struts2 and not the other
way.
zsundeep wrote:
>
> I am able to upload files in struts2 (2.1.6) only when I remove the spring
> security filter in web.xml. When I use the spring security filter, I get a
> null ob
I am able to upload files in struts2 (2.1.6) only when I remove the spring
security filter in web.xml. When I use the spring security filter, I get a
null object in File inside action class. That is the line
"testFile.length()" in sample code provided below, throws null-pointer
except
rom: Peter Phillips
Reply-to: "Struts Users Mailing List"
To: Struts Users Mailing List
Subject: Re: struts2 filter-mapping url-pattern
Date: Wed, 2 Sep 2009 06:57:02 +0100
Using *.action and /struts/* works fine for our projects. I wanted to
do that since I wanted to map *.do to a str
>> From: Peter Phillips
>> Reply-to: "Struts Users Mailing List"
>> To: Struts Users Mailing List
>> Subject: Re: struts2 filter-mapping url-pattern
>> Date: Wed, 2 Sep 2009 06:57:02 +0100
>>
>> Using *.action and /struts/* works fine for our pr
Rusty Wright wrote:
This struts newbie would like to know, what's the /struts/* mapping for?
The static files S2 serves (CSS, JS).
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-
ng List
Subject: Re: struts2 filter-mapping url-pattern
Date: Wed, 2 Sep 2009 06:57:02 +0100
Using *.action and /struts/* works fine for our projects. I wanted to
do that since I wanted to map *.do to a struts 1 filter.
Peter.
2009/9/2 Wes Wannemacher :
One thing I've been itching to try
*.action works fine for me too.
-Original Message-
From: Peter Phillips
Reply-to: "Struts Users Mailing List"
To: Struts Users Mailing List
Subject: Re: struts2 filter-mapping url-pattern
Date: Wed, 2 Sep 2009 06:57:02 +0100
Using *.action and /struts/* works fine for our pr
Using *.action and /struts/* works fine for our projects. I wanted to
do that since I wanted to map *.do to a struts 1 filter.
Peter.
2009/9/2 Wes Wannemacher :
> One thing I've been itching to try is to map to *.action and /struts/*
>
> Those are pretty much the two things you
;re having a problem, it might be
more interesting to address the problem than to try to get rid of the filter.
-Wes
On Tuesday 01 September 2009 07:30:59 pm Arthur Neves wrote:
> I think It' s impossible to do, because all of request's must pass to the
> filter! If I'
I think It' s impossible to do, because all of request's must pass to the
filter! If I'd been wrong, please, somebody correct me!
2009/9/1 Rusty Wright
> In the web.xml why is the filter-mapping url-pattern /* ? Would it work to
> change it to *.action instead?
>
> F
In the web.xml why is the filter-mapping url-pattern /* ? Would it work to
change it to *.action instead?
For some reason, I can't get jetty to serve my welcome-file index.jsp file and
if I change the url-pattern to *.action then it starts wo
laredotornado wrote:
I do want to validate requests submitted to "pcFlow.do" (the action). I
thought interceptors were the way to do it. My interceptor class is called
"AccountsInterceptor". What is the proper way? All the tutorials suggest
you have to create a custom interceptor stack.
See
i,
>>
>> I'm trying to migrate my app from struts 1 to struts 2. On a particular
>> JSP
>> page, I get this error
>>
>> The page generated an error: Exception:
>> The Struts dispatcher cannot be found. This is usually caused by using
>> St
gt;
> Hi,
>
> I'm trying to migrate my app from struts 1 to struts 2. On a particular JSP
> page, I get this error
>
> The page generated an error: Exception:
> The Struts dispatcher cannot be found. This is usually caused by using
> Struts tags without the associated fil
Hi,
I'm trying to migrate my app from struts 1 to struts 2. On a particular JSP
page, I get this error
The page generated an error: Exception:
The Struts dispatcher cannot be found. This is usually caused by using
Struts tags without the associated filter. Struts tags are only usable whe
Read the section on the config file elements in struts.xml on the
Struts2 docs site. Also read the Interceptors guide[1].
You have to specify the interceptor stack on the action. You can use
the element to specify what stack to use by
default.
And what you've defined is not an intercepto
Big problem folks.
i already have an interceptor form the ejb.
so i need to use both of these interceptors.
i've to update the DEFAULT PACKAGE in this way:
i can't simply a
1 - 100 of 405 matches
Mail list logo