Re: Errors during unzip of 2.1.8

2009-10-01 Thread Peter Phillips
The option --restrict-file-names=windows on wget should sort out the question marks. Peter. 2009/10/1 Wes Wannemacher w...@wantii.com: I think that's a side effect of mirroring the wiki with wget... There are a few possible solutions, we could try to remove those files before zipping (since

Re: Struts 2 Converting specific List User property

2009-09-27 Thread Peter Phillips
Sounds like you want to apply a converter to the Users class rather than to the UsersAction itself. From the docs (http://struts.apache.org/2.1.6/docs/type-conversion.html#TypeConversion-ApplyingaTypeConvertertoabeanormodel) you could create a custom converter for the Users class called

Re: Need to disable session interceptor

2009-09-01 Thread Peter Phillips
When I upgraded from 2.0.x to 2.1.7 I found that the i18n interceptor now always creates a session too. The way I normally track down rogue session creations is to debug tomcat in Eclipse and add breakpoints to the javax.servlet.http.HttpServletRequest.getSession() and

Re: [SOLVED]: Need to disable session interceptor

2009-09-01 Thread Peter Phillips
From Rajeev's earlier emails: I am developing an application which does not need to use sessions at all. I opened some pages on my application and found there was one session created for my browser and others for other clients, So I guess this has nothing to do with JMeter. Sessions are being

Re: struts2 filter-mapping url-pattern

2009-09-01 Thread Peter Phillips
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 w...@wantii.com: One thing I've been itching to try is to map to *.action and /struts/* Those are pretty much the two things you need

Re: preferred way to jump start app into struts?

2009-08-30 Thread Peter Phillips
Luis- there's nothing wrong with your code, but Rusty is also right. The trick is to create an empty file called the same name as your action (e.g. start.action) at the root of your web app. Tomcat will see the empty file and then call your action directly. 2009/8/30 Luis Martín Canaval Sánchez

Re: Why submit didn't support param

2009-08-19 Thread Peter Phillips
A submit button is just another input field, so will have a name value pair that are submitted with the form. The value is displayed on the button, so can't be changed, but you can assign any name you like to the field. Each of your submit buttons could therefore be s:submit

Re: AJAX issues in struts 2.1.6

2009-08-06 Thread Peter Phillips
I tried the dojo plugin in struts 2.1.7 and gave up - deciding that it was effectively broken. It is deprecated anyway in struts 2.1. The template problems you are having can be fixed by copying the template files into your local project (keeping the template/ajax directory structure) and

Re: How can I download Struts 2.1.7?

2009-08-03 Thread Peter Phillips
I downloaded it from http://people.apache.org/builds/struts/2.1.7 2009/8/3 cmartin81 christ...@topmartin.com: I’m trying to download Struts 2.1.7 from http://struts.apache.org/2.x/, but the only version which is available is 2.1.6 (the downloading button says struts 2.1.7)? When will Struts

[S2] OgnlValueStack Error setting expression warnings after upgrade from struts 2 to struts 2.1.7

2009-07-31 Thread Peter Phillips
I recently upgraded from struts 2.0 to 2.1.7 and noticed that we are now getting lots of warnings in the logs: 12:31:53,283 WARN [OgnlValueStack] Error setting expression 'button.save' with value '[Ljava.lang.String;@1683e9f' ognl.OgnlException: target is null for setProperty(null, save,

Re: [S2] OgnlValueStack Error setting expression warnings after upgrade from struts 2 to struts 2.1.7

2009-07-31 Thread Peter Phillips
Thanks for your help. I guess everyone has their own opinions on when warnings etc. should appear in the logs and trying to keep everyone happy is an impossible task. After a bit more digging I think I can just implement my own version of OgnlValueStackFactory (by setting the