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
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
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/*
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:
>
&
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]
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
... 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
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
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]>:
>>>
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
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]
public in a
Struts2 Action.
TIA
Lyallex
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
>
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
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]
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
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
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
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
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
&
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
---
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
).
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]
23 matches
Mail list logo