Tiles : java.lang.NoSuchMethodError: org.apache.tiles.TilesContainer.render

2008-01-23 Thread Jayakrishnan KR
Hi, I am using Tiles 2.0.5 with Struts 2.0.6 in tomcat 6.0.14.. I am congfiguring the tiles thruougdefining it as servlet in the web.xml as follows : tiles org.apache.tiles.web.startup.TilesServlet definitions-config /WEB-IN

Re: [S2] - FilterDispatcher and ActionContextCleanup (WW-2240 FileUploadInterceptor causes null pointer exception)

2008-01-23 Thread Nils-Helge Garli Hegvik
I would really like a second opinion on this issue. Please let me know if something I wrote was unclear. Nils-H On Jan 20, 2008 1:03 PM, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]> wrote: > Hi! > > I've been debugging WW-2240 (had to install WebLogic 10 to reproduce > it) and have seen some stran

Re: WW-2452 - Need advice on fix

2008-01-23 Thread Antonio Petrelli
2008/1/23, Brian Relph <[EMAIL PROTECTED]>: > > my junit shows it does the opposite, although i am not testing the exact > code ... Well, it's just what I meant :-) Time for mind-reversing. Antonio

Re: WW-2452 - Need advice on fix

2008-01-23 Thread Brian Relph
my junit shows it does the opposite, although i am not testing the exact code ... creating a file from a URI decodes the %20 along with any other utf-8 encoded characters also, my code was html-styled, so it came out a little funny: servletContext.setRealPath(new File(FreeMarkerResultTest.class

Re: WW-2452 - Need advice on fix

2008-01-23 Thread Antonio Petrelli
2008/1/23, Brian Relph <[EMAIL PROTECTED]>: > This might be prettier - > > servletContext.setRealPath(*new* File(FreeMarkerResultTest.*class* > .getResource("someFreeMarkerFile.ftl").toURI()).toURL().getFile()); Does it transform spaces into %20? Antonio -

Re: WW-2452 - Need advice on fix

2008-01-23 Thread Brian Relph
This might be prettier - servletContext.setRealPath(*new* File(FreeMarkerResultTest.*class* .getResource("someFreeMarkerFile.ftl").toURI()).toURL().getFile()); Brian

Re: logic:iterate problem

2008-01-23 Thread Antonio Petrelli
Please ask this question to the Struts Users mailing list: http://struts.apache.org/mail.html Antonio 2008/1/23, Paz Belmonte <[EMAIL PROTECTED]>: > Hello, I have a problem with a logic:iterate tag. > I have one collection. > In my jsp i need two logic:iterate. each of then will be showing one >

logic:iterate problem

2008-01-23 Thread Paz Belmonte
Hello, I have a problem with a logic:iterate tag. I have one collection. In my jsp i need two logic:iterate. each of then will be showing one information. ${disamElements.name} ${disamElems.type} Then, this page generate this error: javax.servlet.ServletException: Cann

Re: svn commit: r614488 - in /struts/struts2/trunk: core/pom.xml plugins/dojo/pom.xml

2008-01-23 Thread Don Brown
Don't forget to deploy the snapshot before updating the pom. Also, when I deployed the struts-annotations snapshot, I noticed it had a unique snapshot version, so I changed the poms to use it, and kicked off the build again, which just passed. Don On 1/23/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]

Re: WW-2452 - Need advice on fix

2008-01-23 Thread Antonio Petrelli
2008/1/23, Al Sutton <[EMAIL PROTECTED]>: > > Hi All, > > I've finally found the cause of the "space in the path" problem for the > FreeMarker test which was failing and registered it as WW-2452. > > Now the simplest fix I can see is to change the offending line of code > from; > > servletContext.s

WW-2452 - Need advice on fix

2008-01-23 Thread Al Sutton
Hi All, I've finally found the cause of the "space in the path" problem for the FreeMarker test which was failing and registered it as WW-2452. Now the simplest fix I can see is to change the offending line of code from; servletContext.setRealPath(FreeMarkerResultTest.class.getResource("someF