[ANN] Apache Struts 2: possible RCE in the Struts Showcase app in the Struts 1 plugin example in the Struts 2.3.x series

2017-07-07 Thread Lukasz Lenart
application. - S2-048 Possible RCE in the Struts Showcase app in the Struts 1 plugin example in Struts 2.3.x series http://struts.apache.org/docs/s2-048.html http://struts.apache.org/announce.html#a20170707 NOTE: Please notice that this vulnerability does not affect applications using Struts 2.5.x series

Re: Tiles: Upgrade from struts2-tiles3-plugin to struts2-tiles-plugin gives a NoSuchDefinitionException => Same Problem can be reproduces with struts2-showcase-2.5.10.1

2017-04-17 Thread Lukasz Lenart
GMT+02:00 : > > I tried 3 different Tomcat versions on Windows 10. Version 6.0.47, > 7.0.72 and 9.0.0.M13. All Versions had the same behaviour (tiles of > struts2-showcase-2.5.10.1 is not working, NoSuchDefinitionException is > thrown). > > But: It is working fine when I de

Re: Tiles: Upgrade from struts2-tiles3-plugin to struts2-tiles-plugin gives a NoSuchDefinitionException => Same Problem can be reproduces with struts2-showcase-2.5.10.1

2017-04-17 Thread programmierer
> 7.0.72 and 9.0.0.M13. All Versions had the same behaviour (tiles of > struts2-showcase-2.5.10.1 is not working, NoSuchDefinitionException is > thrown). > > But: It is working fine when I define the config by hand! :) > > Running on Windows 10 seems to require the config by h

Re: Tiles: Upgrade from struts2-tiles3-plugin to struts2-tiles-plugin gives a NoSuchDefinitionException => Same Problem can be reproduces with struts2-showcase-2.5.10.1

2017-04-14 Thread Lukasz Lenart
/tiles/StrutsTilesInitializer.java#L40 Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2017-04-12 20:57 GMT+02:00 : > I tried 3 different Tomcat versions on Windows 10. Version 6.0.47, > 7.0.72 and 9.0.0.M13. All Versions had the same behaviour (tiles of > struts2-showcase

Re: Tiles: Upgrade from struts2-tiles3-plugin to struts2-tiles-plugin gives a NoSuchDefinitionException => Same Problem can be reproduces with struts2-showcase-2.5.10.1

2017-04-12 Thread programmierer
I tried 3 different Tomcat versions on Windows 10. Version 6.0.47, 7.0.72 and 9.0.0.M13. All Versions had the same behaviour (tiles of struts2-showcase-2.5.10.1 is not working, NoSuchDefinitionException is thrown). But: It is working fine when I define the config by hand! :) Running on Windows

Re: Tiles: Upgrade from struts2-tiles3-plugin to struts2-tiles-plugin gives a NoSuchDefinitionException => Same Problem can be reproduces with struts2-showcase-2.5.10.1

2017-04-11 Thread Lukasz Lenart
2017-04-11 16:24 GMT+02:00 : > On Linux (Ubuntu 16.4): struts2-tiles-plugin (Version 2.5.10.1) works > fine => same source (same war-file) and same Tomcat-Version Did you try to use a different Tomcat version? Did you try to define configs by hand? org.apache.tiles.definition.DefinitionsFact

Tiles: Upgrade from struts2-tiles3-plugin to struts2-tiles-plugin gives a NoSuchDefinitionException => Same Problem can be reproduces with struts2-showcase-2.5.10.1

2017-04-11 Thread programmierer
ws-Systems: On Windows: struts2-tiles-plugin (Version 2.5.10.1) delivers a NoSuchDefinitionException On Linux (Ubuntu 16.4): struts2-tiles-plugin (Version 2.5.10.1) works fine => same source (same war-file) and same Tomcat-Version Then I just thought "give it a try with struts2-sho

回复: 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 60

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

S2 2.2.1 Showcase + REST

2010-07-17 Thread Frans Thamura
hi all is the S2 2.2.1 is the fix to make the .action can work with REST plugins anyone work on it, i see the example of REST and shwocase still 2 different .war -- Frans Thamura Meruvian. We grow because we share the same believe. Mobile: +6287885901958 Blog & Profile: http://frans.thamura

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: Performance issues in showcase sample struts 2.1.6 application

