Thanks guys for helping me out. All I was missing was to add the
defaultInterceptor in the interceptor stack. It works now as expected.
Thanks,
Nikul
2011/6/7 Jeff Black
> Hey Nikul.
>
> Double-check your interceptor stack. It is only composed of your session
> interceptor.
>
> Jb
>
> Nikul S
Some more minor points on this issue, relating to the document at:
http://struts.apache.org/2.2.3/xwork-core/apidocs/com/opensymphony/xwork2/TextProvider.html
* "Implementing classes can delegate TextProviderSupport" -- clarifying the
verb "delegate" or providing an example would be really useful
This is a question that has come up before, but I've not seen it answered fully
(I searched the list first!). Here's what I've got so far.
Goals:
Implement a custom resource provider that gets searched BEFORE the
action-level, interface-level, or package-level ".properties" files, and gets
its
To ease inspection of the problem, I created a unit test in the JIRA
issue (https://issues.apache.org/jira/browse/WW-3647 ):
run JNDIProblemTestCase in
https://issues.apache.org/jira/secure/attachment/12481828/redirectActionErrorWithJunitTest.zip
On Wed, 2011-06-08 at 16:08 +0100, Miguel wrote
Hey Lukasz,
On Wed, 2011-06-08 at 15:40 +0200, Lukasz Lenart wrote:
> and the result
>
> Hello test, today is 2011/06/08
> ***zzz***
>
To display the problem you have to write "issue" in the name, not
"test".
Take a look at the HelloWorldAction - the redirectAction is with login,
whose result
Works like charm :-) I've based on the attached project. Modified a
bit HelloWorld,jsp to display wtf:
Hello , today is
**
and the result
Hello test, today is 2011/06/08
***zzz***
It's something with Eclipse, try to launch from command line, remove
all the dependencies from the loc
Really? That's odd.
could you please try the test project at :
https://issues.apache.org/jira/browse/WW-3647
Thanks for the help!
Enviado a partir do meu HTC
- Reply message -
De: "Lukasz Lenart"
Data: qua, Jun 8, 2011 13:42
Assunto: Adding a JNDI lookup yields unexpected Struts error
It works for me ...
Hello Lukasz, today is 2011/06/08
Regards
--
Ćukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
2011/6/8 Miguel :
> Hi,
>
> I have created a test maven project to demonstrate the issue, based on
> struts archetype.
>
Hi,
the struts-rest-plugin 2.2.1 allowed for returning results from POST
requests in case the status code was anything other than 200 (like CREATED
or 201). It appears that 2.2.3 no longer supports this behavior. Method
selectTarget() in RestActionInvocation only allows to return results from
GET
Hey Nikul.
Double-check your interceptor stack. It is only composed of your session
interceptor.
Jb
Nikul Suthar wrote:
>Hi There,
>
>I'm pretty new to using Struts 2 for developing a web application. So I
>would be very thankful if someone can clear out this roadblock for me.
>
>I'm trying
10 matches
Mail list logo