回复: Problem with struts 2.3.4.1 & struts2-rest-showcase on Tomcat

2012-08-21 Thread kirk
有没有中国的 学生啊? Is there any chinese's students?QQ190250377 -- 原始邮件 -- 发件人: "Lukasz Lenart"; 发送时间: 2012年8月20日(星期一) 晚上7:58 收件人: "Struts Users Mailing List"; 主题: Re: Problem with struts 2.3.4.1 & struts2-rest-showcase on Tomcat

Re: Problem with struts 2.3.4.1 & struts2-rest-showcase on Tomcat

2012-08-20 Thread Frans Thamura
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/ > > -

Re: Problem with struts 2.3.4.1 & struts2-rest-showcase on Tomcat

2012-08-20 Thread Lukasz Lenart
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

Problem with struts 2.3.4.1 & struts2-rest-showcase on Tomcat

2012-08-13 Thread Mike Esler
Hello all, I'm having problems running the struts2-rest-showcase WAR that is packaged with Struts 2.3.4.1 (2.3.4 as well). Both Tomcat and Struts should be stock configurations. The other struts showcases seem to work fine. Should this showcase work on a stock Tomcat build for win64?

Re: Struts 2 Rest Showcase Example : Issue in understanding code

2012-05-01 Thread rahul bhalla
http://viralpatel.net/blogs/2009/12/introduction-to-struts-2-framework.html I started learning from above tutorial i hope this will also help you to learn Struts2

Re: Struts 2 Rest Showcase Example : Issue in understanding code

2012-05-01 Thread Dave Newton
On Tue, May 1, 2012 at 4:33 AM, Srineel Mazumdar wrote: > 1) What is meant by : > @Results({ >@Result(name="success", type="redirectAction", params = {"actionName" , > "orders"}) > }) > > in OrdersController.java ? > http://struts.apache.org/2.x/docs/convention-plugin.html > 2) Meaning of t

Re: Struts 2 Rest Showcase Example : Issue in understanding code

2012-05-01 Thread Srineel Mazumdar
browsing through a couple of > examples. > > Cheers, > > Steve > > -Original Message- > From: Srineel Mazumdar [mailto:smaz19...@gmail.com] > Sent: 01 May 2012 09:34 > To: Struts Users Mailing List > Subject: Struts 2 Rest Showcase Example : Issue in under

RE: Struts 2 Rest Showcase Example : Issue in understanding code

2012-05-01 Thread Steve Higham
34 To: Struts Users Mailing List Subject: Struts 2 Rest Showcase Example : Issue in understanding code Hi, I am new to Struts 2 and hence I am downloading the the samples from Apache site. Struts 2 Rest Showcase Example is the one I am refering to. I have the follwoing questions : 1) What is mea

Struts 2 Rest Showcase Example : Issue in understanding code.

2012-05-01 Thread Srineel Mazumdar

Validation doesn't seem to work with struts2-rest-showcase 2.3.1.2 example

2012-03-07 Thread firstclick
message in context: http://struts.1045723.n5.nabble.com/Validation-doesn-t-seem-to-work-with-struts2-rest-showcase-2-3-1-2-example-tp5545443p5545443.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe

Re: How to setup package based on Struts2-REST-Showcase app?

2009-11-04 Thread jamestan
Since I have not seen your struts.xml, I can just reply based on some assumption. Please make sure your package name is website, e.g. HTH J Haulyn R. Jason wrote: > > Hi, all > > I test my application based on Struts2-REST-Showcase.2.1.2Beta app. > Without any changes, it

Re: Struts 2 - REST showcase

2008-11-12 Thread Felippe Scheidt
unpack file "struts-2.1.2-apps.zip" available in http://struts.apache.org/download.cgi inside you can find struts-rest-showcase war file. Felippe On Wed, Nov 12, 2008 at 11:29 AM, Narayana S <[EMAIL PROTECTED]> wrote: > Hi, > > can any one please let me know wher

Struts 2 - REST showcase

2008-11-12 Thread Narayana S
Hi, can any one please let me know where can i download struts 2 REST showcase examples zip? Thanks in advance.

Re: How to setup package based on Struts2-REST-Showcase app?

2008-10-14 Thread Haulyn Jason
ECTED] Skype:saharabear Haulyn Runner Jason - Original Message From: Musachy Barroso <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Tuesday, October 14, 2008 10:24:29 PM Subject: Re: How to setup package based on Struts2-REST-Showcase app? You don't need to send the sam

Re: How to setup package based on Struts2-REST-Showcase app?

2008-10-14 Thread Musachy Barroso
You don't need to send the same email every 10 mins, this is the 5th I get. musachy On Tue, Oct 14, 2008 at 10:20 AM, Haulyn Jason <[EMAIL PROTECTED]> wrote: > Hi, all > > I test my application based on Struts2-REST-Showcase.2.1.2Beta app. > Without any changes, it work