2009-06-27 Thread Wes Wannemacher
443 >>> devMode false >>> struts.devMode false >>> struts.ui.templateDir template >>> struts.enable.SlashesInActionNames false >>> struts.velocity.toolboxlocation >>> struts.objectFactory spring >>> struts.freemarker.manager.classname customFreemarkerMan

Re: Performance issues in showcase sample struts 2.1.6 application

2009-06-26 Thread Musachy Barroso
ager >> struts.ui.templateSuffix ftl >> struts.objectFactory.spring.autoWire.alwaysRespect false >> struts.codebehind.pathPrefix / >> struts.multipart.saveDir >> struts.ui.theme xhtml >> struts.i18n.encoding UTF-8 >> struts.freemarker.beanwrapperCache false >>

Re: Performance issues in showcase sample struts 2.1.6 application

2009-06-26 Thread Daniel Guryca
t; struts.objectFactory.spring.autoWire.alwaysRespect false > struts.codebehind.pathPrefix / > struts.multipart.saveDir > struts.ui.theme xhtml > struts.i18n.encoding UTF-8 > struts.freemarker.beanwrapperCache false > > > regards > Daniel > > On Fri, Jun 26, 2009 at 5:35 PM, D

Re: Performance issues in showcase sample struts 2.1.6 application

