Re: s:date

2008-03-18 Thread Alexis Pigeon
Hi, On 18/03/2008, meeboo [EMAIL PROTECTED] wrote: Has anyone had success with s:date / and setting the struts.date.format property? meeboo wrote: Hi all I have set my struts.date.format properties but they seem to have no effect at all. [snip] I've also noticed that

[S2] Webapps with different action extension

2007-12-07 Thread Alexis Pigeon
Hi all, I'm facing a problem, surely due to an error in my configuration, but can't find out a solution for it... I would like two webapps, both built upon Struts 2 (2.0.11), to have different action extensions: - webapp-A will have *.do - webapp-B will have *.action Both webapps have the same

Re: Upload exception in Struts2

2007-11-22 Thread Alexis Pigeon
Hi Van, On 22/11/2007, Le Van [EMAIL PROTECTED] wrote: Hi all, I'm using Struts 2 (2.04) and running it on Tomcat 5.5.20 (*Nix machine). When I trace the log, I get this 2.0.4 never qualified as a GA release : http://struts.apache.org/downloads.html#PriorReleases The first GA release of

Re: Having query on action chaining

2007-11-21 Thread Alexis Pigeon
Hi vijay, On 21/11/2007, vijay vijay [EMAIL PROTECTED] wrote: thank you, i have seen this iam looking for more links... http://www.google.com/search?hl=enq=struts+action+chaining I don't mean to be rude, but that's the best we can offer if you are not more specific

Re: [s2] s:text somtimes doesn't render the key porperties

2007-09-10 Thread Alexis Pigeon
Hi Adrian, On 10/09/2007, Adrian Ost [EMAIL PROTECTED] wrote: Hi everybody, i have a property file and by using the s:text tag i am rendering out text from a property file. Some text s:text name=my.existing.property /. Works fine, but sometimes it doesn't render the value of the property,

Re: java.lang.NullPointerException please help

2007-07-12 Thread Alexis Pigeon
Hi vani, Just some comments... 1- I would add the .tld extension to the 3rd line. Also make sure it's pointing to the correct path. 2- In the action attribute of the form tag, the .action is not necessary 3- Your h1 tag is outside the html tag. Not that it could raise an NPE, but still, for

Re: java.lang.NullPointerException please help

2007-07-12 Thread Alexis Pigeon
Hi vani, Please reply to the list, and no to me personally, so that more people can help you out. On 12/07/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: 1)to point no 1.if you add .tld to the third line u will get exception as .tld is missing.actually no need to add tld file as it is already

Re: Found Denial Of Service (was [S2] App produces lot garbage IMPORTANT NEWS (I HOPE))

2007-07-05 Thread Alexis Pigeon
I confirm the issue. Just try this on an existing S2 application : - add the field s:password name=password/ - add the proper getter and setter in the Action class - launch the app - in the added field, write %{password} - in my case, the tomcat process is eating 100% of the cpu. no problem

Re: How to creae Action class in struts2.0.8

2007-06-28 Thread Alexis Pigeon
Hi, On 28/06/07, manohar-AB [EMAIL PROTECTED] wrote: HI, I had know ledge in struts1.x version. I dont know the struts2.0 . pls send the action class code with import statements.and struts.xml code also to displa y the message hello world pls. pls send the action class code and struts.xml

Re: desparately need help finding a list component to use for Struts 2 application

2007-06-21 Thread Alexis Pigeon
Hi Bill, On 21/06/07, Bill Johnson [EMAIL PROTECTED] wrote: Can anyone point me at an already available shuttle component that I can use with my Struts 2 application? Basically I need a component that has a list of available values on the left and selected values on the right. Users should be

Re: [S2] populating user roles

2007-05-02 Thread Alexis Pigeon
Hi Flemming, On 02/05/07, Flemming Seerup [EMAIL PROTECTED] wrote: Am I missing something? I have a working version of an AuthInterceptor, but still no examples on how to control isUserInRole(). On manning.com I found a lightbody_src.zip from WW in action, but it doesn't handle roles. Could

Re: [S2] How to keep a reference to a bean without using a session scope?

2007-04-23 Thread Alexis Pigeon
/04/07, Alexis Pigeon [EMAIL PROTECTED] wrote: On 10/04/07, Mark Menard [EMAIL PROTECTED] wrote: [...] You could also take a look at a simple interceptor I created for this purpose. (http://www.vitarara.org/cms/node/84) I have since updated that method to simply be an extension

Re: [S2] (Newbie) Using Preparable

2007-04-20 Thread Alexis Pigeon
Hi Roger, On 20/04/07, Roger Varley [EMAIL PROTECTED] wrote: Hi Can someone please explain the point of the Preparable interceptor and prepare(). What do I gain over doing everything in the execute() method of my action. Obviously there must be some advantage otherwise Preparable wouldn't be

Re: Nesting a s:property in a s:url/

2007-04-18 Thread Alexis Pigeon
Hi, On 18/04/07, meeboo [EMAIL PROTECTED] wrote: Hey all I am trying to include a session property in a s:url component, but get the following error: Unterminated lt;s:url tag s:url action=user/s:property value=#session.user.username /// According to the error message, I would say its

Re: [s2] Using struts-tags and Exception initializing TldLocationsCache

2007-04-12 Thread Alexis Pigeon
Hi Max On 12/04/07, Max Pimm [EMAIL PROTECTED] wrote: Hi, I'm trying to set up the Struts 2.0.6 example blank application using the J4 distribution and i'm having problems using struts-tags. Any jsp that uses this tag library (that is all jsp's that include the line %@ taglib prefix=s

Re: [S2] How to keep a reference to a bean without using a session scope?

2007-04-11 Thread Alexis Pigeon
Hi Mark, On 10/04/07, Mark Menard [EMAIL PROTECTED] wrote: There's a cleaner Struts 2 way of doing this. Take a look at the org.apache.struts2.interceptor.SessionAware interface. This will make your action independent of the servlet spec and more easily testable. Thanks for the tip! This

[S2] How to keep a reference to a bean without using a session scope?

2007-04-10 Thread Alexis Pigeon
Hi all, My application uses a bean to store a collection of values to display in a select input. Since the generation of this collection is time-consuming, I set this bean to a session scope, and using the following code : in jsp: %@ taglib prefix=s uri=/WEB-INF/struts-tags.tld % s:set