How to setup package based on Struts2-REST-Showcase app?

2008-10-14 Thread Haulyn Jason
Hi, all I test my application based on Struts2-REST-Showcase.2.1.2Beta app. Without any changes, it works well and looks pretty good. But I need to do something more, so I create struts.xml and set up some new Interceptors and packages. I want to reset the package of OrdersController. I mean I

How to setup package based on Struts2-REST-Showcase app

2008-10-14 Thread Haulyn R. Jason
Hi, all I test my application based on Struts2-REST-Showcase.2.1.2Beta app. Without any changes, it works well and looks pretty good. But I need to do something more, so I create struts.xml and set up some new Interceptors and packages. I want to reset the package of OrdersController. I mean I

How to setup package based on Struts2-REST-Showcase app?

2008-10-14 Thread Haulyn R. Jason
Hi, all I test my application based on Struts2-REST-Showcase.2.1.2Beta app. Without any changes, it works well and looks pretty good. But I need to do something more, so I create struts.xml and set up some new Interceptors and packages. I want to reset the package of OrdersController. I mean I

How to setup package based on Struts2-REST-Showcase app?

2008-10-14 Thread Haulyn R. Jason
Hi, all I test my application based on Struts2-REST-Showcase.2.1.2Beta app. Without any changes, it works well and looks pretty good. But I need to do something more, so I create struts.xml and set up some new Interceptors and packages. I want to reset the package of OrdersController. I mean I

How to configurate struts2 based on Struts2-REST-Showcase app?

2008-10-14 Thread Haulyn R. Jason
Hi, all I test my application based on Struts2-REST-Showcase.2.1.2Beta app. Without any changes, it works well and looks pretty good. But I need to do something more, so I create struts.xml and set up some new Interceptors and packages. I want to reset the package of OrdersController. I mean I

Re: REST Showcase 2.1.2

2008-09-02 Thread Jeromy Evans
Al Sutton wrote: Scott, Annotations serve a very useful purpose, and unless you're using a JRE less than version 5 they're worth the effort. Similar thoughts here. I found using validation annotations within actions and XML validation for models (visitor validation) was a good compromise.

Re: REST Showcase 2.1.2

2008-09-01 Thread Al Sutton
Scott, Annotations serve a very useful purpose, and unless you're using a JRE less than version 5 they're worth the effort. I didn't think they were worth it until I had an opportunity to write a Struts2/Hibernate app from scratch and saw how it moved a lot of the config from a dis-associate

Re: REST Showcase 2.1.2

2008-09-01 Thread Wes Wannemacher
What's wrong with annotations, and more importantly - How hot is your sister?! (sorry, couldn't resist) -Wes On Mon, 2008-09-01 at 08:57 -0500, [EMAIL PROTECTED] wrote: > Thanks Jeromy -- > > I'd rather sleep with my sister than embed annotations in my code. This > notwithstanding, I underst

Re: REST Showcase 2.1.2

2008-09-01 Thread stanlick
> > From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> > > Subject: Re: REST Showcase 2.1.2 > > To: "Struts Users Mailing List" > > Date: Monday, September 1, 2008, 10:03 AM > > Someone should update the REST plug-in docs so others > > don't waste day

Re: REST Showcase 2.1.2

2008-09-01 Thread Dave Newton
Become the change you desire. http://struts.apache.org/helping.html#documentation Dave --- On Mon, 9/1/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> > Subject: Re: REST Showcase 2.1.2 > To: "Struts Users Mailing List&q

Re: REST Showcase 2.1.2

2008-09-01 Thread stanlick
Someone should update the REST plug-in docs so others don't waste days trying something that WILL NOT work as designed. Validation permutations can be tricky enough without chasing a dead end. On Mon, Sep 1, 2008 at 8:57 AM, <[EMAIL PROTECTED]> wrote: > Thanks Jeromy -- > > I'd rather sleep wit

Re: REST Showcase 2.1.2

2008-09-01 Thread stanlick
Thanks Jeromy -- I'd rather sleep with my sister than embed annotations in my code. This notwithstanding, I understand your reluctance to add yet another permutation to that lookup scheme. I poked around in the code back in 2.0 and nearly got a nose bleed. I hope there are a ton of unit tests a

Re: REST Showcase 2.1.2

2008-09-01 Thread Jeromy Evans
stanlick wrote: Also, what is the naming convention for validation xml files using the Code Behind/REST plug-in? I've tried several combinations of naming, but none seem to work. The short answer is: you can't. It doesn't work. Fortunately annotation validation works correctly in 2.1

Re: REST Showcase 2.1.2