2009-06-26 Thread Daniel Guryca
deployed included showcase sample application on to my tomcat 6. > > I'm very amazed how SLOWLY it runs. > I'm looking for a framework for my company and Struts 2 seems very good to me > (I have a previous experience with grails which is good for smaller > applications

Performance issues in showcase sample struts 2.1.6 application

2009-06-26 Thread Daniel Guryca
Hi, I have just deployed included showcase sample application on to my tomcat 6. I'm very amazed how SLOWLY it runs. I'm looking for a framework for my company and Struts 2 seems very good to me (I have a previous experience with grails which is good for smaller applications but too un

Re: struts2-showcase on OC4J

2009-04-08 Thread Lukasz Lenart
2009/4/9 Mick_ : > Here is the pertinent data from the logs: > > 09/04/08 18:04:41.468 struts2-showcase-2.1.6: Servlet error > java.lang.NullPointerException >    at > com.opensymphony.xwork2.util.FileManager$FileRevision.needsReloading(FileManager.java:209) >    at >

Re: struts2-showcase on OC4J

2009-04-08 Thread Musachy Barroso
e: >> >> And what does the application log say? >> > Here is the pertinent data from the logs: > > 09/04/08 18:04:41.468 struts2-showcase-2.1.6: Servlet error > java.lang.NullPointerException >    at > com.opensymphony.xwork2.util.FileManager$FileRevis

Re: struts2-showcase on OC4J

2009-04-08 Thread Musachy Barroso
class org.apache.struts2.dispatcher.mapper.ActionMapping > showcase > / > > > //so in your /WEB-INF/classes/struts-default.xml you would need to change > //the action name to struts.actionMapping as here > >     > > >         &

RE: struts2-showcase on OC4J

2009-04-08 Thread Martin Gainty
//PrepareOperations.findActionMapping method contains this hardcoded lookup struts.actionMapping //PrepareInterceptor has this Action class mapping class org.apache.struts2.dispatcher.mapper.ActionMapping showcase / //so in your /WEB-INF/classes/struts-default.xml you would need to change

Re: struts2-showcase on OC4J

2009-04-08 Thread Mick_
Nils-Helge Garli wrote: > > And what does the application log say? > Here is the pertinent data from the logs: 09/04/08 18:04:41.468 struts2-showcase-2.1.6: Servlet error java.lang.NullPointerException at com.opensymphony.xwork2.util.FileManager$FileRevision.needs

Re: struts2-showcase on OC4J

2009-04-08 Thread Nils-Helge Garli Hegvik
> Servlet error: An exception occurred. The current application deployment > descriptors do not allow for including it in this response. Please consult > the application log for details. And what does the application log say? Nils-H ---

struts2-showcase on OC4J

2009-04-08 Thread Mick_
I am trying to deploy the struts2-showcase but when I try to access the application I get the error below. Any ideas about how I can get it working? 500 Internal Server Error Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in

Re: NPE initializing 2.1.6 showcase in Tomcat 6.0.18

2009-01-23 Thread Lukasz Lenart
2009/1/22 Jan Fröhlich : > And if - are there any other work arounds than installing tomcat in a > different path, cause I have to use a preinstalled tomcat in a path with > blank spaces. You can checkout XWork and build it for your self or I can share my build, then you have to only replace tha

Re: NPE initializing 2.1.6 showcase in Tomcat 6.0.18

2009-01-22 Thread Musachy Barroso
fixed in xwork trunk, not that it helps much musachy On Thu, Jan 22, 2009 at 3:00 PM, Lukasz Lenart wrote: > 2009/1/22 Jan Fröhlich : >> is that already verified, that the NPE occurs cause of the spaces in the >> path names? >> And if - are there any other work arounds than installing tomca

Re: NPE initializing 2.1.6 showcase in Tomcat 6.0.18

2009-01-22 Thread Lukasz Lenart
2009/1/22 Jan Fröhlich : > is that already verified, that the NPE occurs cause of the spaces in the path > names? > And if - are there any other work arounds than installing tomcat in a > different path, cause I have to use a preinstalled tomcat in a path with > blank spaces. Yes, I can confirm

RE: AW: NPE initializing 2.1.6 showcase in Tomcat 6.0.18

2009-01-22 Thread Martin Gainty
lizing 2.1.6 showcase in Tomcat 6.0.18 > > Jan Fröhlich wrote: > > And if - are there any other work arounds than installing tomcat in a > > different path, cause I have to use a preinstalled tomcat in a path > > with blank spaces. > > I didn't see any other response

Re: AW: NPE initializing 2.1.6 showcase in Tomcat 6.0.18

2009-01-22 Thread Dale Newfield
Jan Fröhlich wrote: And if - are there any other work arounds than installing tomcat in a different path, cause I have to use a preinstalled tomcat in a path with blank spaces. I didn't see any other responses, so I'll throw out the obvious answer that may or may not work: Have you tried addi

AW: NPE initializing 2.1.6 showcase in Tomcat 6.0.18

2009-01-22 Thread Jan Fröhlich
- Von: Giovanni Azua [mailto:brave...@swissonline.ch] Gesendet: Freitag, 16. Januar 2009 12:49 An: 'Struts Users Mailing List' Betreff: RE: NPE initializing 2.1.6 showcase in Tomcat 6.0.18 hi there! Ok now the showcase works for me too. I think I found the cause of the problem. (Under

RE: NPE initializing 2.1.6 showcase in Tomcat 6.0.18

2009-01-16 Thread Giovanni Azua
hi there! Ok now the showcase works for me too. I think I found the cause of the problem. (Under Windows XP) - If I install Tomcat under "C:\Program Files\Apache Software Foundation\Tomcat" (as the Tomcat Windows service installer does) the NPE occurs - OTOH if I install Tomcat und

Re: NPE initializing 2.1.6 showcase in Tomcat 6.0.18

2009-01-16 Thread Lukasz Lenart
2009/1/16 Lukasz Lenart : >> I installed Tomcat service and drop the war that comes within the >> struts-2.1.6-all.zip and then saw the NPE blow. I restarted the showcase >> several times from Tomcat manager but still got the NPE. > I've started it from console (via

Re: NPE initializing 2.1.6 showcase in Tomcat 6.0.18

2009-01-16 Thread Lukasz Lenart
2009/1/16 Giovanni Azua : > I have the same here: > > Struts 2.1.6 > Tomcat 6.0.18 > JSE JDK 1.6.0_11 > Windows XP > > I installed Tomcat service and drop the war that comes within the > struts-2.1.6-all.zip and then saw the NPE blow. I restarted the showcase > sev

RE: NPE initializing 2.1.6 showcase in Tomcat 6.0.18

2009-01-16 Thread Giovanni Azua
hi Lukasz, I have the same here: Struts 2.1.6 Tomcat 6.0.18 JSE JDK 1.6.0_11 Windows XP I installed Tomcat service and drop the war that comes within the struts-2.1.6-all.zip and then saw the NPE blow. I restarted the showcase several times from Tomcat manager but still got the NPE. Now that I

Re: NPE initializing 2.1.6 showcase in Tomcat 6.0.18

2009-01-15 Thread Lukasz Lenart
JDK 1.6_11 Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: NPE initializing 2.1.6 showcase in Tomcat 6.0.18

2009-01-15 Thread Lukasz Lenart
I made the same setup, no problems. Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: NPE initializing 2.1.6 showcase in Tomcat 6.0.18

2009-01-15 Thread Musachy Barroso
have just freshly installed Tomcat 6.0.18 and the newest Struts 2.1.6 > showcase but starting the context fails with NPE :( > > Best regards, > Giovanni > > java.lang.NullPointerException >at > com.opensymphony.xwork2.util.FileManager$FileRevision.

NPE initializing 2.1.6 showcase in Tomcat 6.0.18

2009-01-15 Thread Giovanni Azua
Hi, I have just freshly installed Tomcat 6.0.18 and the newest Struts 2.1.6 showcase but starting the context fails with NPE :( Best regards, Giovanni java.lang.NullPointerException at com.opensymphony.xwork2.util.FileManager$FileRevision.needsReloading(FileMan ager.java:209) at

About a simple test case on struts-showcase-2.0.12 and struts-blank-2.0.12

2008-12-01 Thread jingxuan liu
*Hi, Dear all:* ** *I wrote a simple test case which want to visit ** http://localhost:8080/struts2-blank-2.0.12/example/Menu.jsp*<http://localhost:8080/struts2-blank-2.0.12/example/Menu.jsp> * and **http://localhost:8080/struts2-showcase-2.0.12/tags/non-ui/debug.jsp*<http://local

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.

Rest App showcase

2008-11-08 Thread Felippe Scheidt
Hi all, i'm trying struts2-rest-showcase. The orders example works fine. Now i'm wondering how to access a product related to a order. Let's image that a order has many products. For example, to access the order it's just http://.../webapp/orders so, to get a product of som

showcase ajax validation example

2008-11-04 Thread Frank Maritato
Hi, I noticed the struts-2.0.11.2 showcase ajax validation example doesn't give an error if you load the page, do nothing and just click submit. This a bug? -- Frank Maritato - To unsubscribe, e-mail: [EMAIL PROTECTED

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: How does action mapping work on Struts2 Showcase example application?

2008-10-13 Thread Julio Alberto Jalón
You are rigth. There it was the mistery Thanks a lot - Mensaje original De: Dave Newton <[EMAIL PROTECTED]> Para: Struts Users Mailing List Enviado: lunes, 13 de octubre, 2008 15:22:45 Asunto: Re: How does action mapping work on Struts2 Showcase example application? ---

Re: How does action mapping work on Struts2 Showcase example application?

2008-10-13 Thread Dave Newton
--- On Mon, 10/13/08, Julio Alberto Jalón wrote: > Specifically I refer to "Person-Manager" functionallity. There is no > action reference to this part in struts.xml or struts-person.xml or > any xmle file. How is it working then? Is it using a sort of > wildcards? But, where is it configure? >

How does action mapping work on Struts2 Showcase example application?

2008-10-13 Thread Julio Alberto Jalón
Specifically I refer to "Person-Manager" functionallity. There is no action reference to this part in struts.xml or struts-person.xml or any xmle file. How is it working then? Is it using a sort of wildcards? But, where is it configure? Thanks in advance.

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
[EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/REST-Showcase-2.1.2-tp19228759p19229834.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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
: > 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 com

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: How To deploy struts showcase application in Netbeans

2008-01-24 Thread Nuwan Chandrasoma
Hi, for my understanding NetBean is an IDE and if you have the project setup in NetBean you can run it with the application server/ servlet container you have configured in there. what i would suggest is to deploy this .war file in Tomcat. Thanks, Nuwan (http://code.google.com/p/struts2-ssl

How To deploy struts showcase application in Netbeans

2008-01-24 Thread mohammed hussain
HI Sorry for asking silly quesstion ,i have downloaded showcase.war file from struts site,can any body tell me how to deploy that file in netbean.awaiting for ur reply - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

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: struts2-showcase-2.0.11 ajax is not working under IE 7

2007-12-13 Thread Musachy Barroso
"666 Struts2BaseAjaxAction.java" 666 and Ajax together can't be good :) musachy On Dec 13, 2007 6:22 AM, Christopher Cheng <[EMAIL PROTECTED]> wrote: > It's the autocompleter that doesn't work > http://www.planetstruts.org/struts2-showcase/ajax/autocomplete

Re: struts2-showcase-2.0.11 ajax is not working under IE 7

2007-12-13 Thread Christopher Cheng
It's the autocompleter that doesn't work http://www.planetstruts.org/struts2-showcase/ajax/autocompleter/ It is perfect under Firefox, but not under IE7 I have an existing written in S1 years ago using the dated ajaxtag (http://ajaxtags.sourceforge.net/) Since dojo's autocomplet

Re: struts2-showcase-2.0.11 ajax is not working under IE 7

2007-12-12 Thread Jeromy Evans
Christopher Cheng wrote: It seems that struts2-showcase-2.0.11 ajax under tomcat-5.5 doesn't work on IE 7 but IE6 and firefox only Is there a patch or a newer version of dojo will make it work? What happens (or doesn't happen)? I apply only one work-around and one patch for IE

struts2-showcase-2.0.11 ajax is not working under IE 7

2007-12-12 Thread Christopher Cheng
It seems that struts2-showcase-2.0.11 ajax under tomcat-5.5 doesn't work on IE 7 but IE6 and firefox only Is there a patch or a newer version of dojo will make it work? - To unsubscribe, e-mail: [EMAIL PROTECTED

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

Some problem with the showcase app

2007-12-06 Thread Vencent Chen
Hi, I got problem when I test the showcase app.It is in the "Use a button as submit (custom text)" of "ajax/remotebutton/" example.When I input some Chinese,and send it.I got part of my input back.Means I lost some characters(English work correctly).See the attachement.

Re: [S2] Websphere 6.1 Showcase application, Response already committed warning in logs

2007-10-28 Thread vamsi
Can u post the complete stacktrace. - Original Message - From: "Paul Benedict" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, October 29, 2007 10:15 AM Subject: Re: [S2] Websphere 6.1 Showcase application, Response already committed wa

Re: [S2] Websphere 6.1 Showcase application, Response already committed warning in logs

2007-10-28 Thread Paul Benedict
Test your app in Tomcat. If it works there, you have a WebSphere problem. In my experience, WebSphere is a big bloated mess but I know that doesn't help you. However, you need to determine if it is a bug within WAS itself. Paul On 10/24/07, patb23 <[EMAIL PROTECTED]> wrote: > > > Hi, > I am using

Re: [S2] Websphere 6.1 Showcase application, Response already committed warning in logs

2007-10-24 Thread patb23
27;s the key - what you also have to do, is set > com.ibm.ws.webcontainer.invokefilterscompatibility custom property on your > web container settings to 'true' for the fix to take effect. > > Hoorah! The struts2-blank, struts2-showcase also works great, as well as > the AJ

Re: Struts Showcase Links Broken?

2007-10-11 Thread Phil404
Of course, the source is available... Phil -- View this message in context: http://www.nabble.com/Struts-Showcase-Links-Broken--tf4610006.html#a13165773 Sent from the Struts - User mailing list archive at Nabble.com. - To

Re: Struts Showcase Links Broken?

2007-10-11 Thread Phil404
I get the same error with the distro Phil -- View this message in context: http://www.nabble.com/Struts-Showcase-Links-Broken--tf4610006.html#a13165656 Sent from the Struts - User mailing list archive at Nabble.com. - To

Re: Struts Showcase Links Broken?

2007-10-11 Thread Dave Newton
--- Phil404 <[EMAIL PROTECTED]> wrote: > http://www.planetstruts.org/struts2-showcase/filedownload/index.jsp FYI, showcase is also available in the distro. d. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Struts Showcase Links Broken?

2007-10-11 Thread Phil404
Go to: http://www.planetstruts.org/struts2-showcase/filedownload/index.jsp Click "View Sources" and then click "Configuration". I get "Unknown Configuration". Also, If I click "Java Action", I get "Unknown or unavailable Action class".

Validation in showcase examples

2007-09-18 Thread Dean Pullen
Not sure what your feelings are, but I've noticed the showcase application example uses the commons validator for validation. Would it make more sense for the validation (what little there is in that app) to be changed to use the Xworks validator, considering this is what the Str

  1   2   >