REST and Non-REST actions

2010-07-20 Thread Kevin Jones
Simple question (I think),

when using the REST plugin, can I have two 'controllers' one that
expects REST urls/verbs and one that is a standard Struts2 Action,
i.e. where I can map incoming URLs to action methods?

Hope that makes sense,

-- 
Kevin

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: REST and Non-REST actions

2010-07-20 Thread Lukasz Lenart
2010/7/20 Kevin Jones kev.r.jo...@gmail.com:
 Simple question (I think),

 when using the REST plugin, can I have two 'controllers' one that
 expects REST urls/verbs and one that is a standard Struts2 Action,
 i.e. where I can map incoming URLs to action methods?

Take a look on PrefixBasedActionMapper [1], it was included in version
2.2.1 (under Vote)

[1] 
https://cwiki.apache.org/confluence/display/WW/ActionMapper#PrefixBasedActionMapper


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Kapituła Javarsovia 2010 http://javarsovia.pl

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: REST and Non-REST actions

2010-07-20 Thread Frans Thamura
we are trying it also, to much old struts2 investment here,

but i am glad if the future release of the Strust2, the REST willbecome part
of showcase

F

On Tue, Jul 20, 2010 at 5:06 PM, Lukasz Lenart lukasz.len...@googlemail.com
 wrote:

 2010/7/20 Kevin Jones kev.r.jo...@gmail.com:
  Simple question (I think),
 
  when using the REST plugin, can I have two 'controllers' one that
  expects REST urls/verbs and one that is a standard Struts2 Action,
  i.e. where I can map incoming URLs to action methods?

 Take a look on PrefixBasedActionMapper [1], it was included in version
 2.2.1 (under Vote)

 [1]
 https://cwiki.apache.org/confluence/display/WW/ActionMapper#PrefixBasedActionMapper


 Regards
 --
 Łukasz
 + 48 606 323 122 http://www.lenart.org.pl/
 Kapituła Javarsovia 2010 http://javarsovia.pl

 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org




Re: REST and Non-REST actions

2010-07-20 Thread Kevin Jones
Thanks Lukasz,

where can I grab the 2.2.1 bits? - there doesn't seem to be a link on
the site. Do I need to get the sources and build it?

Kevin

On 20 July 2010 11:06, Lukasz Lenart lukasz.len...@googlemail.com wrote:
 2010/7/20 Kevin Jones kev.r.jo...@gmail.com:
 Simple question (I think),

 when using the REST plugin, can I have two 'controllers' one that
 expects REST urls/verbs and one that is a standard Struts2 Action,
 i.e. where I can map incoming URLs to action methods?

 Take a look on PrefixBasedActionMapper [1], it was included in version
 2.2.1 (under Vote)

 [1] 
 https://cwiki.apache.org/confluence/display/WW/ActionMapper#PrefixBasedActionMapper


 Regards
 --
 Łukasz
 + 48 606 323 122 http://www.lenart.org.pl/
 Kapituła Javarsovia 2010 http://javarsovia.pl

 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org





-- 
Kevin

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: REST and Non-REST actions

2010-07-20 Thread Johannes Geppert

you can get current release from here.

http://people.apache.org/builds/struts/2.2.1/

Johannes


Kevin Jones-10 wrote:
 
 Thanks Lukasz,
 
 where can I grab the 2.2.1 bits? - there doesn't seem to be a link on
 the site. Do I need to get the sources and build it?
 
 Kevin
 
 On 20 July 2010 11:06, Lukasz Lenart lukasz.len...@googlemail.com wrote:
 2010/7/20 Kevin Jones kev.r.jo...@gmail.com:
 Simple question (I think),

 when using the REST plugin, can I have two 'controllers' one that
 expects REST urls/verbs and one that is a standard Struts2 Action,
 i.e. where I can map incoming URLs to action methods?

 Take a look on PrefixBasedActionMapper [1], it was included in version
 2.2.1 (under Vote)

 [1]
 https://cwiki.apache.org/confluence/display/WW/ActionMapper#PrefixBasedActionMapper


 Regards
 --
 Łukasz
 + 48 606 323 122 http://www.lenart.org.pl/
 Kapituła Javarsovia 2010 http://javarsovia.pl

 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org


 
 
 
 -- 
 Kevin
 
 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org
 
 
 


