Re: Config problems ?

2007-10-28 Thread Serge Mathieu
Thank you for your mail something but it do not help. I have added the "throws IOException, ServletException" at the end of my method execute declaration but the problem persist. Any other help would be greet. Thank you. 2007/10/26, Serge Mathieu <[EMAIL PROTECTED]>: > > Hi every one, > I have i

Re: [S2] Websphere 6.1 Showcase application, Response already committed warning in logs

2007-10-28 Thread vamsi
Can u post the complete stacktrace. - Original Message - From: "Paul Benedict" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, October 29, 2007 10:15 AM Subject: Re: [S2] Websphere 6.1 Showcase application, Response already committed warning in logs Test your app

Re: Struts 1.2.7 custom validator problem

2007-10-28 Thread Paul Benedict
I think validation can pass if an exception is thrown. Please check your log files that no error is occurring with your validation. Paul

Re: Problem with ForwardAction after update from Struts 1.2.9 to 1.3.8

2007-10-28 Thread Paul Benedict
Are you using the ComposableRequestProcessor or just the RequestProcessor for the controller? Paul On 10/25/07, Samuel Fleischle <[EMAIL PROTECTED]> wrote: > > Yes I´m sure, I only changed the Jars and replaced the contextRelative > attribute in my JSPs and in my Struts config. > > Meanwhile I wr

Re: [S2] Websphere 6.1 Showcase application, Response already committed warning in logs

2007-10-28 Thread Paul Benedict
Test your app in Tomcat. If it works there, you have a WebSphere problem. In my experience, WebSphere is a big bloated mess but I know that doesn't help you. However, you need to determine if it is a bug within WAS itself. Paul On 10/24/07, patb23 <[EMAIL PROTECTED]> wrote: > > > Hi, > I am using

Re: [S1] Ping another page from within a struts application

2007-10-28 Thread Paul Benedict
I do not understand what you're trying to achieve. You cannot send information to "pages" unless you're doing client-side scripting. You can, however, send a new request to a server with information. Paul On 10/22/07, enthucoder <[EMAIL PROTECTED]> wrote: I have requirement where, i need to send

Re: Invalid field value(due to type coversion) in Struts2

2007-10-28 Thread sagarlotiya
Laurie Harper wrote: > > sagarlotiya wrote: >> Hi Problem in Struts2. >> I have problem when using OGNL to set the Object directly on Model. >> >> For e.g. >> >> > list="listPropertySelectionModel.departmentListOfSchool" listValue="name" >> /> >> >> e.g. Final html which is rendered by strut

Re: struts 2.1 - Is good enought ?

2007-10-28 Thread Tom Schneider
What's missing is an official release. If I were you, I would wait until there is a GA release for the 2.1.x series before running it in production. Pedro Herrera wrote: > > Is struts 2.1 good enought to a productuion environment ? what´s missing ? > > > Herrera > > -- View this message

RE: Trouble with using struts tags in freemarker files

2007-10-28 Thread Dave Newton
Do you have the JspSupportServlet defined in your web.xml? d. --- [EMAIL PROTECTED] wrote: > > When I try without the reference to struts-tags I > get this > error-message: > > [ WARN] 15:12:36 Can't generate HTML subscription > mail; nested > exception is > freemarker.core.InvalidReferenceEx

Re: any struts 2 unit testers out there?

2007-10-28 Thread Tom Schneider
My first suggestion is the make sure that the package.properties files are on the classpath when you run your junit test. Secondly, it would be helpful for us to help you figure this out if you post the stack trace for the null pointer exception. Third, you may want to debug into the getText() m

[ANN] Struts 2.0.11 GA release available

2007-10-28 Thread Ted Husted
The Apache Struts group is pleased to announce that Struts 2.0.11 is available as a "General Availability" release. The GA designation is our highest quality grade. Apache Struts may be downloaded from . Apache Struts 2 is an elegant, extensible framework f

Re: [S2.1] url action mapping problem (restful)

2007-10-28 Thread Don Brown
On 10/28/07, Jeromy Evans <[EMAIL PROTECTED]> wrote: > Hi Don, > > Thanks for the quick updates. The update to xwork seems fine as it > supports namespaces like "/animals/*" via the wildcard handling in > findActionConfigInNamespace(String namespace, String name). Ah, right. I'll fix that. > A

struts 2.1 - Is good enought ?

2007-10-28 Thread Pedro Herrera
Is struts 2.1 good enought to a productuion environment ? what´s missing ? Herrera -- View this message in context: http://www.nabble.com/struts-2.1---Is-good-enought---tf4708054.html#a13456836 Sent from the Struts - User mailing list archive at Nabble.com. -

Re: Validation Best Practices?

2007-10-28 Thread Tom Schneider
This is essentially what we're doing as well, but it is far from an ideal situation. The issue I've seen is that you can't easily use the validators from the xml in the validate() method. Another disadvantage is that validation is in 2 different places. Also, some of our validate() methods get

Re: [SOLVED] freemarker static method call using stack.findValue and @@

2007-10-28 Thread Haroon Rafique
On Today at 9:51am, HR=>Haroon Rafique <[EMAIL PROTECTED]> wrote: HR> [..snip..] HR> HR> However, if I start using variables instead of values like 222, 555, e.g.: HR> ${stack.findValue("@@min(555, input)")} HR> where input is defined as: HR> <#assign input="222"/> HR> HR> I get the exce

freemarker static method call using stack.findValue and @@

2007-10-28 Thread Haroon Rafique
Hi there, In my freemarker template, I'm trying to make a static method call using the following syntax to call the java.lang.Math.min() method: ${stack.findValue("@@min(555, 222)")} Now this works fine. However, if I start using variables instead of values like 222, 555, e.g.:

Re: [S2.1] url action mapping problem (restful)

2007-10-28 Thread Jeromy Evans
Hi Don, Thanks for the quick updates. The update to xwork seems fine as it supports namespaces like "/animals/*" via the wildcard handling in findActionConfigInNamespace(String namespace, String name). Unfortunately in the case of the rest plugin, the RestActionMapper first calculates the

Problem with s:if

2007-10-28 Thread vamsi
Hi all, I am trying out the following code But it is failing regards Vamsi