Re: [S2] Beans list in Dynamic form and ParametersInterceptor problem

2008-01-23 Thread totojack
Hi. I've solved the problem. And the solution was... reading the documentation with great attention!!! In particular, from http://struts.apache.org/2.0.11/docs/type-conversion.html, the paragraph Relationship to Parameter Names: 1 - Use JavaBeans! The framework can only create objects if the

[S2] Beans list in Dynamic form and ParametersInterceptor problem

2008-01-22 Thread totojack
Hi. I'm having problem in submitting a dynamic form created with a list of beans. I'm able to build the jsp with the form and (it seems...) to pass parameters to action, but I'm not able to get the correct list of beans after submitting the form. I've tried with a list of 2 beans. Something

Re: [S2] Beans list in Dynamic form and ParametersInterceptor problem

2008-01-22 Thread totojack
The problem of songs list size is solved using #stat.index. But not the parameters error. The list size now is 1, but the element inside is null. So, it can't create song beans and put it into the list. In the conversion props file the Element_songs is correctly set to the Song bean class. The

RE: [S2] Beans list in Dynamic form and ParametersInterceptor problem

2008-01-22 Thread totojack
Hi David, the OutOfMemoryError was solved using %{#stat.index} in the inputs, as suggested by Laurie Harper. You're right about the web server heap space, but the cause of the error was obviously my wrong ognl expression. Does this stack trace begin with a java.lang.OutOfMemoryError as

Re: Failed while destroying filter during shutdown

2007-06-14 Thread totojack
Updated struts from 2.0.6 to 2.0.8 (that fixed FilterDispatcher not cleaning up correctly) but nothing changes. Maybe it's not a FilterDispatcher problem... totojack wrote: I've deployed a webapp with struts2 on weblogic 8.1/java 1.4.1_02. It works fine, but when I make a redeploy

Cannot access request variable in stack context from jsp

2007-06-08 Thread totojack
I'm trying to access a variable in stack context form jsp using the struts tag s:property. The struts debug tag (in struts2) shows me that the key request has this array/map of values: {javax.servlet.include.servlet_path=/console/Menu.jsp, struts.request_uri=/console/View.action,

Re: Cannot access request variable in stack context from jsp

2007-06-08 Thread totojack
That's right!!! Thanks Aram Aram Mkhitaryan wrote: Hi, Try s:property value=#request['struts.view_uri']/ Best, Aram Aram Mkhitaryan 52, 25 Lvovyan, Yerevan 375000, Armenia Mobile: +374 91 518456 E-mail: [EMAIL PROTECTED] -- View this

Failed while destroying filter during shutdown

2007-06-07 Thread totojack
I've deployed a webapp with struts2 on weblogic 8.1/java 1.4.1_02. It works fine, but when I make a redeploy it throws an exception with the following two stack traces. The NoClassDefFoundError seems strange to me, because the two jars struts2-core.jar and backpost-util-concurrent.jar (for