-
---
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep

-- 
View this message in context: 
http://old.nabble.com/REST-and-Non-REST-actions-tp29213179p29215925.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: REST and Non-REST actions

2010-07-20 Thread Kevin Jones
Thanks All.

I'll give it a go,

Kevin

On 20 July 2010 16:37, Johannes Geppert jo...@web.de wrote:

 you can get current release from here.

 http://people.apache.org/builds/struts/2.2.1/

 Johannes


 Kevin Jones-10 wrote:

 Thanks Lukasz,

 where can I grab the 2.2.1 bits? - there doesn't seem to be a link on
 the site. Do I need to get the sources and build it?

 Kevin

 On 20 July 2010 11:06, Lukasz Lenart lukasz.len...@googlemail.com wrote:
 2010/7/20 Kevin Jones kev.r.jo...@gmail.com:
 Simple question (I think),

 when using the REST plugin, can I have two 'controllers' one that
 expects REST urls/verbs and one that is a standard Struts2 Action,
 i.e. where I can map incoming URLs to action methods?

 Take a look on PrefixBasedActionMapper [1], it was included in version
 2.2.1 (under Vote)

 [1]
 https://cwiki.apache.org/confluence/display/WW/ActionMapper#PrefixBasedActionMapper


 Regards
 --
 Łukasz
 + 48 606 323 122 http://www.lenart.org.pl/
 Kapituła Javarsovia 2010 http://javarsovia.pl

 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org





 --
 Kevin

 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org





 -
 ---
 web: http://www.jgeppert.com
 twitter: http://twitter.com/jogep

 --
 View this message in context: 
 http://old.nabble.com/REST-and-Non-REST-actions-tp29213179p29215925.html
 Sent from the Struts - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org





-- 
Kevin

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: REST and Non-REST actions

2010-07-20 Thread Dale Newfield

On 7/20/10 11:37 AM, Johannes Geppert wrote:


you can get current release from here.

http://people.apache.org/builds/struts/2.2.1/


Except that it's not a release, yet.  It's currently just a build, and 
until the (currently ongoing) vote is concluded we won't know if it will 
become a release.


-Dale

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: REST and Non-REST actions

2010-07-20 Thread Frans Thamura
Stabilizing this topic will bring struts to his crown
(m)

-Original Message-
From: Johannes Geppert jo...@web.de
Date: Tue, 20 Jul 2010 08:37:41 
To: user@struts.apache.org
Reply-To: Struts Users Mailing List user@struts.apache.org
Subject: Re: REST and Non-REST actions


you can get current release from here.

http://people.apache.org/builds/struts/2.2.1/

Johannes


Kevin Jones-10 wrote:
 
 Thanks Lukasz,
 
 where can I grab the 2.2.1 bits? - there doesn't seem to be a link on
 the site. Do I need to get the sources and build it?
 
 Kevin
 
 On 20 July 2010 11:06, Lukasz Lenart lukasz.len...@googlemail.com wrote:
 2010/7/20 Kevin Jones kev.r.jo...@gmail.com:
 Simple question (I think),

 when using the REST plugin, can I have two 'controllers' one that
 expects REST urls/verbs and one that is a standard Struts2 Action,
 i.e. where I can map incoming URLs to action methods?

 Take a look on PrefixBasedActionMapper [1], it was included in version
 2.2.1 (under Vote)

 [1]
 https://cwiki.apache.org/confluence/display/WW/ActionMapper#PrefixBasedActionMapper


 Regards
 --
 Łukasz
 + 48 606 323 122 http://www.lenart.org.pl/
 Kapituła Javarsovia 2010 http://javarsovia.pl

 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org


 
 
 
 -- 
 Kevin
 
 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org
 
 
 


-
---
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep

-- 
View this message in context: 
http://old.nabble.com/REST-and-Non-REST-actions-tp29213179p29215925.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org