struts and permgen errors with ognl method parameters cache

2009-04-08 Thread Wim De Smet
Hi list, I've been trying to track down a problem with our struts 2 app where it starts loading classes in permgen till eventually permgen fills up and our application crashes. Examining jvm output of classes it loads I see a lot of sun.reflect.GeneratedMethodAccessorXx getting loaded with xx bein

Setting default locale for s:date

2009-06-03 Thread Wim De Smet
Hi all, I've got this webapp running on a machine that has a locale that is not en_US. However, I'd like the webapp to run under en_US. I tried setting the locale in struts with: Unfortunately, dates I try to format with are still formatted using the server's locale. Is this expected behaviour?

Re: "Nothing found to display" from display tag with struts 2

2009-07-13 Thread Wim De Smet
Hi, I think this is a bit odd as I'm using the display tag (1.2) with struts 2 (2.1.6) and I can't get it to work without using . Are there any special interceptors or anything one needs to have enabled for this to work? I think I have the default stack on that particular page so I assume the tag

Re: Migration from Struts1 to Struts2

2009-07-14 Thread Wim De Smet
Hi, Lots of CPU activity could in some cases point to a memory problem where the garbage collector is getting run a lot because the server is very near memory exhaustion. Try monitoring memory usage and gc cycles with the usual tools (jvisualvm, jstat) and work from there. I'm sure there's a guid

Docs around processing request parameters in intercepters

2009-08-19 Thread Wim De Smet
Hi list, I was trying to debug an interceptor someone here wrote that kept throwing up NullPointerExceptions. It seems ServletActionContext.getRequest() returns null after the invocation.invoke() has been called in an interceptor. I skimmed most of the general docs on interceptors and the ServletA

Re: Docs around processing request parameters in intercepters

2009-08-24 Thread Wim De Smet
9, 2009 at 1:39 AM, Wim De Smet wrote: >> Hi list, >> >> I was trying to debug an interceptor someone here wrote that kept >> throwing up NullPointerExceptions. It seems >> ServletActionContext.getRequest() returns null after the >> invocation.invoke() has b

using a map of parameters with the s:url tag

2009-10-12 Thread Wim De Smet
Hi all, I'm using struts 2.1.x. Given a Map called parameters I want to construct an URL as follows: Unfortunately the nested iterator seems to hide the parameter tag from the enveloping url tag? I've verified that it's indeed iterating and that the entrySet is available with the two

Re: using a map of parameters with the s:url tag

2009-10-12 Thread Wim De Smet
On Mon, Oct 12, 2009 at 12:06 PM, Tommy Pham wrote: > > From: Wim De Smet > To: Struts Users Mailing List > Sent: Mon, October 12, 2009 2:23:29 AM > Subject: using a map of parameters with the s:url tag > > Hi all, > > I'm using

issues when using urlrewritefilter with struts2

2009-02-16 Thread Wim De Smet
Hi all, I hope this is the right venue for asking questions like this. If I'm mistaken, feel free to redirect me. :-) I'm currently working on a project where we are trying to use tuckey's urlrewritefilter[1] v3.2.0 to rewrite urls like: http://oursite.com/search?param1=¶m2=something to http://ou

Re: issues when using urlrewritefilter with struts2

2009-02-18 Thread Wim De Smet
Hi again, On Mon, Feb 16, 2009 at 10:12 AM, Wim De Smet wrote: > I hope this is the right venue for asking questions like this. If I'm > mistaken, feel free to redirect me. :-) > > I'm currently working on a project where we are trying to use tuckey's > urlrewritefi

Re: issues when using urlrewritefilter with struts2

2009-02-19 Thread Wim De Smet
Hi, On Wed, Feb 18, 2009 at 4:47 PM, Bill Stilwell wrote: > It took me a while to get the rewrite rule working. I can't remember > if the problems were the same as yours, but the solution was to not > put the query parameters in the but rather use type="parameter">. So if I understand correctl

Re: issues when using urlrewritefilter with struts2

2009-02-24 Thread Wim De Smet
Hi, On Thu, Feb 19, 2009 at 10:21 AM, Wim De Smet wrote: > Hi, > > On Wed, Feb 18, 2009 at 4:47 PM, Bill Stilwell > wrote: >> It took me a while to get the rewrite rule working. I can't remember >> if the problems were the same as yours, but the solution was to no

Re: issues when using urlrewritefilter with struts2

2009-02-24 Thread Wim De Smet
Last time I reply to myself, honest... On Tue, Feb 24, 2009 at 9:25 AM, Wim De Smet wrote: > I tried rewriting without including the query string, but for some > reason struts then doesn't pick up on the get parameters, so if you > try to include them in an s:url it doesn't