thing that causes grief :(
I’m pretty sure that the context-fallback should get this code working again,
so I’d be keen to get an ETA on that point release if it’s likely to happen.
Thanks for the work that you guys do. It is very much appreciated (even if we
don’t give that impression at times).
Lat
iner is null, action was created manually?
> Fallback to ActionContext");
>container = ActionContext.getContext().getContainer();
>}
That would get *my* vote.
Later,
Andy
--
The University of Edinburgh is a charitable body, registered
stem.issuetabpanels:comment-tabpanel#comment-16085291
>
> On 9/13/2017 7:31 PM, LAW Andy wrote:
>>
>>> On 13 Sep 2017, at 14:17, Lukasz Lenart <lukaszlen...@apache.org> wrote:
>>>
>>> 2017-09-13 11:02 GMT+02:00 LAW Andy <andy@roslin.ed.ac.uk>:
> On 13 Sep 2017, at 14:17, Lukasz Lenart <lukaszlen...@apache.org> wrote:
>
> 2017-09-13 11:02 GMT+02:00 LAW Andy <andy@roslin.ed.ac.uk>:
>> Using version 2.5.13 on Tomcat 8.0.21.
>>
>> I’ve attached it to this message as a
Using version 2.5.13 on Tomcat 8.0.21.
I’ve attached it to this message as a text file.
Later,
Andy
> On 12 Sep 2017, at 15:56, Yasser Zamani <yasser.zam...@live.com> wrote:
>
> Each one you're more comfortable or is more important for you.
>
> On 9/12/2017 7:
nes from stacktrace. I need to know the trace of the Struts itself
> only. If I know how and where Struts fails, then it'll be helpful a lot.
>
Do you want 2.5.12 or 2.5.13 ?
Later,
Andy
--
The University of Edinburgh is a charitable body, registered in
Scotland,
my.domain.controller.LoginAction: Error setting expression 'IDontExist' with
value ['true', ]
Followed by the now-traditional NPE-based errors because the Container isn’t
being set in the Action.
This is now running 2.3.12 Struts on 8.0.21 Tomcat.
Later,
Andy
> On 12 Sep 2017, at 10:43, Yas
> On 12 Sep 2017, at 10:19, Lukasz Lenart <lukaszlen...@apache.org> wrote:
>
> You can ignore this, it only happens in devMode when Struts want to
> reload resources. Did you try with Struts 2.3.12?
Also broken in 2.3.12 :(
Later,
Andy
--
The University of Edinburgh is
> On 12 Sep 2017, at 10:19, Lukasz Lenart <lukaszlen...@apache.org> wrote:
>
> You can ignore this, it only happens in devMode when Struts want to
> reload resources. Did you try with Struts 2.3.12?
Next on the list (after I deal with a different crisis).
Later,
Andy
> On 12 Sep 2017, at 09:47, LAW Andy <andy@roslin.ed.ac.uk> wrote:
>
>
>> On 11 Sep 2017, at 22:50, LAW Andy <andy@roslin.ed.ac.uk> wrote:
>>
>>
>>>
>>> Did you try "devmode=true" and then examining output for any war
> On 11 Sep 2017, at 22:50, LAW Andy <andy@roslin.ed.ac.uk> wrote:
>
>
>>
>> Did you try "devmode=true" and then examining output for any warning?
>
>
> I did. And there’s nothing obvious.
>
Scrub that - there is something coming up (I t
t;
> So do not worry about Spring and it's auto-wiring.
Ahh. You are right. The Spring stuff fires up first and then the struts.xml
config kicks in.
>
> Did you try "devmode=true" and then examining output for any warning?
I did. And there’s nothing obvious.
Later,
Andy
Does anyone know if the default autowiring method changed in Struts between
2.5.10 and 2.5.13?
> On 11 Sep 2017, at 15:28, LAW Andy <andy@roslin.ed.ac.uk> wrote:
>
>
>> On 11 Sep 2017, at 15:13, Lukasz Lenart <lukaszlen...@apache.org> wrote:
>>
>&
> On 11 Sep 2017, at 15:13, Lukasz Lenart <lukaszlen...@apache.org> wrote:
>
> 2017-09-11 16:09 GMT+02:00 LAW Andy <andy@roslin.ed.ac.uk>:
>> (Indirectly) from a JSP. This is “furniture” on the web page.
>>
>> Each action has an “ActionPropertyKey
> On 11 Sep 2017, at 15:03, Lukasz Lenart <lukaszlen...@apache.org> wrote:
>
> 2017-09-11 16:01 GMT+02:00 LAW Andy <andy@roslin.ed.ac.uk>:
>> I probably could, but I think this is less of an Action problem and more of
>> a struts/spring dependency injecti
Sep 2017, at 14:53, Lukasz Lenart <lukaszlen...@apache.org> wrote:
>
> 2017-09-11 15:51 GMT+02:00 LAW Andy <andy@roslin.ed.ac.uk>:
>> I recently upgraded the struts 2 library in an old web application from
>> 2.5.10.1 to 2.5.13. Simultaneously I upgraded Spri
.
TIA.
Andy Law
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h
Thanks, don't know why I thought 2.2.1 was the latest version, bit of
a brain fail on my part there.
I've tried the latest 2.2.3 and still get the same error though when
using the s:debug tag :(
Andy
On 17 June 2011 01:12, Maurizio Cucchiara mcucchi...@apache.org wrote:
2.2.1 is not exactly
.components.UIBean.mergeTemplate(UIBean.java:559)
at org.apache.struts2.components.UIBean.end(UIBean.java:513)
... 93 more
Without the the s:debug/ tag the page loads and runs fine.
Also if I deploy to Tomcat it works fine.
Can anyone help with this?
Many thanks
Andy Birchall
Hello,
Is there a standard Struts declarative way of removing the model
object from session when using a ScopedModelDriven action?
i.e. so when invoking another action, which doesn't implement
ScopedModelDriven and doesn't need the model object previously placed
in session, the model object is
There seem to be several chat threads out there on the internet, but nothing
more recent than around 2007. Given the obvious
synergies between these two technologies, I find it hard to believe that
nothing more has come of this.
Thanks to all who have responded thus far . . .
I think I forgot to add the Tiles Plugin to my struts-config.xml file.
However when I do this I get HTTP Status 404 - Servlet action is
not available . . .
On Sat, Nov 6, 2010 at 2:47 AM, Lukasz Lenart
lukasz.len...@googlemail.com wrote:
to the login page under certain circumstances. Can you
recommend another approach that will accomplish the same thing?
Thanks so much for your help,
Andy
On Mon, Nov 8, 2010 at 10:56 AM, Lukasz Lenart
lukasz.len...@googlemail.com wrote:
2010/11/8 Andy T verygoofy...@gmail.com:
Hi Lukasz,
I
Hi All,
I'm having a bit of trouble trying to get my tiles to work with Struts
and wondered if anyone could help.
The relevant files are shown below:
Web.xml
[code]
?xml version=1.0 encoding=UTF-8?
web-app id=WebApp_ID version=2.4
xmlns=http://java.sun.com/xml/ns/j2ee;
Heading off at a slight tangent, is it possible to use the constant values in
action configurations within the struts XML?
I have long thought it a code smell that I have magic strings in my XML
configuration that get repeated in my code. If I could handle those by
reference to a single point in
I wrote:
Apologies for being late to the party, but this smells like a
browser/proxy
cache issue to me?
and then
mgainty wrote:
i agree with andy
do a view source and tracert on all urls
i it is possible you'll see there is a man-in-the middle proxy altering
the response
DNewfield wrote:
Anyway, glad you've solved your issue. Too bad we didn't all learn
something from it :-)
Apologies for being late to the party, but this smells like a browser/proxy
cache issue to me?
Later,
Andy
--
View this message in context:
http://old.nabble.com/Bizarre
I've got a 3rd party javascript tool that posts parameters like:
wibble[0][something] = /babble
wibble[0][foo] = 3
wibble[0][bar] = seventeen
wibble[1][something] = /bloop
wibble[1][foo] = 12
wibble[1][bar] = Only on Wednesdays
I can't figure out how to get the ParametersInterceptor to put the
RogerV wrote:
Andy Law wrote:
The pertinent code in the interceptor is reproduced below. It does what I
expect it to do insofar as it sticks my Stuff object in a place that
the JSP can retrieve it using the MAGIC_KEY string. However, if I
configure my interceptor stack
,
Andy
--
View this message in context:
http://old.nabble.com/Interceptor-order-tp28597967p28623423.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr
(MAGIC_KEY, this.getStuff());
}
}
}
return invocation.invoke();
}
As always, any and all help/pointers gratefully accepted, particularly if
I'm doing something stupid!
Later
Andy
--
View this message in context:
http://old.nabble.com
I'm pretty sure that ActionContext used to be an Interface (in Struts1?). I
know that it isn't in Struts2 because I've just tripped over that when
trying to create mocks for a set of Unit tests for an Interceptor.
Is there a reason why it changed?
Later,
Andy
--
View this message in context
/efficiency gain or loss from stuffing the object in
question onto the Value Stack instead of dropping it into the request or the
session? I guess that explicitness is what you gain from the
request/session route?
Later,
Andy
--
View this message in context:
http://old.nabble.com/Some-Spring
(and this would be a useful trick for some other places in the application)
but that does not seem to be possible unless I'm missing a trick?
How should I configure this, please?
Later,
Andy
--
View this message in context:
http://old.nabble.com/Some-Spring-Struts-questions-tp28533505p28533505.html
Sent
. The other
objects that we handle in this manner are genuinely integral to the Actions
(data access objects and permissions filters for example).
Later,
Andy
--
View this message in context:
http://old.nabble.com/Some-Spring-Struts-questions-tp28533505p28533688.html
Sent from the Struts - User
? That would be neater?
Later,
Andy
--
View this message in context:
http://old.nabble.com/Some-Spring-Struts-questions-tp28533505p28534868.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e
implementations in different instances of the application.
Is any of that possible?
Later,
Andy
--
View this message in context:
http://old.nabble.com/Some-Spring-Struts-questions-tp28533505p28535778.html
Sent from the Struts - User mailing list archive at Nabble.com
into the code and some inside of the Spring
config file.
I think that I'd rather avoid those outcomes if at all possible.
I think I'm leaning back towards Interceptors :o{
Later,
Andy
--
View this message in context:
http://old.nabble.com/Some-Spring-Struts-questions-tp28533505p28535809.html
Sent
You could write your own type converter - see type conversion in the S2 docs
for a good overview. It handles the conversion of any Java object in your model
class to a String for use in the view, and converts any String field into a
Java object in forms/GET parameters.
That way you have total
array of values. Is this a path to having multiple values
associated with a single field? That would also provide a way of generating a
complex type.
Thanks,
Andy.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
this problem.
Relevant source code follows:
If someone could assist me with this issue I'd really appreciate it . . .
Thanks,
Andy
*** struts-config.xml
action path=/logon
type=struts.Logon
cancellable=true
validate=false
forward name
as a
list (ul) with each radio-option as a list element within that combined with
a div/span/specific css-style was the easiest option for getting the format
you want.
Hope that helps.
Later,
Andy
--
View this message in context:
http://www.nabble.com/Radio-options-left-aligned
found to do what I want to do which is have the
current namespace inserted into the generated URL without anything extra
added.
Have I missed something? (obvious or not so obvious)?
Thanks in advance for anything anyone can suggest.
Later,
Andy
--
View this message in context:
http
:
css
...main.css
images
someimage.jpg
you can use this in your css: url(../images/someimagejpg)
Now I'm at my desk, I can see that this does indeed work. Thanks for the
help guys.
Later,
Andy
--
View this message in context:
http://www.nabble.com/CSS-background-images%2C
) but putting my static images in a subdirectory of the template
directory (for want of a better place) still don't work.
Can someone please point me in the right direction for getting this to work?
Or point me at a work-around?
Thanks in advance,
Andy
--
View this message in context:
http
Haroon Rafique wrote:
On Today at 9:38am, AL=Andy Law andy@roslin.ed.ac.uk wrote:
If your file structure is somewhat like:
styles/base.css
images/image.gif
then you can simply change your background-image directive to say:
background-image: url('../images/image.gif
Wes Wannemacher wrote:
One thing I've done in the past is to treat CSS files as JSPs and use
s:url tags or EL expressions (${contextRoot}/images/image.gif)...
Oh. That feels s dirty!!!
There has to be a cleaner way to do it.
Later,
Andy
--
View this message in context
/header_background.png/);
margin-top: 0px;
padding: 0;
}
And then called them like this:
link rel=stylesheet href=html:rewrite page=/css/style.css.jsp/
type=text/css
Who cares if it's ugly or whatever; I don't have broken images in my apps
anymore. :)
Andy
- Original Message
From
Couldn't agree more.
From: w...@wantii.com
To: user@struts.apache.org
Subject: Re: unit testing Struts2 application (with Spring and Hibernate)
Date: Thu, 16 Jul 2009 21:59:35 -0400
On Thursday 16 July 2009 07:14:30 pm Dave Newton wrote:
IMO that's outside the purview of unit
a Javascript parser error.
Anyone else seeing this? If so, I'll report it as a bug.
Andy.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Two words - Stripes framework.
Date: Wed, 10 Jun 2009 22:06:11 -0400
Subject: [OT]Moving from Struts2 to grails, your thoughts
From: bhaara...@gmail.com
To: user@struts.apache.org
Guys,
I've been doing struts2 for about 2 years, although I dont know everything
about it but I have
It defaults but I think he's wondering how he can set the dir programatically.
Date: Wed, 3 Jun 2009 15:35:33 -0500
Subject: Re: About the struts.multipart.saveDir for file upload
From: burtonrho...@gmail.com
To: user@struts.apache.org
I wasn't aware that it was required. If you don't
That's great Wes. I am using the file upload but only sparingly (and hacked)
due to some existing glitches.
I read how the Stripes framework does file upload:
http://www.stripesframework.org/display/stripes/File+Uploads
Thought you might find it interesting/useful..
Andy
Date
are very good docs, as
docs go.
Andy.
[1] http://struts.apache.org/2.x/docs/interceptors.html
On 21 May 2009, at 16:00, Stefano Tranquillini wrote:
thanks,
but i definide in struts my interceptors in this way:
package name=admin extends=default namespace=/admin
interceptors
Put the mapping for the admin filter above the struts2 filter. Filters
are invoked in the order in web.xml, first to last.
The struts filter is catching the request first and dispatching it
before it ever reaches the admin filter.
On 20 May 2009, at 09:37, Stefano Tranquillini wrote:
Hi
the same url see above, but he returns an error
(404):
type Status report
message /WAP-Shop-war/denied.action
description The requested resource (/WAP-Shop-war/denied.action) is
not available.
but is available!
ideas?
On Wed, May 20, 2009 at 13:35, Andy Sykes a.sy...@ucl.ac.uk wrote:
Put
1. It's created when the Struts dispatcher filter receives a request
that matches an action element in the XML configuration file. Xwork
handles the creation, I believe (Struts internal DI framework). You're
running with Spring as the container, which mean Spring does the
action creation
I can't see anywhere in the documentation (I've only had a quick skim
of it) that says not mapping the Struts dispatcher to /* can be
dangerous.. the only example I can see is if you're using Struts
interceptors/actions for webapp security - in which case hitting a
servlet directly might
/Firefox. I will try testing on windows/IE.
Thanks
Date: Tue, 5 May 2009 04:08:49 -0200
Subject: Re: stream result causing action to be called multiple times
From: poulw...@gmail.com
To: user@struts.apache.org
Hi Andy,
If so maybe the browser is doing it because it doesn't know
://sheetalshundori.blogspot.com/2008/02/struts2-dynamic-file-download.html
Date: Tue, 5 May 2009 15:23:23 -0400
From: d...@newfield.org
To: user@struts.apache.org
Subject: Re: stream result causing action to be called multiple times
Andy wrote:
I have an action that returns a stream result type
param name
Yep that totally fixed it. Thanks!!
Andy
Date: Tue, 5 May 2009 16:28:53 -0400
From: d...@newfield.org
To: user@struts.apache.org
Subject: Re: stream result causing action to be called multiple times
Andy wrote:
I may be reading this doc wrong, but doesnt it state it here?:
http
not utilize port
443 as desired (similarly for 8080).
Anybody have any good ideas on how to get around this issue?
Thanks,
Andy
PS: I apologize if this is more a Tomcat/config question, but it seems this
issue is caused mainly by sslext
Hi, I have an action that returns a stream result type and for some reason my
action is getting called multiple times:
result name=attachment type=stream
param name=contentType${attachmentContentType}/param
param name=contentDispositionfilename=${attachmentFileName}/param
/result
This
reflection when it encounters a Date setter (with a suitable
annotation) in the action to look up these fields and parse them into
a Date for setting. Lets me do validation at the same time.
Andy.
On 1 May 2009, at 12:44, Richard Sayre wrote:
I think I am going to write my own. After
Hi, is there an easy way to tell in an s2 action if the request is coming from
an iphone/mobile device?
Thanks!
_
Insert movie times and more without leaving Hotmail®.
the HTTP_USER_AGENT header should be similar to:
Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+
(KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3
If a request comes from the IPhone browser
On Fri, May 1, 2009 at 3:06 PM, Andy andrh...@hotmail.com wrote:
Hi
). Naturally, this
makes it throw ognl.InappropriateExpressionException any time a user
loads a page with a DisplayTag table in it, which is incredibly
annoying.
Thoughts?
Andy.
-
To unsubscribe, e-mail: user-unsubscr
on of
the regex, will be ignored. We should make a FAQ out of this question.
musachy
On Thu, Apr 30, 2009 at 3:47 PM, Andy Sykes a.sy...@ucl.ac.uk wrote:
Hi all,
Is there a way to prevent OGNL from analysing GET parameters as
expressions?
Reason for asking:
DisplayTag generates URLs like this: action
I agree with you 100%. For me, same goes for DWR.
Andy
Date: Fri, 1 May 2009 11:11:02 +1000
Subject: Re: Any hint of JQuery on struts2 tutorial, thanks!
From: zo...@sparecreative.com
To: user@struts.apache.org
We¹ve been using jQuery in a Struts2 project without any real issues. We¹re
I found I had to use the s:set tag to set the object in the request
scope before displaytag could see it, since displaytag doesn't know
about the Value Stack (maybe it should?). Confusingly, displaytag
gives you that message if it can't see the variable you're
referencing, as well as if
Abstract the HashMap behind another class that has a getTotal(Item
key) method, and do the math in there (return item.prize * quantity).
Doing any math in the JSP feels dirty.
On 22 Apr 2009, at 13:16, Stefano Tranquillini wrote:
Because the items are stored in hashmap Item, Quantity item
Have a look at the external sorting and pagination page[1] on the
DisplayTag site. Also, take a look at the PaginatedList interface[2].
It takes a little bit to get your head around it.
If you get stuck, the displaytag lists are pretty good at helping with
the common issues.
Andy.
[1
It seems there are some big holes in the file upload interceptor. Validation
doesn't work as stated and and max file size configs are not being used
properly. I verified by checking the 2.1.6 JIRA list. Is there any robust
alternative that people are using? Thanks
DWR is bloody ace - don't know how that slipped under my radar. Cheers
for the heads-up.
Andy.
On 17 Apr 2009, at 21:24, Musachy Barroso wrote:
I am not sure what the status of the DWR plugin is, but I don't think
it has changed much. The DWR plugin just hooks DWR with Struts 2,
nothing
Out of interest (and sorry for slight thread hijacking) - what's so
bad about the Dojo tags?
Now the Dojo stuff is deprecated, is there a roadmap to replacing them
with something else?
On 17 Apr 2009, at 20:30, Musachy Barroso wrote:
I am not sure it is related, but make sure
Just want to say that I am not using the s2 DWR plugin but I am using the
spring DWR plugin in my s2 app and it rocks.
JQuery also rocks but I like how DWR wires ajax to java class and
marshals/unmarshals everything.
Date: Fri, 17 Apr 2009 16:24:24 -0400
Subject: Re: recipes for 2.0.x?
incredibly obvious here..
Andy.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
to define my stuff in applicationContext.xml instead of using a dwr.xml
file. Just my preference. Thanks for the post.
Andy
Date: Mon, 30 Mar 2009 00:21:10 -0500
Subject: Re: DWR and S2 setup problem
From: c...@burlesontech.com
To: user@struts.apache.org
I haven't tried to work
I am trying to incorporate DWR into my Spring/Struts2 application, but receive
a 404 when accessing http://localhost:8080/myapp/dwr. It seems the DWR servlet
is not being reached. Any ideas? Thanks
Here is the error:
There is no Action mapped for action name dwr/. - [unknown location]
it, but I'm fairly sure
of the general idea. Has anyone thought through this and seen
potential show-stoppers?
Cheers,
Andy.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h
Right now I am using Struts2, Spring, and Hibernate. Although the Spring
JdbcTemplate is looking better all the time.
I follow this: Action -- Service -- Dao
Yes it is more code, but the benefits are in testibility, componentization, and
maintenance.
I even have this: Action --
to generate URLs RESTfully as well as break apart
requests using regex, IMO.
Andy
Date: Tue, 24 Feb 2009 10:09:44 +0100
Subject: Re: issues when using urlrewritefilter with struts2
From: krom...@gmail.com
To: user@struts.apache.org
Last time I reply to myself, honest...
On Tue, Feb
as opposed to hibernate. What
obstacles are you facing there?
On 2/24/09, Andy andrh...@hotmail.com wrote:
Right now I am using Struts2, Spring, and Hibernate. Although the Spring
JdbcTemplate is looking better all the time.
I follow this: Action -- Service -- Dao
Yes it is more
://issues.apache.org/struts/browse/WW-2992
Well, I guess that answers my question from last week...
http://www.nabble.com/CookiesInterceptor-config-missing-in-2.1.6-to21790815.html
Later,
Andy
--
View this message in context:
http://www.nabble.com/Cookie-Intercepter-configuration
There are several things it could be. You could be running out of connections
or you could be closing a connection and then trying to access it. Not sure
its entirely struts related..
From: lrampers...@ceis.cujae.edu.cu
To: user@struts.apache.org
Subject: Re: [S1]struts with
Can this plugin re-write the urls generated by struts2 jsp tags to be more
rest/rubyonrails-like? ex. ?user=123 -- /user/123
The plugin doesn't appear to be regex-based, is that correct?
I'm trying to decide if I am going to use the rest plugin or
http://tuckey.org/urlrewrite.
Thanks
I ran into the same thing as the OP. I think the FilterDispatcher is catching
all requests to the servlet since it uses a url-mapping of /*.
The Struts in Action book, from what I remember, suggests having an Action
receive the request and then dispatch to a servlet.
If anyone has
is not.
Later,
Andy
--
View this message in context:
http://www.nabble.com/CookiesInterceptor-config-missing-in-2.1.6-tp21790815p21790815.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e
Andy Law wrote:
've hit a painful problem as I try to migrate to 2.1.6 (from 2.0.14).
I have a class that extends ActionSupport and which calls getText() from
within a routine. I want to test the routine to ensure that it is working
properly. My test runs fine when I compile with 2.0.14
to fit 'The Struts Way'?
Later,
Andy
--
View this message in context:
http://www.nabble.com/My-tests-fail-in-2.1.6---can-someone-help--tp21787233p21787233.html
Sent from the Struts - User mailing list archive at Nabble.com
I would recommend redirecting to another action/jsp after the form post (PRG
pattern).
Date: Sun, 1 Feb 2009 12:55:23 +0530
Subject: Re: How to stop action getting called on click of refresh button
From: go4m...@gmail.com
To: user@struts.apache.org
So is there any way to stop calling
Hi Wes,
No, I'm not using Spring at all.
The Action never passes the test of being an instanceof Parseable. If
I make the action only implement SessionAware, and test if my action
is an instanceof SessionAware, the test is never passed!
Colour me confused!
Andy.
On 30 Jan 2009, at 00
never happen incidents...
Nils-H
On Fri, Jan 30, 2009 at 12:39 PM, Andy Sykes a.sy...@ucl.ac.uk
wrote:
Hi Wes,
No, I'm not using Spring at all.
The Action never passes the test of being an instanceof Parseable.
If I make
the action only implement SessionAware, and test if my action
...
if (action instanceof SessionAware) {
((SessionAware)
action).setSession(context.getSession());
}
}
}
On 30 Jan 2009, at 12:22, Andy Sykes wrote:
No, I don't 'need' the cast to Action. However, if I cast what I get
back from
bloody funky is going on and I'm probably going to just roll
the interceptors functionality into an action instead, but
intellectual curiosity remains to be satisfied as to what the funk is
causing this.
Cheers for the help,
Andy.
On 30 Jan 2009, at 15:03, Dave Newton wrote:
If you have
Hi all,
I've written an interceptor with a PreResultListener that gets the
action with ActionInvocation.getAction(), then casts it to an
interface (Parseable, in this case). This lets me call a particular
method on the action just prior to the result being rendered.
The action implements
fyi I had to add commons-fileupload to my classpath only after upgrading to
2.1.6 from 2.0.14.. Before the upgrade it wasnt required.
Date: Tue, 27 Jan 2009 23:11:40 -0500 From: newton.d...@yahoo.com To:
user@struts.apache.org Subject: Re: Exception while upgrading from S 2.0.11
to 2.1.6
Please dont hijack threads, start your own.
Date: Mon, 26 Jan 2009 22:50:45 -0800 From: nag...@btpsoft.com To:
user@struts.apache.org Subject: RE: Handling JSP exceptions in Struts2
Andy Hahn wrote: I have kind of sorted this out.. My
goal is simple - I don't ever want my users
any thoughts, please let me know. Thanks!
Date: Mon, 26 Jan 2009 14:21:39 +
From: ahardy.str...@cyberspaceroad.com
To: user@struts.apache.org
Subject: Re: Handling JSP exceptions in Struts2
Did you sort this out already Andy?
I can't remember whether the web.xml error page
worked in 2.0.11.
It was a quick fix to change it to the proper way to do it.
Andy.
On 24 Jan 2009, at 13:42, Matthew Seaborn wrote:
We are currently running 2.0.11 and having been away from Struts 2
for a while I was pleased to a see a number of new releases.
Has anyone done an upgrade
1 - 100 of 267 matches
Mail list logo