Re: Does the StrutsTestCase test filters defined in web.xml?

2012-05-15 Thread J. Garcia
o I'll look into this further. > > Cheers, > > Miguel Almeida > > > Cheers, > > > > Steve > > > > -Original Message- > > From: Miguel Almeida [mailto:mig...@almeida.at] > > Sent: 14 May 2012 10:16 > > To: user@struts.apache.org

Re: Does the StrutsTestCase test filters defined in web.xml?

2012-05-14 Thread Łukasz Lenart
You can try to use Jetty as an embedded server, take a look on BasePortletTest in Portlet Plugin Regards -- Łukasz http://www.lenart.org.pl/ mobile +48 606 323 122, office +27 11 0838747 Warszawa JUG conference - Confitura http://confitura.pl/ ---

RE: Does the StrutsTestCase test filters defined in web.xml?

2012-05-14 Thread Miguel Almeida
> Cheers, > > Steve > > -Original Message- > From: Miguel Almeida [mailto:mig...@almeida.at] > Sent: 14 May 2012 10:16 > To: user@struts.apache.org > Subject: Does the StrutsTestCase test filters defined in web.xml? > > Dear all, > > I am using StrutsSp

RE: Does the StrutsTestCase test filters defined in web.xml?

2012-05-14 Thread Steve Higham
el Almeida [mailto:mig...@almeida.at] Sent: 14 May 2012 10:16 To: user@struts.apache.org Subject: Does the StrutsTestCase test filters defined in web.xml? Dear all, I am using StrutsSpringTestCase (which extends StrutsTestCase) to perform some acceptance tests (under the skin). I am also using

Does the StrutsTestCase test filters defined in web.xml?

2012-05-14 Thread Miguel Almeida
StrutsSpringTestCase test with a breakpoint on that filter it does not stop there, so my questions are: 1) Does the StrutsTestCase not pass through other filters in your web.xml, and only goes through the struts filter? 2) If so, is there anything else in the struts tests that could help me out? How do you

Re: Order of filters when using Sitemesh

2012-01-22 Thread Chris Mawata
Thanks, Lukasz. That clears up my confusion. On 1/22/2012 6:52 AM, Łukasz Lenart wrote: Check section, not declaration ofs itself Regards - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands

Re: Order of filters when using Sitemesh

2012-01-22 Thread Łukasz Lenart
Check section, not declaration of s itself Regards -- Łukasz 2012/1/22 Chris Mawata : > I noticed in the final example on the page > http://struts.apache.org/2.3.1.1/docs/sitemesh-plugin.html > that the order of configuration in web.xml there is StrutsPrepareFilter then > StrutsExecuteFilter a

Order of filters when using Sitemesh

2012-01-22 Thread Chris Mawata
I noticed in the final example on the page http://struts.apache.org/2.3.1.1/docs/sitemesh-plugin.html that the order of configuration in web.xml there is StrutsPrepareFilter then StrutsExecuteFilter and then SiteMeshFilter. It used to be important to have Sitemesh between Prepare and Execute. Is

Re: Character Encoding Error using new filters

2010-10-20 Thread Zoran Avtarovski
ssage sert à l'information seulement et n'aura >pas n'importe quel effet légalement obligatoire. Étant donné que les email >peuvent facilement être sujets à la manipulation, nous ne pouvons accepter >aucune responsabilité pour le contenu fourni. >> >> >> >>

Re: RE: Character Encoding Error using new filters

2010-10-18 Thread Dave Newton
ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > > >

RE: Character Encoding Error using new filters

2010-10-18 Thread Martin Gainty
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Mon, 18 Oct 2010 12:05:56 +1100 > Subject: Character Encoding Error using new filters > From: zo...@sparecreative.com > To: user@struts.apache.org > > I have a

Re: Character Encoding Error using new filters

2010-10-17 Thread Li Ying
r > applied to request, so the encoding set by this filter will > be used. > > But in your new configuration, [StrutsPrepareFilter] is the first > filter applied to request, so the encoding set by this filter > could be overridden by other filters later. > In your case, it cou

Re: Character Encoding Error using new filters

2010-10-17 Thread Li Ying
] is the last filter applied to request, so the encoding set by this filter will be used. But in your new configuration, [StrutsPrepareFilter] is the first filter applied to request, so the encoding set by this filter could be overridden by other filters later. In your case, it could be overridden

