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).
Later,
Andy
--
The Un
ed manually?
> Fallback to ActionContext");
>container = ActionContext.getContext().getContainer();
> }
That would get *my* vote.
Later,
Andy
--
The University of Edinburgh is a charitable body, registered in
Sco
anels:comment-tabpanel#comment-16085291
>
> On 9/13/2017 7:31 PM, LAW Andy wrote:
>>
>>> On 13 Sep 2017, at 14:17, Lukasz Lenart wrote:
>>>
>>> 2017-09-13 11:02 GMT+02:00 LAW Andy :
>>>> Using version 2.5.13 on Tomcat 8.0.21.
>&
> On 13 Sep 2017, at 14:17, Lukasz Lenart wrote:
>
> 2017-09-13 11:02 GMT+02:00 LAW Andy :
>> Using version 2.5.13 on Tomcat 8.0.21.
>>
>> I’ve attached it to this message as a text file.
>
> How do you fetch action in
> "my.domain.controller.Act
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 wrote:
>
> Each one you're more comfortable or is more important for you.
>
> On 9/12/2017 7:08 PM, LAW Andy wrote:
>>
&g
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, w
on 'class
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:19, Lukasz Lenart 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 a charitable body, registered
> On 12 Sep 2017, at 10:19, Lukasz Lenart 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
--
The University of Edinburgh is
> On 12 Sep 2017, at 09:47, LAW Andy wrote:
>
>
>> On 11 Sep 2017, at 22:50, LAW Andy wrote:
>>
>>
>>>
>>> Did you try "devmode=true" and then examining output for any warning?
>>
>>
>> I did. And there’s nothing ob
> On 11 Sep 2017, at 22:50, LAW Andy 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 think I must have been looking at
out 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
>
> [1] https:
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 wrote:
>
>
>> On 11 Sep 2017, at 15:13, Lukasz Lenart wrote:
>>
>> 2017-09-11 16:09 GMT+02:00 LAW Andy :
>>> (Indirectly
> On 11 Sep 2017, at 15:13, Lukasz Lenart wrote:
>
> 2017-09-11 16:09 GMT+02:00 LAW Andy :
>> (Indirectly) from a JSP. This is “furniture” on the web page.
>>
>> Each action has an “ActionPropertyKey” annotated on it. Each Action inherits
>> from a bas
> On 11 Sep 2017, at 15:03, Lukasz Lenart wrote:
>
> 2017-09-11 16:01 GMT+02:00 LAW Andy :
>> I probably could, but I think this is less of an Action problem and more of
>> a struts/spring dependency injection problem. I don’t think there’s anything
>> wrong with t
Sep 2017, at 14:53, Lukasz Lenart wrote:
>
> 2017-09-11 15:51 GMT+02:00 LAW Andy :
>> I recently upgraded the struts 2 library in an old web application from
>> 2.5.10.1 to 2.5.13. Simultaneously I upgraded Spring (which we use for
>> managing the database connections a
.
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 tag :(
Andy
On 17 June 2011 01:12, Maurizio Cucchiara wrote:
> 2.2.1 is not exactly the latest version
(UIBean.java:513)
... 93 more
Without the the 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
-
To unsubscribe, e-mail: user-unsubscr
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 remo
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.
thing?
Thanks so much for your help,
Andy
On Mon, Nov 8, 2010 at 10:56 AM, Lukasz Lenart
wrote:
> 2010/11/8 Andy T :
>> Hi Lukasz,
>>
>> I have struts-tiles-1.3.8.jar loaded . . . is this what you mean?
>
> Yes, it should be sufficient, could you post your struts
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
wrote:
> 2010/11/5 Rafael Medeiros :
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]
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://jav
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 th
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://
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
the ValueStack
you'll silently blow away all the parameter handling code" for completeness
but I never found one of those yet.
Also for the record, using the set(MAGIC_KEY, this.getStuff()) call makes
'magic' available directly so I can reference it as . I'm not clear i
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 str
if (vs != null) {
vs.set(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
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 mes
eing lazy.
>
> -Wes
>
>
Thanks for all the replies so far folks.
Following up on that thought process, if I use an interceptor then is there
any difference/tradeoff/efficiency gain or loss from stuffing the object in
question onto the Value Stack instead of dropping it into th
n classes, no? And
puts *some* of the configuration 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/S
gure that in Spring so I can plug in
alternative 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.
lue-ref="myOrganisationServiceBeanRef"/>
>
>
>
>
> OrganisationService organisationService = (OrganisationService)
> getServletContext().getAttribute("organisationService");
>
OK. Thanks. I'll try that.
Is it possible though to use Spring to push objects
;d also
have to make all the actions "aware" of the object being added. 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-S
asses
(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-tp2853350
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 c
tring 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.or
have not been able to overcome
this problem.
Relevant source code follows:
If someone could assist me with this issue I'd really appreciate it . . .
Thanks,
Andy
*** struts-config.xml
*** tiles-defs.xml *
http://struts.a
ed the specific styling.
FWIW (and IIRC from code I wrote a while ago), coding the radiolist 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
--
V
thing anyone can suggest.
Later,
Andy
--
View this message in context:
http://www.nabble.com/Is-this-expected-behaviour-for-%3Cs%3Aurl%3E-tag--tp24850352p24850352.html
Sent from the Struts - User mailing list archive at Nabbl
hy Barroso wrote:
>
> assuming your dir structure is like:
>
> 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 gu
ground-image: url();
margin-top: 0px;
padding: 0;
}
And then called them like this:
"
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: Andy Law
To:
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 thi
Haroon Rafique wrote:
>
> On Today at 9:38am, AL=>Andy Law 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('../imag
e ) 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 conte
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 uni
ch looks like 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
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..
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
stack.
Look at the docs - you'll get a faster answer than coming to the
mailing list with every question. They really 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,
urce (/WAP-Shop-war/denied.action) is
not available.
but is available!
ideas?
On Wed, May 20, 2009 at 13:35, Andy Sykes wrote:
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
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 a
1. It's created when the Struts dispatcher filter receives a request
that matches an 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 based on
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 me
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
://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 retu
g on a Mac. OSX/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 b
Hi, I have an action that returns a stream result type and for some reason my
action is getting called multiple times:
${attachmentContentType}
filename="${attachmentFileName}"
This causes some inefficiency since the action is retrieving an image from the
database on each call. IDeas?
h then does 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 m
> I think 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, An
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®.
http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM
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
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 witho
f
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 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?d-49653-p=2
nus p). 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-uns
I found I had to use the 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 the va
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
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
contains the
p
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
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?
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 "showLoading
;. Any ideas?
I'm using Struts2.16, default interceptor stack, tiles, spring..
Thanks!
Andy
_
Windows Live™: Life without walls.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1b_explore_042009
docs suggest using ${param.paramname}, which doesn't work -
"According to TLD, value does not accept any expressions".
i.e. ">
I feel like I'm missing something incredibly obvious here..
Andy.
-
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 hav
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]
Her
ed exactly how I'd go about 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
; Why might you switch back to jdbc as opposed to hibernate. What
> obstacles are you facing there?
>
> On 2/24/09, Andy wrote:
> >
> > Right now I am using Struts2, Spring, and Hibernate. Although the Spring
> > JdbcTemplate is looking better all the time.
would have to be able 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
>
>
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 -->
rence:
>
> https://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-I
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 hiber
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 direc
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 f
ow to better refactor the whole
thing 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
Interceptor - true
Suggests to me they're getting loaded by the same classloader.
Something 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
causi
...snip...
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 ca
rchy? That could explain certain
"should never happen" incidents...
Nils-H
On Fri, Jan 30, 2009 at 12:39 PM, Andy Sykes
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 impleme
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,
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 implement
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
any of you know.> > Regards> Nageswara Rao
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 wro
e has 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
1 - 100 of 290 matches
Mail list logo