2008-08-30 Thread stanlick
- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/REST-Showcase-2.1.2-tp19228759p19232956.html Sent from the Struts - User mailing list archive at Nabble.com. ---

Re: REST Showcase 2.1.2

2008-08-29 Thread Jeromy Evans
stanlick wrote: So any ideas why the model is being created inside the action and not injected by the framework? private Order model = new Order(); I think Don was just being lazy in the quick example ;-) I load or create the model in the appropriate prepare method. All that matters is t

Re: REST Showcase 2.1.2

2008-08-29 Thread stanlick
Also, what is the naming convention for validation xml files using the Code Behind/REST plug-in? I've tried several combinations of naming, but none seem to work. -- View this message in context: http://www.nabble.com/REST-Showcase-2.1.2-tp19228759p19229925.html Sent from the Struts -

Re: REST Showcase 2.1.2

2008-08-29 Thread stanlick
ssue. I think it came up originally because of the double call to > getModel() in the interceptor or something? > > Dave > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail:

Re: REST Showcase 2.1.2

2008-08-29 Thread Dave Newton
--- On Fri, 8/29/08, stanlick <[EMAIL PROTECTED]> wrote: > Also, what's with the ModelDriven refreshModelBeforeResult? I > haven't seen that one before! Don't see it in the > http://struts.apache.org/2.x/docs/model-driven-interceptor.html > guide Is this a guide/version deal? It hasn't been d

Re: REST Showcase 2.1.2

2008-08-29 Thread stanlick
instantiation? I notice it is being constructed during the Action >> initialization and without it, fails in the create method with a NPE. >> How >> much different is the lifecycle when using the REST plug-in? >> >> -- >> View this message in context: >> ht

Re: REST Showcase 2.1.2

2008-08-29 Thread Musachy Barroso
te the model object Order on > action instantiation? I notice it is being constructed during the Action > initialization and without it, fails in the create method with a NPE. How > much different is the lifecycle when using the REST plug-in? > > -- > View this message in context

REST Showcase 2.1.2

2008-08-29 Thread stanlick
this message in context: http://www.nabble.com/REST-Showcase-2.1.2-tp19228759p19228759.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: struts 2 rest showcase example

2008-01-08 Thread Jeromy Evans
raju wrote: Hi, I am trying to find struts 2 rest showcase example and try it out.Can someone please let me know where i could find the code for download? Regards Raj If you download the trunk of the Struts2.1 source using subversion, you'll find it in struts2\apps\rest-showcase.

struts 2 rest showcase example

2008-01-08 Thread raju
Hi, I am trying to find struts 2 rest showcase example and try it out.Can someone please let me know where i could find the code for download? Regards Raj -- View this message in context: http://www.nabble.com/struts-2-rest-showcase-example-tp14687694p14687694.html Sent from the Struts - User

Re: REST Showcase

2007-12-09 Thread Wendy Smoak
On Dec 9, 2007 9:58 AM, Martin Gainty <[EMAIL PROTECTED]> wrote: > Good Morning Piero > in my test pom.xml in plugin-repositories if I configure the suggested > pluginRespository > > apache.snapshots > Apache Maven Repository (Snapshots and Test Builds) >

Re: REST Showcase

2007-12-09 Thread Piero Sartini
> > apache.snapshots > Apache Maven Repository (Snapshots and Test > Builds) > > http://people.apache.org/repo/m2-snapshot-repository/ > false > false > You disabled releases as well as snapshots? Don't know if this is the reason for

Re: REST Showcase

2007-12-09 Thread Martin Gainty
m: "Piero Sartini" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, December 09, 2007 10:48 AM Subject: Re: REST Showcase > > If you've used Maven before you're probably better off checking out the > > source and performing your own

Re: REST Showcase

2007-12-09 Thread Piero Sartini
> If you've used Maven before you're probably better off checking out the > source and performing your own build. It would take less than 10-30 > mins to setup. > http://struts.apache.org/2.x/docs/building-the-framework-from-source.html If maven is used, 2.1.1-SNAPSHOT should work:

Re: REST Showcase

2007-12-08 Thread Jeromy Evans
Frans Thamura wrote: anyone have a binary distribution of newest struts with REST You could try downloading an unstable binary distribution of struts 2.1: http://people.apache.org/builds/struts/2.1.0/ However, REST is currently in the struts sandbox so I'm not sure it's included in

Re: REST Showcase

2007-12-08 Thread Martin Gainty
> anyone have a binary distribution of newest struts with REST MG>start here.. http://cwiki.apache.org/S2PLUGINS/smarturls-plugin.html so i can test it, even unstable. MG>are you requesting a non-GA release??? > F > - To unsu

REST Showcase

2007-12-08 Thread Frans Thamura
hi there anyone have a binary distribution of newest struts with REST, so i can test it, even unstable. F