Character Encoding Error using new filters

2010-10-17 Thread Zoran Avtarovski
I have a really strange character encoding error that is appearing when I attempt to change my struts2 filter configuration from: struts-cleanup org.apache.struts2.dispatcher.ActionContextCleanUp struts org.apache.struts2.dispatcher.FilterDispatcher

Re: [s1] Filters: distinguishing between user-requests and redirects

2007-03-14 Thread Pierre Thibaudeau
of parameters in the URI.) This might not be the most robust solution (our design could hypothetically change in the future). But, for the moment, it would do the job! But since I asked my question (which was about FloodControl through servlet Filters), I have had second thoughts. Wouldn'

Re: [s1] Filters: distinguishing between user-requests and redirects

2007-03-13 Thread Michael Jouravlev
On 3/13/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: Pierre, > I am trying to implement a flood control mechanism to prevent robots > requesting pages after pages at an "inhuman" rate. I know you've gotten lots of feedback already, but there's a super-simple way to do this: put a marker i

Re: [s1] Filters: distinguishing between user-requests and redirects

2007-03-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pierre, > I am trying to implement a flood control mechanism to prevent robots > requesting pages after pages at an "inhuman" rate. I know you've gotten lots of feedback already, but there's a super-simple way to do this: put a marker in the request

Re: [s1] Filters: distinguishing between user-requests and redirects

2007-03-13 Thread Tamas Szabo
nt time with the >> time >> > of >> > > the 10th previous request. If not enough time went by, redirect to a >> > "delay >> > > page" that requires the user to press a "Continue" button. Pipe >> the new >> > > requ

Re: [s1] Filters: distinguishing between user-requests and redirects

2007-03-12 Thread Paul Benedict
tinue" button. Pipe the new > > request and its time, and pipe out the 10th previous request. > > > > The problem with that design: in some cases, one single request from > the > > user will go through the filters several times because of various > pos

Re: [s1] Filters: distinguishing between user-requests and redirects

2007-03-12 Thread Pierre Thibaudeau
2007/3/13, Tamas Szabo <[EMAIL PROTECTED]>: Have a look at the documentation of the "dispatcherType" at http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd. Thank you, I'll take a look. I pressume that by "internal redirects" in your initial mail you mean forwards. Is this true? Sometimes f

Re: [s1] Filters: distinguishing between user-requests and redirects

2007-03-12 Thread Tamas Szabo
; > the 10th previous request. If not enough time went by, redirect to a > "delay > > page" that requires the user to press a "Continue" button. Pipe the new > > request and its time, and pipe out the 10th previous request. > > > > The problem with

Re: [s1] Filters: distinguishing between user-requests and redirects

2007-03-12 Thread Pierre Thibaudeau
ime with the time of > the 10th previous request. If not enough time went by, redirect to a "delay > page" that requires the user to press a "Continue" button. Pipe the new > request and its time, and pipe out the 10th previous request. > > The problem with that des

Re: [s1] Filters: distinguishing between user-requests and redirects

2007-03-12 Thread Tamas Szabo
"Continue" button. Pipe the new request and its time, and pipe out the 10th previous request. The problem with that design: in some cases, one single request from the user will go through the filters several times because of various possible internal redirects. But I only want t

[s1] Filters: distinguishing between user-requests and redirects

2007-03-12 Thread Pierre Thibaudeau
design: in some cases, one single request from the user will go through the filters several times because of various possible internal redirects. But I only want to record the times of the requests coming directly from the user. Therefore my question: Is there a simple straightforward way,

Re: [s1] Filters / State Exceptions

