Re: OT: Tomcat struts-2.0.9 noClassDefFoundError

2007-08-04 Thread Dale Newfield
Zoran Avtarovski wrote: Does anybody have any experience with Tomcat 6. Should I be downgrading back to 5.5? This project is slated to go into production in 6 weeks and the last thing I want is a similar issue a few months into its deployment. I have a project I've been developing against tomca

Re: OT: Tomcat struts-2.0.9 noClassDefFoundError

2007-08-04 Thread Zoran Avtarovski
Just a quick update on this. After spending the better part of the day and in complete desperation (please, let get my frustration out) I downloaded the latest version of Tomcat (6.0.13 as opposed 6.0.10 previously) and it all worked fine. WTF is that about. This untouched setup has been working f

OT: Tomcat struts-2.0.9 noClassDefFoundError

2007-08-04 Thread Zoran Avtarovski
I know this is a little off topic but I'm lost as to where to start. We're currently working on an app and when I went to start Tomcat this morning I got a java.lang.NoClassDefFoundError: javax/servlet/Filter. This installation has been working fine for months and the only change was when I upgra

Re: [s2] Is it possible to replace/supplement i18n resolution logic?

2007-08-04 Thread Zarar Siddiqi
> Well, if your Action class implements TextProvider (as does > ActionSupport), then you can resolve keys any way you'd like. As for > plugging/altering the existing lookup that is used by ActionSupport, > it really isn't possible right now, and I've love to see a patch > making that more flexible

Cannot extend a theme

2007-08-04 Thread Aymeric Levaux
Does this (https://issues.apache.org/struts/browse/WW-1328) means, that at this moment we cannot create our own theme with a theme.properties that specifies that we extend an other theme ? I made a theme that extends xhtml and set it as the default one in struts.properties. But every template I d

Re: [S2] ClassCastException on getParameters

2007-08-04 Thread Zarar Siddiqi
Why can't you access the HttpServletRequest object using ServletActionContext.getRequest() and then just use the getParameter() method to get the request parameters? If you're getting a ClassCastException it's because you're casting something that isn't a String to a String. Find out what the typ

Re: [s1] action paths not resolving correctly

2007-08-04 Thread robinbajaj
thanks for the advice. I just did that a couple of days ago and got it fixed. I noticed it was working from within an and was not working from within a tag... (which I put in while doing some other ajax stuff). I replaced the > I can't tell you anything definitive, since you didn't include

Re: Problems migrating Roller to Struts 2.0.9

2007-08-04 Thread Antonio Petrelli
2007/8/4, Dave <[EMAIL PROTECTED]>: > We've been on Struts 2.0.6 and a Tiles 2.0 pre-release > (2.0-20070207.130156-4) for a while now in the Roller trunk. After > seeing the recent news about XSS dangers we decided to upgrade to > 2.0.9. before we make our next release. > > So I downloaded 2.0.9.

Re: [S2] ClassCastException on getParameters

2007-08-04 Thread Ravi Kumar
Hi , Even i am also facing the same issue. If any body is having please share with us.. It is returning the String array[] . But how it will return string[] if we enter normal text also... Thanks Ravi On 8/2/07, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > > Hi all, > I'm having big trouble

Re: [s2] Is it possible to replace/supplement i18n resolution logic?

2007-08-04 Thread Ray Clough
We did something similar to what you are suggesting. We still use properties files, but we replaced much of the lookup with our own classes. We created a wrapper around ResourceBundle which has overloaded 'getText()' methods. We make this accessible to all parts of the app with a ThreadLocal

Gettin the selected item in a s:tree

2007-08-04 Thread Session A Mwamufiya
Hi, I was able to get the selected item from a s:select element, which can be accessed from the property variable that is associated with it. Now I'm trying to do the same with the s:tree element. But it seems as though there is no property object association with s:tree. How would I go abou