2012/8/20 Paul Benedict :
> Are you familiar with index actions in HTTP servers? It's the page
> that loads when a directory is specified. It's the default when no
> specific resource is requested. That's different than the "default
> action" in S2 which runs if no suitable action can be found.
>
>
I am asking to find out if such ability exists today. If not, I will
be submitting a patch :-)
On Mon, Aug 20, 2012 at 7:26 PM, Martin Gainty wrote:
>
>
>
>
>> Date: Mon, 20 Aug 2012 14:45:37 -0500
>> Subject: Re: S2 support for index action?
>> From: pbened...@apache.org
>> To: user@struts.apach
> Date: Mon, 20 Aug 2012 14:45:37 -0500
> Subject: Re: S2 support for index action?
> From: pbened...@apache.org
> To: user@struts.apache.org
>
> Are you familiar with index actions in HTTP servers? It's the page
> that loads when a directory is specified. It's the default when no
> specific r
Thank you, that makes sense. I've read that page a few dozen times and it
did not click until you gave the example.
Best,
-Chris
On Mon, Aug 20, 2012 at 3:26 PM, Lukasz Lenart wrote:
> 2012/8/20 Christopher Johnson :
> > From what I've read there are the following scopes in struts.
> >
> >-
Are you familiar with index actions in HTTP servers? It's the page
that loads when a directory is specified. It's the default when no
specific resource is requested. That's different than the "default
action" in S2 which runs if no suitable action can be found.
Pretend there is a default package c
2012/8/20 Paul Benedict :
> Lukasz,
>
> The docs say runs when any URI can't be found in
> the package. I don't want much liberty. Just when the package matches
> the URI exactly, have a default action. In regards to configuration,
> this might be as easy as adding a new attribute to that element.
2012/8/6 manjesh :
> Hi I have Struts2 application Running on Google App Engine.
> When I add "tokenSession" interceptor to any of the actions (say
> registration.action) , I do get the following exception. If I remove
> "tokenSession" Interceptor.. things works fine.., what could be the issue?
>
2012/8/20 Christopher Johnson :
> From what I've read there are the following scopes in struts.
>
>- application
>- session
>- request
>- page
>- action
>
> I can see application, session, request in and see how to
> access the different parts via #application, #session, #reque
Lukasz,
I changed to include 'scope="request"' and I now
see my variables in the request scope and can access them via
#request.url. Thank you.
---
>From what I've read there are the following scopes in struts.
- application
- session
- request
- page
- action
I can see applicat
Lukasz,
The docs say runs when any URI can't be found in
the package. I don't want much liberty. Just when the package matches
the URI exactly, have a default action. In regards to configuration,
this might be as easy as adding a new attribute to that element. What
do you think?
Paul
On Mon, Au
i am glad if you can compare with our showcase also .
s2restplugins.java.net
On Aug 20, 2012 7:05 PM, "Lukasz Lenart" wrote:
> Could you try with the latest snapshot ? The issue should be solved
> already.
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> -
How do you want Spring to find the Action?
autowire by name?
autowire by type?
IF you want Spring to create the Action then...
However, sometimes you might want the bean to be completely managed by
Spring.
(This is useful, for example, if you wish to apply more complex AOP or
Spring-enabled t
2012/8/20 Christopher Johnson :
> #url turns out to be null because it can't. does not show it
> anywhere.
Did you try #request.url ? As this should be a request scoped variable.
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
On Mon, Aug 20, 2012 at 6:42 AM, Lukasz Lenart wrote:
> 2012/8/19 Christopher Johnson :
> > fails because the TLD does not accept
>
> Did you try:
>
>
This gives an error message because ${} expressions are not allowed in the
test attribute.
>
> or
>
>
>
Since currentURL is created via the #c
Could you try with the latest snapshot ? The issue should be solved already.
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-m
2012/8/9 Mounir Benzid :
> sorry for the late response. web.xml ---> http://pastebin.com/XPiQ3ZJB
>
> I guess the problem might be that the transaction boundary starts and ends
> within the controller class I wrote to manage entities. The action itself
> doesn't participate in the transaction. If m
2012/8/5 Paul Benedict :
> I see that allows an action to execute if the
> user's path cannot be found. This is almost what I want but not quite.
> I would like to have an IMPLICIT "index" action for my packages. My
> configuration does not use any suffix -- everything goes to Struts
> (i.e., /*)
2012/8/19 Christopher Johnson :
> fails because the TLD does not accept
Did you try:
or
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additio
18 matches
Mail list logo