2007-03-07 Thread Paul Saumets
my filter is the ONLY configured filter on the server. Thoughts? Thanks, Paul _ From: Laurie Harper [mailto:[EMAIL PROTECTED] To: user@struts.apache.org Sent: Tue, 06 Mar 2007 16:25:26 -0500 Subject: Re: [s1] Filters / State Exceptions Without seeing your filter code and web.xml it'

RE: [s1] Filters / State Exceptions

2007-03-07 Thread Paul Saumets | Merge
riginal Message- From: Aram Mkhitaryan [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 07, 2007 1:39 AM To: Struts Users Mailing List Subject: Re: [s1] Filters / State Exceptions Hi, That's a general problem! You are right, request.getParameter() causes request.getInputStream() call.

Re: [s1] Filters / State Exceptions

2007-03-06 Thread Aram Mkhitaryan
Hi, That's a general problem! You are right, request.getParameter() causes request.getInputStream() call. You should decide if you want to get parameter from request or get input stream. Input stream from the request is usually used if you want to manually handle the "spacial" formatted reque

Re: [s1] Filters / State Exceptions

2007-03-06 Thread Laurie Harper
Without seeing your filter code and web.xml it's hard to be sure, but my guess would be that you need to modify the order you apply your filters in. Remember that, with a file upload, form parameters are transmitted in the request body rather than as a query string. It sounds

Re: [s1] Filters / State Exceptions

2007-03-06 Thread Paul Saumets
As a side note, My filter has a couple req.getParameter calls (which I think in-turn calls an InputStream somehow?) in it's doFilter method which seems to be causing the state exceptions later after a form is submitted. Is there a way to avoid this or a way to ensure filters arn't

[s1] Filters / State Exceptions

2007-03-06 Thread Paul Saumets
Hey, I'm hoping someone here could give me some insight why I'm getting an IllegalStateException with my filter. java.lang.IllegalStateException: getInputStream() has already been called for this request My filter calls InputStream in it's init method because it requires to read information

servlets filters

2006-03-31 Thread temp temp
ig file to filter so that the filters retrieves servlet path from request matches it with the servlet path in config file and gets the param for that".do" Which is better approach ? Than ks & Regards - Yahoo! Messenger

Re: Using Filters with Struts?

2006-03-10 Thread Frank W. Zammetti
As Joe pointed out, there is no problem using filters with Struts. As Joe also pointed out, generally speaking, getting a filter to fire for a specific Action, or group of Actions, is problematic. Struts 1.3, as Joe yet again pointed out, is a nice solution for this (Joe has been busy! LOL

Re: Using Filters with Struts?

2006-03-10 Thread Joe Germuska
r" user@struts.apache.org Cc : Date : Fri, 10 Mar 2006 07:25:33 -0600 Subject : Re: Using Filters with Struts? At 8:23 AM +0100 3/10/06, starki78 wrote: >Hi I made thoughts about filters >(javax.servlet.Filter) >e.g. use them for logging >and performance me

Re: Using Filters with Struts?

2006-03-10 Thread starki78
: "starki78" [EMAIL PROTECTED],"user" user@struts.apache.org Cc : Date : Fri, 10 Mar 2006 07:25:33 -0600 Subject : Re: Using Filters with Struts? > At 8:23 AM +0100 3/10/06, starki78 wrote: > >Hi I made thoughts about filters > >(javax.servl

Re: Using Filters with Struts?

2006-03-10 Thread Joe Germuska
At 8:23 AM +0100 3/10/06, starki78 wrote: Hi I made thoughts about filters (javax.servlet.Filter) e.g. use them for logging and performance measuring purposes. Now as we are using struts I would like to know if you can, and if it makes sense to assign a filter to an action. Can someone help me

Using Filters with Struts?

2006-03-09 Thread starki78
Hi I made thoughts about filters (javax.servlet.Filter) e.g. use them for logging and performance measuring purposes. Now as we are using struts I would like to know if you can, and if it makes sense to assign a filter to an action. Can someone help me understand if this might be a good solution

Re: filters in web application

2006-02-13 Thread David Delbecq
This all depends on what your filters do. If each filter is creating wrappers, analysing output stream and so on, you could indeed get performances issues. Consider each filter is about 3~4 additional stack level. Also each filter = 1 object + it's configuration datas Basically a filter i

filters in web application

2006-02-13 Thread temp temp
In a web application can I use several filters like 20 to 30 filters each of them serving some functionallity usefull for more than one '.do' .Is this a good design or there could be any performance issues when using several filters in a web application. Thanks

RE: Writing Filters

2006-02-08 Thread George.Dinwiddie
chuanjiang lo asked: > > Is it the correct way to implement session management using > filters? I'm rather new to structs and i would like to know > is there any good sites or tutorials i can refer on writing filters? > what does the url-pattern do? > > and in the co

Writing Filters

2006-02-08 Thread chuanjiang lo
Hi, Just a few question. Is it the correct way to implement session management using filters? I'm rather new to structs and i would like to know is there any good sites or tutorials i can refer on writing filters? http://marc.theaimsgroup.com/?l=struts-user&m=110624445418289&w=2

Re: servlets filters

2006-02-07 Thread Max Cooper
Filters are common to all, just like servlets. -Max On Tue, 2006-02-07 at 13:06 -0800, temp temp wrote: > Filters in web application. > Are servlet filters similar to session ie each session will have its own > filter or its like sevlet context ie common to all sessions . &

servlets filters

2006-02-07 Thread temp temp
Filters in web application. Are servlet filters similar to session ie each session will have its own filter or its like sevlet context ie common to all sessions . Thanks & Regards - Yahoo! Mail - Helps protect you

Re: order in which filters are executed in web.xml

2006-01-27 Thread Frank W. Zammetti
They are executed in the order they appear in web.xml, subject to the mapping rules (i.e., if you have 4 filters, filter 2 and 3 might be skipped for a given request depending on how they are mapped, but filter 1 and 4 will fire in that order, assuming they are listed 1, 2, 3, 4). So, in your

order in which filters are executed in web.xml

2006-01-27 Thread temp temp
I written two filters for my web application. One filter is to check whether session has userId called SecurityFilter.(This filter is applied to all *.do) Second filter to check if login user has access to a particular page called AccessControlFilter .(This filter only to some .do) in

Re: [OT] Cross-site scripting filters

2005-07-19 Thread Laurie Harper
Frank W. Zammetti wrote: If you wind up writing one and would be so inclined, feel free to contribute it to JWP :) If I end up writing one, I'll definitely contribute it or make it available somewhere! L. -- Laurie, Open Source advocate, Java geek and novice blogger: http://www.holoweb.net/l

Re: [OT] Cross-site scripting filters

2005-07-19 Thread Frank W. Zammetti
If you wind up writing one and would be so inclined, feel free to contribute it to JWP :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Tue, July 19, 2005 3:21 pm, Laurie Harper said: > Craig McClanahan wrote: >> I would imagine pretty m

Re: [OT] Cross-site scripting filters

2005-07-19 Thread Laurie Harper
Craig McClanahan wrote: I would imagine pretty much any blogging software that allows restricted HTML in comments (or pretty much any Wiki software that accepts some HTML for formatting, for that matter) has dealt with this kind of issue. Might be worth spelunking open source versions of those p

Re: [OT] Cross-site scripting filters

2005-07-18 Thread Craig McClanahan
On 7/18/05, Laurie Harper <[EMAIL PROTECTED]> wrote: > Ed Griebel wrote: > > So it seems like you want to a) render untrusted HTML, and b) render > > secure html. Sounds like the basic requirement is at odds? You could > > do something like slashdot and other BB systems do: restrict the > > amount

Re: [OT] Cross-site scripting filters

2005-07-18 Thread Laurie Harper
Ed Griebel wrote: So it seems like you want to a) render untrusted HTML, and b) render secure html. Sounds like the basic requirement is at odds? You could do something like slashdot and other BB systems do: restrict the amount of valid markup to make your parsing job easier. Ultimately, restri

