[S2] Displaying custom 403 Error Code page

2008-12-11 Thread Lyallex
Code Page How can I force my custom error code page to be displayed ? I'm trying to find out if it's possible to configure the roles interceptor in some way but I'm getting nowhere fast Any help much appreciated

Re: [Struts2] protecting resources via Actions

2008-12-11 Thread Lyallex
2008/12/11 Lyallex <[EMAIL PROTECTED]>: > Hi Experts > > I have an application that supports a number of roles including staff > and manager Er, apologies for this ... another google search has uncovered http://struts.apache.org/2.0.14/struts2-core/apidocs/org/apache/s

[Struts2] protecting resources via Actions

2008-12-11 Thread Lyallex
Hi Experts I have an application that supports a number of roles including staff and manager I have a resource (/secure/staff/staff.jsp) that is protected by a security constraint in web.xml ... ... /secure/staff/*

Re: Handling Integer overflows

2008-11-05 Thread Lyallex
Perfect solution ... works exactly as required. Thanks Lyallex 2008/11/5 Dave Newton <[EMAIL PROTECTED]>: > > That would probably need to be handled via a converter, not a validator. > > Dave > > --- On Wed, 11/5/08, Lyallex <[EMAIL PROTECTED]> wrote: > &

Handling Integer overflows

2008-11-05 Thread Lyallex
action field) if it is going to cause an overflow. Thanks Lyallex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Default includeParams value, was: Re: [S2] and Integer lists

2008-09-06 Thread Lyallex
Is this suppose to make me feel bad. I couldn't care less what you think quite frankly. Like I say, it's good to know this will change. Lyallex 2008/9/6 Dave Newton <[EMAIL PROTECTED]>: > --- On Sat, 9/6/08, Lyallex wrote: >> Um, I didn't "have a proble

Re: Default includeParams value, was: Re: [S2] and Integer lists

2008-09-06 Thread Lyallex
... as other people have also had an problem reading the documentation, and personally, I also think the default is counter-intuitive. Um, I didn't "have a problem reading the documentation" at all. I just didn't read that bit. But it's good to know that this will c

Re: [S2] and Integer lists

2008-09-06 Thread Lyallex
2008/9/6 Jeromy Evans <[EMAIL PROTECTED]>: > Lyallex wrote: >> >> I'm starting to feel that way about Struts2, ... > > So, I guess you didn't notice the url tag has includeContext (default true) > and includeParams (default false) attributes. E

Re: [S2] and Integer lists

2008-09-06 Thread Lyallex
meone else decides it should do for me. Frankly I'd much rather focus on the buisness logic. Ah well, it's all character forming stuff (apparently) lyallex > > > > > > > Lyallex wrote: >> >> 2008/9/5 Lukasz Lenart <[EMAIL PROTECTED]>: >>>

Re: [S2] and Integer lists

2008-09-05 Thread Lyallex
2008/9/5 Lukasz Lenart <[EMAIL PROTECTED]>: >> > listKey="intValue" listValue="intValue" required="true"/> ... > > or don't specify listKey and listValue Dave and Lukasz Thanks, it works, no idea how just yet, it must be tho

[S2] and Integer lists

2008-09-05 Thread Lyallex
tValue' or 'getIntValue' on Integer) I'm thinking I may have to wrap the Integer to get this to work ... is there a way to do this ??? many TIAs Lyallex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Is this obvious ?

2008-08-01 Thread Lyallex
public in a Struts2 Action. TIA Lyallex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: namespace headpain

2008-07-23 Thread Lyallex
time to reply lyallex On Wed, Jul 23, 2008 at 4:14 PM, Dasgupta, Ranjan <[EMAIL PROTECTED]> wrote: > try setting: > > > > in your struts.xml > > -Original Message- > From: mujoko mujoko [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 23, 2008 4:30 AM >

namespace headpain

2008-07-23 Thread Lyallex
Hi I'm having a problem getting my head around namespaces I have the folowing link ">Create New Establishment in the main struts.xml I have the following /establishment/getEstablishmentDetails.jsp ... This works fine Now I want to move the establishment st

Re: For the authors of Mannings Struts 2 in Action, a question

2008-07-12 Thread Lyallex
e parameterised in some way so that the target could be set depending on which action was selected ... Anyway Thanks for taking the time to reply lyallex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

For the authors of Mannings Struts 2 in Action, a question

2008-07-11 Thread Lyallex
mple would you use the Login action to secure the AddImage action which is also a secure action /chapterFour/ImageUploadForm.jsp Thank You lyallex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: This is odd, sometimes my requests 'miss' the Struts2 filter

2008-07-11 Thread Lyallex
butes on the other hand is just plain NASTY). Anyway, I will struggle on and no doubt come to a conclusion eventually Thanks again for all the input on this lyallex > > > Lyallex wrote: >> >> OK, I think I've twigged this now >> >> Every jsp page has this includ

Re: This is odd, sometimes my requests 'miss' the Struts2 filter

2008-07-10 Thread Lyallex
we are in a spot of bother with this. Thanks for the input, it got me thinking. Rgds lyallex On Thu, Jul 10, 2008 at 11:11 AM, Lyallex <[EMAIL PROTECTED]> wrote: > Hello > > Tomcat version 5.5.26 > Struts2 version 2.0.11.1 > > I'm trying to understand why, give

Re: This is odd, sometimes my requests 'miss' the Struts2 filter

2008-07-10 Thread Lyallex
d the session never got invalidated and you were always > running on a valid session (cookie based). My roles are all there, everything works perfectly ... sometimes ... it's all very confusing I have to say. Anyway, thanks for the ideas I'll keep hacking away Never had this problem with

Re: This is odd, sometimes my requests 'miss' the Struts2 filter

2008-07-10 Thread Lyallex
ometimes it doesn't If I have struts2 /* As far as I am aware then every request should be handled by this mapping. Unless I am missing something of course Rgds lyallex > So, you didn't have > different entry points to show login page. E.g. directly requesting the &

This is odd, sometimes my requests 'miss' the Struts2 filter

2008-07-10 Thread Lyallex
on my journey through the archives suggested this fix. struts2 /* REQUEST FORWARD It does appear to solve the problem I was just wondering why ? Is there a definitive resolution to this problem out there somewhere ? TIA lyallex ---

Re: Handling Exceptions in Action constructors

2008-07-10 Thread Lyallex
Sheesh, that works like a dream, thanks ... Can't think how I missed that bit in the book. Preparable, marvelous. lyallex On Wed, Jul 9, 2008 at 5:04 PM, Jim Kiley <[EMAIL PROTECTED]> wrote: > I think in this situation I would have SomeAction implement Preparable, and > pu

Handling Exceptions in Action constructors

2008-07-09 Thread Lyallex
). Does anyone have a pattern for handling exceptions in Action constructors ? many TsIA lyallex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]