Re: [OT] Cross-site scripting filters

2005-07-18 Thread Ed Griebel
So it seems like you want to a) render untrusted HTML, and b) render secure html. Sounds like the basic requirement is at odds? You could do something like slashdot and other BB systems do: restrict the amount of valid markup to make your parsing job easier. Another idea, one single regexp won't d

Re: [OT] Cross-site scripting filters

2005-07-18 Thread Laurie Harper
Frank W. Zammetti wrote: Yeah, wouldn't help you filter on output, but I pointer that out before :) True enough :) Note that it does allow you to specify your own regex, so in reality you can filter for whatever you want. I did this specifically so when someone spots something I didn't thin

Re: [OT] Cross-site scripting filters

2005-07-18 Thread Laurie Harper
Craig McClanahan wrote: While the code in question here might not help you, the concept of a Filter still can. You can use Filters to monitor (and potentially modify) the output stream by providing a wrapper around the HttpServletResponse that the container hands you, with custom

Re: [OT] Cross-site scripting filters

2005-07-18 Thread Frank W. Zammetti
I have one as part of Java Web Parts (http://javawebparts.sourceforge.net). Let me know if it suits your needs (and if not, let me know the shortcomings so I can expand it!) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, July 18, 200

Re: [OT] Cross-site scripting filters

2005-07-18 Thread Frank W. Zammetti
kipped that package, thinking a servlet filter wasn't really what I was after. Browsing through the code, it seems I was right. While the code in question here might not help you, the concept of a Filter still can. You can use Filters to monitor (and potentially modify) the output stream by pro

Re: [OT] Cross-site scripting filters

2005-07-18 Thread Frank W. Zammetti
Yeah, wouldn't help you filter on output, but I pointer that out before :) Note that it does allow you to specify your own regex, so in reality you can filter for whatever you want. I did this specifically so when someone spots something I didn't think of it's easy to make it catch those too.

Re: [OT] Cross-site scripting filters

2005-07-18 Thread Craig McClanahan
filter wasn't > really what I was after. Browsing through the code, it seems I was right. > While the code in question here might not help you, the concept of a Filter still can. You can use Filters to monitor (and potentially modify) the output stream by providing a wrapper ar

Re: [OT] Cross-site scripting filters

2005-07-18 Thread Frank W. Zammetti
Not a problem... http://javawebparts.sourceforge.net/javadocs/index.html In the javawebparts.filter package, you should see the CrossSiteScriptingFilter. This will filter any incoming parameters, and optionally attributes (good for if your forwarding somewhere) for a list of characters (you can

Re: [OT] Cross-site scripting filters

2005-07-18 Thread Laurie Harper
Thanks; I had a quick hunt through the Javadocs but couldn't see anything relevant. Can you give me a push in the right direction? ;-) L. Frank W. Zammetti wrote: I have one as part of Java Web Parts (http://javawebparts.sourceforge.net). Let me know if it suits your needs (and if not, let m

[OT] Cross-site scripting filters

2005-07-18 Thread Laurie Harper
Does anyone know of a good, complete implementation of a cross-site scripting filter for pre-processing user entered text that needs to be rendered as HTML? Obviously / ${fn:escapeXml()} / etc. aren't the right solution ;-) but there's nothing in standard JSTL or Struts (that I know of) that i

Re: [OT] Cross-site scripting filters

2005-07-18 Thread Laurie Harper
Frank W. Zammetti wrote: Not a problem... http://javawebparts.sourceforge.net/javadocs/index.html In the javawebparts.filter package, you should see the CrossSiteScriptingFilter. This will filter any incoming parameters, and optionally attributes (good for if your forwarding somewhere) for a

Re: ActionForward not working in Struts/Filters/XSLT application

2005-04-13 Thread Alan . Mullane
Hi again, I posted this yesterday but got no reply, so here it is again - can anyone help? Thanks Alan Alan Mullane 04/12/2005 10:30 AM To: user@struts.apache.org cc: Subject:ActionForward not working in Struts/Filters/XSLT application Hi, I am

ActionForward not working in Struts/Filters/XSLT application

2005-04-12 Thread Alan . Mullane
Hi, I am working on the development a Struts application that reads all user requests into a number of Struts Actions and uses XSLT to output the response of all pages as HTML. Also, all requests pass through one or more Servlet Filters before entering the Actions, to handle security, logging

Re: Filters

2005-03-29 Thread Craig McClanahan
>>-- > >>Frank W. Zammetti > >>Founder and Chief Software Architect > >>Omnytex Technologies > >>http://www.omnytex.com > >> > >>On Tue, March 29, 2005 12:40 pm, Denis Avdic said: > >>> Hello all, > >>> > >&

Re: Filters

2005-03-29 Thread Frank W. Zammetti
. >> >>-- >>Frank W. Zammetti >>Founder and Chief Software Architect >>Omnytex Technologies >>http://www.omnytex.com >> >>On Tue, March 29, 2005 12:40 pm, Denis Avdic said: >>> Hello all, >>> >>> Although I've been usin

Re: Filters

2005-03-29 Thread Joe Germuska
, March 29, 2005 12:40 pm, Denis Avdic said: Hello all, Although I've been using Struts for small projects for a while now, I haven't really used filters. Now I am incorporating some functionality from another project into mine, and the other project used plain old servlets and

Re: Filters

2005-03-29 Thread Frank W. Zammetti
ogies http://www.omnytex.com On Tue, March 29, 2005 12:40 pm, Denis Avdic said: > Hello all, > > Although I've been using Struts for small projects for a while now, I > haven't really used filters. Now I am incorporating some > functionality from another project into mine, and

Filters

2005-03-29 Thread Denis Avdic
Hello all, Although I've been using Struts for small projects for a while now, I haven't really used filters. Now I am incorporating some functionality from another project into mine, and the other project used plain old servlets and filters. My question is this: In filter's

Re: Question regarding filters in html-tags

2004-11-17 Thread René Thol
Hi David, David G. Friedman schrieb: René, By +1, I meant I would vote to add filter="true/false" to the html:text and html:textarea tags as well. So, when you write you are using regular html tags, are you using a tag with bean write, like this: name="beanName" property="propertyName"/>" /> T

RE: Question regarding filters in html-tags

2004-11-17 Thread David G. Friedman
hol [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 1:41 AM To: Struts Users Mailing List Subject: Re: Question regarding filters in html-tags Hello David, David G. Friedman schrieb: >I just skimmed over the SVN code repository for both html:text and >html:textarea tags and it loo

Re: Question regarding filters in html-tags

2004-11-16 Thread René Thol
Hello David, David G. Friedman schrieb: I just skimmed over the SVN code repository for both html:text and html:textarea tags and it looks like it automatically behaves like a filter="true" with no option to set it differently. You could always go to bugzilla and request a modification. I skimmed

Re: Question regarding filters in html-tags

2004-11-16 Thread René Thol
Hi Bill, Bill Siggelkow schrieb: Rene, Can you explain what you are trying to do? Are you trying to prohibit/allow the user inputting HTML markup? I've got an application where users can enter data into different textfields, -areas. These data are stored within a database and may be altered by t

RE: Question regarding filters in html-tags

2004-11-16 Thread David G. Friedman
, November 16, 2004 10:31 AM To: [EMAIL PROTECTED] Subject: Question regarding filters in html-tags Hello everybody, unfortunately I did not find anything within the ML archive regarding this topic! My question is: Is there any mechanism like the filter="false" within the tag for the h

Re: Question regarding filters in html-tags

2004-11-16 Thread Bill Siggelkow
René Thol wrote: Hello everybody, unfortunately I did not find anything within the ML archive regarding this topic! My question is: Is there any mechanism like the filter="false" within the tag for the html:text and html:textarea tags? Or does exist another way to protect the contents of the la

Question regarding filters in html-tags

2004-11-16 Thread René Thol
Hello everybody, unfortunately I did not find anything within the ML archive regarding this topic! My question is: Is there any mechanism like the filter="false" within the tag for the html:text and html:textarea tags? Or does exist another way to protect the contents of the latter both tags f

Remote Errors and Filters

2004-11-03 Thread Mike Darretta
I am having difficulty using a custom filter to capture remote exceptions. All requests for our application are filtered through a class called "ErrorFilter". If the exception is a client-side error, the filter takes care of the exception handling and forwards to the appropriate trouble report

Filters, listeners and struts-config.xml

2004-07-13 Thread Jim Barrows
I've just googled to see how to get a filter to grab info from struts-config.xml, and haven't been able to find anything on it. I had assumed that it would have been a nice idea to have a StrutsFilter, just to be able to access the global forwards. Have I missed something? Is this a 1.2 feature

Filters and forwards...

2004-06-03 Thread Jose Ramon Diaz
Hi all, I am trying to wrap the HttpServletResponse to apply gzip compression on data sent to the client when gzip is supported. I'm using a filter,wrapper and custom ServletOutputStream based on published code. It seems to work except when I chain actions. If I call one action which exec

Re: Servlet filters with Struts

2004-04-12 Thread Craig McClanahan
t; I would say if you calculating the elapsed time it should not be. It depends on what your filter is doing with the data -- it is simply logging it out to the console it should be OK -- the other thing that is nice about filters is that they can easily be turned off via the filter mapping. Ko

Re: Servlet filters with Struts

2004-04-12 Thread as as
significant?" I would say if you calculating the elapsed time it should not be. It depends on what your filter is doing with the data -- it is simply logging it out to the console it should be OK -- the other thing that is nice about filters is that they can easily be turned off via the filt

Re: Servlet filters with Struts

2004-04-12 Thread Bill Siggelkow
ur filter is doing with the data -- it is simply logging it out to the console it should be OK -- the other thing that is nice about filters is that they can easily be turned off via the filter mapping. Kommana, Sridhar wrote: Hi, Iam using TimerFilter in my application which gives the res

Servlet filters with Struts

2004-04-09 Thread Kommana, Sridhar
Hi, Iam using TimerFilter in my application which gives the response time taken for executing the each Action class. Does this will affect the performance of the application on production environment. Is there any known performance or stability issues with Servlet filters with Struts

RE: Filters..

2004-04-06 Thread Dhaliwal, Pritpal (HQP)
filters are very good.. After all, if your filter is slow, you can speed it up by making changes at one place, the filter. And I don't really see much overheard. Generally you don't put a "do nothing" filter on every request, filter will do something that's needed for the

[FRIDAY] Re: Filters..

2004-04-06 Thread Niall Pemberton
So if you can get your webapp smoking with filters then no worries. I'm ready for friday - are we nearly there yet? - Original Message - From: "Adam Hardy" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, April

RE: Filters..

2004-04-06 Thread Navjot Singh
yes. feel free to use them if you have a need. They are really good at handle some problems. >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] >Sent: Tuesday, April 06, 2004 7:53 PM >To: [EMAIL PROTECTED] >Subject: Filters.. > > >Hello Al

RE: Filters..

2004-04-06 Thread Freddy Villalba Arias
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviado el: martes, 06 de abril de 2004 16:40 Para: [EMAIL PROTECTED] Asunto: RE: Filters.. Apologies...for the generality of the question Our Web Application primarily consists of satellite applications interfacing with a core systemI primar

Re: Filters..

2004-04-06 Thread Adolfo Miguelez
Filters require servlets 2.3+ From: [EMAIL PROTECTED] Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: Filters.. Date: Tue, 6 Apr 2004 10:23:51 -0400 VJ, Filters

Re: Filters..

2004-04-06 Thread Adam Hardy
I always use filters when programming. Unfiltered cigarettes are twice as likely to give you cancer. ;) On 04/06/2004 04:23 PM [EMAIL PROTECTED] wrote: VJ, Filters are a good way of extending an existing application without having to recompile or rewrite code. I often use them. <[EM

RE: Filters..

2004-04-06 Thread Vijay.Nair
, 2004 7:53 PM To: Struts Users Mailing List Subject: RE: Filters.. Whoa, talk about general questions!!! :) I suppose it depends on what you want them for and the overall context... Could you be more specific? Cheers, Freddy. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL

RE: Filters..

2004-04-06 Thread shirishchandra.sakhare
Filters are part of Servlet specs..This means they are supposed to be used in web app:-)) The only reason they are not part of Struts implementation is that Struts was developed way before the Filters were introduced. But surely struts future implementations will start using filters whereever

Re: Filters..

2004-04-06 Thread Kevin_Gutch
VJ, Filters are a good way of extending an existing application without having to recompile or rewrite code. I often use them. <[EMAIL PROTECTED]> 04/06/2004 10:22 AM Please respond to "Struts Users Mailing List" To: <[EMAIL PROTECTED]>

RE: Filters..

2004-04-06 Thread Freddy Villalba Arias
PROTECTED] Asunto: Filters.. Hello All, I know this is an off topic but is it advisable to use Filters in a Web Application? Any kind of input wud be appreciated.. Thanks, VJ DISCLAIMER: This message contains privileged and confidential information and is intended only for the individual

RE: Filters..

2004-04-06 Thread Slattery, Tim - BLS
> I know this is an off topic but is it advisable to use > Filters in a Web Application? We do routinely, to try to keep users on the approved path through the application. -- Tim Slattery [EMAIL PROTECTED] - To unsub

Filters..

2004-04-06 Thread Vijay.Nair
Hello All, I know this is an off topic but is it advisable to use Filters in a Web Application? Any kind of input wud be appreciated.. Thanks, VJ DISCLAIMER: This message contains privileged and confidential information and is intended only for the individual named.If you are not the