Re: about struts-examples apache/struts-examples -> bean-validation example

2015-09-03 Thread Christoph Nenning
org" , Struts Users > Mailing List , > Date: 03.09.2015 11:38 > Subject: Re: about struts-examples apache/struts-examples -> bean- > validation example > > Hello, > > The bean-validation example works now, after adding jboss-logging-3.1.1.GA.jar > > I didn

Re: about struts-examples apache/struts-examples -> bean-validation example

2015-09-03 Thread Chris
Hello, The bean-validation example works now, after adding jboss-logging-3.1.1.GA.jar I didn't know I could use a jboss file jar with only Netbeans 7.3 and Apache Tomcat 7.0.34.So the java jar file influence the validation and the message errors directly on html page. PS : with the exclude_

Re: about struts-examples https://github.com/apache/struts-examples

2015-09-02 Thread Lukasz Lenart
JBoss is using its own logging layer http://stackoverflow.com/questions/12615566/java-noclassdeffound-error 2015-09-02 15:48 GMT+02:00 Chris : > Thank you, > so I added the right 4.3.1.Final version but I also need app-validation. > > Then I noticed that even if the application starts, unfortuna

Re: about struts-examples https://github.com/apache/struts-examples

2015-09-02 Thread Chris
Same things renamming 01/09/2015  10:46   827ÿ024 log4j-core-2.3(1).jarin 01/09/2015  10:46        827ÿ024 log4j-core-2.3.jar Le Mercredi 2 septembre 2015 16h09, Chris a écrit : I am using the files23/11/2013  17:55    43ÿ578 asm-3.3.jar 23/11/2013  17:55

Re: about struts-examples https://github.com/apache/struts-examples

2015-09-02 Thread Chris
I am using the files23/11/2013  17:55    43ÿ578 asm-3.3.jar 23/11/2013  17:55    38ÿ275 asm-commons-3.3.jar 23/11/2013  17:55    21ÿ503 asm-tree-3.3.jar 19/02/2014  16:21    69ÿ002 commons-fileupload-1.3.1.jar 04/04/2014  11:19   185ÿ140 commons-io-2.4.jar 10

Re: about struts-examples https://github.com/apache/struts-examples

2015-09-02 Thread Chris
Thank you, so I added the right 4.3.1.Final version but I also need app-validation. Then I noticed that even if the application starts, unfortunately the tests in the form are not controled. Everything happens as if there were no control !. See ... without parameters..Updated Information Y

Re: about struts-examples https://github.com/apache/struts-examples

2015-09-02 Thread Lukasz Lenart
2015-09-01 19:50 GMT+02:00 Chris : > Hello, > It seems there are some new examples in apache/struts-examplesFrom A to Z1 ) > bean-validation2 ) blank3 ) jboss-blanc4 ) mailreader5 ) > restful2actionmapper6) themes_override Yes 1) to show how to use the new Bean Validation Plugin 2-4) moved from

Re: about struts-examples https://github.com/apache/struts-examples

2015-09-02 Thread Christoph Nenning
> It seems there are some new examples in apache/struts-examples Yeah, having more examples is great, isn't it? > bean-validation: It seems we need 2 jar Yes, as it is declared in poms. Regards, Christoph > From: Chris > To: "user@struts.apache.org" , > Date: 01.09.2015 19:53 > Subj

Re: About Struts Rest Plugin

2008-12-23 Thread Luis Gervaso
no comments? :( On Tue, Dec 23, 2008 at 3:05 AM, Luis Gervaso wrote: > I'm wondering why not the behaviour of the rest plugin is ... > > *For example* > > URL: > http://www.domain.com/myapp/restController/resource1/resource2/resource3/resource4/resource5 > > creates a mapping parent & child > > i

Re: About Struts Rest Plugin

2008-12-22 Thread Luis Gervaso
The reflection impl import java.lang.reflect.Method; import org.apache.struts2.convention.annotation.Action; import org.apache.struts2.convention.annotation.Result; public class RestAction extends HttpBaseAction { @Action(value="/rest/*", result...@result(name=HttpBaseAction.SUCCES

Re: About Struts Rest Plugin

2008-12-22 Thread Luis Gervaso
OK with convention plugin is possible to do code from RestAction @Action(value="/rest/*", result...@result(name=BaseAction.SUCCESS, location="/WEB-INF/content/rest-success.jsp")} ) public final String execute() { System.out.println(); System.out.println("PARENT : "

Re: About Struts Rest Plugin

2008-12-22 Thread Luis Gervaso
I have been trying to figure the solution, I'm using convention plugin and i need to map first every first child of http://www.domain.com/myapp/restController/to a "restaction" so http://www.domain.com/

Re: about struts, xml and xslt

2007-12-03 Thread Laurie Harper
logancillo wrote: Good days people, I need your help and experience. Could you recommend me some way to do some xslt work? Something as the tag xmlTemplate that has MyFaces in which you can provide the xml in brute and the xsl in brute and the result is html, xhtml, etc... I could use any thing,

Re: about Struts 2.0.9 portlet example ...

2007-10-24 Thread Nils-Helge Garli Hegvik
It is true that inter portlet communication is not supported in the JSR168 spec, but there are ways to exchange data between portlets in a less proprietary manner. The easiest way is to use the shared session scope which is available to all portlets in the same portlet application (same war file).

Re: about Struts 2.0.9 portlet example ...

2007-10-24 Thread Guillaume Bilodeau
Ok thanks, that's good to know. There is a strong recommendation coming from a colleague to use the IBM Portlet API on WebSphere Portal, particularly because of its support for inter-portlet communication - from what I'm told, this isn't supported by the standard JSR-168 API. I'm not too keen on

Re: about Struts 2.0.9 portlet example ...

2007-10-22 Thread Nils-Helge Garli Hegvik
The portlet support in the next 2.0.x and 2.1.x has been improved a lot. You can browse the changelogs and remaining issues in the issue tracker. It does not include Ajax support, but you can add that yourself. I know of several projects that are using it in production already. Nils-H On 10/23/07

Re: about Struts 2.0.9 portlet example ...

2007-10-22 Thread Guillaume Bilodeau
We will soon start a portal project and we're evaluating the technologies available to us. Is Struts2 support for portlets ready for primetime, or should we use something else until it's stabilized? Cheers, GB Nils-Helge Garli wrote: > > Hi! > > If you're thinking of the struts2-portlet appl

Re: about Struts 2.0.9 portlet example ...

2007-10-18 Thread Nils-Helge Garli Hegvik
Hi! If you're thinking of the struts2-portlet application, you need to install it into a portlet container to test it. However, ajax is not yet built into the portlet framework. Nils-H On 10/18/07, Giovanni Azua <[EMAIL PROTECTED]> wrote: > hi all, > > I managed to see the examples in the portle

RE: about struts.

2006-09-07 Thread Gaurav Jain
Add following code in server.xml to create a JNDI under context tag:- Here is the JNDI created for oracle DB factory org.apache.naming.factory.BeanFactory

Re: about struts.

2006-09-07 Thread Manfred Wolff
Hi. That's a little bit OT. The connection pool should be part of the tomcat configuration (or an other servlet engine). The server.xml may be a good part, better you place a xml into the $CATALINA_HOME/conf/Catalina/localhost folder such as: Then you are able to configure a connec

RE: about struts.

2006-09-07 Thread RoseIndia.net Help
Hi, You can use apache DBCP for connection pooling. Apache DBCP is free and robust connection pooling software. Have a look at http://www.roseindia.net/struts/strutsdatasourcemanagerontomcat5.shtml. Tutorial shows you how to use DBCP with tomcat for your struts applications. Regards Deepak Kumar

Re: about struts.

2006-09-07 Thread Jerome Gagner
WoW. On 9/6/06, amit fulambarkar <[EMAIL PROTECTED]> wrote: How can i implement connection pooling in struts. What will be the server.xml? and what the things i would have to do.Give the code. - To unsubscribe, e-mail: [EMAI

Re: about struts latest version

2006-02-16 Thread Gary Feidt
Please go to: http://struts.apache.org/ >>> [EMAIL PROTECTED] 2/15/2006 11:22:53 PM >>> Hi what is the latest version of struts.what are the new features added to this - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: About Struts

2006-01-30 Thread Kumar deepak
Hi Naveen, Please visit http://www.roseindia.net/struts Its very good tutorial for begineners Regards Deepak Kumar Naveen Sharma <[EMAIL PROTECTED]> wrote: I am a beginner at struts. Can u plz tell me the basics of Struts -

Re: About Struts + JBoss preference issue

2004-07-23 Thread Martin Gainty
out.. - Original Message - From: "Peng Tuck Kwok" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, July 23, 2004 9:32 AM Subject: Re: About Struts + JBoss preference issue > I think there should be an Ant task for this.

Re: About Struts + JBoss preference issue

2004-07-23 Thread HG
Thanx Raj. Wonderful. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 23, 2004 10:01 AM Subject: RE: About Struts + JBoss preference issue Hi, You can use Jspc task for the purpose. However, for Weblogic container, Wljspc

RE: About Struts + JBoss preference issue

2004-07-23 Thread tiwari.rajeev
Hi, You can use Jspc task for the purpose. However, for Weblogic container, Wljspc task is also vaiable. - regards Raj (+91-11-31261821) -Original Message- From: HG [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 1:18 PM To: Struts Users Mailing List Subject: Re: About Struts

Re: About Struts + JBoss preference issue

2004-07-23 Thread HG
Thanx Peng I will check it out.. - Original Message - From: "Peng Tuck Kwok" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, July 23, 2004 9:32 AM Subject: Re: About Struts + JBoss preference issue > I think t

Re: About Struts + JBoss preference issue

2004-07-23 Thread Peng Tuck Kwok
I think there should be an Ant task for this. As for actually compiling this, didn't really have to do that since the speed was acceptable. I think pre-compiling jsp was also a way to avoid javac memory leakage if memory serves. Jboss does support clustering, there should be some document somewher

Re: About Struts + JBoss preference issue

2004-07-22 Thread HG
Hi Peng > Well just a shot in the dark but maybe a slight speed up maybe achieved by > pre-compiling jsps possibly. Do you have any link or so, that explains this. Thinking of adding a "precompile jsp task" to my ANT script..? Regards Henrik --

Re: About Struts + JBoss preference issue

2004-07-22 Thread HG
Hi there > [To HG] > I said the problem deal with cluster means: > assume we have 3 servers (S1, S2, S3) form a cluster and one Struts > plugins deal with home object caching (P1) > > when the application start up, P1 with get all home interfaces from > the cluster and also create all home object

Re: About Struts + JBoss preference issue

2004-07-22 Thread Koon Yue Lam
yeah, I think so, thanks for advice ! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: About Struts + JBoss preference issue

2004-07-22 Thread Peng Tuck Kwok
Well just a shot in the dark but maybe a slight speed up maybe achieved by pre-compiling jsps possibly. On Fri, 23 Jul 2004 10:05:30 +0800, Koon Yue Lam <[EMAIL PROTECTED]> wrote: > Oh! thanks for all of these help ! > I don't expect over 10 mails in one night to this issue~~ > Maybe becasue the

Re: About Struts + JBoss preference issue

2004-07-22 Thread Koon Yue Lam
Oh! thanks for all of these help ! I don't expect over 10 mails in one night to this issue~~ Maybe becasue the timezone because I am from Hong Kong, ^^ [About Struts] After some testing, I prove myself wrong ! The delay wasn't cause by Struts, it is cause by JSP instead. The delay time is the time

RE: About Struts + JBoss preference issue

2004-07-22 Thread Raghuram Kanadam
22, 2004 4:47 PM To: Struts Users Mailing List Subject: RE: About Struts + JBoss preference issue Very True...Struts wont cause the delay...Anyhow Bean lookup and getting reference to the component interface bein remote calls are inherently slow in nature.So I think even with a normal servlet u

Re: About Struts + JBoss preference issue

2004-07-22 Thread HG
Hi Robert > This approach sounds similar to the Spring IoC framework. > Objects are defined in an xml file and a manager loads them > into memory. Your action class looks up beans using something > like: > MyBD bd = (MyBD)applicationContext.getBean("MyBD"); I wasn't aware of that. I have seen so

RE: About Struts + JBoss preference issue

2004-07-22 Thread Robert Taylor
rviceLocator or Singleton patterns. It provides declarative transaction services as well. Check it out here: http://www.springframework.org/ robert > -Original Message- > From: HG [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 22, 2004 5:22 AM > To: Struts Users Mailing List

RE: About Struts + JBoss preference issue

2004-07-22 Thread Aditya Athalye
PROTECTED] Cc: Subject: Re: About Struts + JBoss preference issue Because Struts is a layered application, you can stress test the performance of your data layer by itself. If the DAO is slow, or the SQL is slow, then Struts can't

RE: About Struts + JBoss preference issue

2004-07-22 Thread McCormack, Chris
missing a join etc. Chris -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Cekvenich Sent: 22 July 2004 12:10 To: [EMAIL PROTECTED] Subject: Re: About Struts + JBoss preference issue Because Struts is a layered application, you can stress test the performance of your

Re: About Struts + JBoss preference issue

2004-07-22 Thread Vic Cekvenich
Because Struts is a layered application, you can stress test the performance of your data layer by itself. If the DAO is slow, or the SQL is slow, then Struts can't serve it fast. So, test the performance of DAO layer. .V Koon Yue Lam wrote: Hi ! My application has change from Struts + Tomcat t

Re: About Struts + JBoss preference issue

2004-07-22 Thread HG
Hi Marco > right, so I assume every Action class that u write subclasses > PlugInManagerAction, correct? Correct > I don't like putting parenthesis :-) coz everything that I get > From ServletContext is an object > > It doesn't bother me much.. but I m still wandering if I can add > Let's s

Re: About Struts + JBoss preference issue

2004-07-22 Thread HG
> isn't that in a cluster the app server 'replicates' the JNDI tree, so > that u won't have to bother if one of the servers in a cluster shuts > down? Se my other post. I think it's up to the J2EE Server to provide "cluster transparacy" to the clients. > I m no expert in cluster, and I was wande

Re: About Struts + JBoss preference issue

2004-07-22 Thread HG
Hi > 2. If the application scale up to cluster, this design seems can't deal with it > (because the client always invoke remote object that was downloaded to > cache, which is not dynamically locate by app. server in a cluster > environment.) Is this really an issue? Maybe I do not understand you

RE: About Struts + JBoss preference issue

2004-07-22 Thread Marco Mistroni
Hello, >2. If the application scale up to cluster, this design seems can't deal >with it >(because the client always invoke remote object that was downloaded to >cache, which is not dynamically locate by app. server in a cluster >environment.) isn't that in a cluster the app server 'replicates' t

RE: About Struts + JBoss preference issue

2004-07-22 Thread Marco Mistroni
Hello, >But it could easily be a XML file, or anything else yes...personally I would 4 that unless u have particular requirements for storing it into the DB >> U use the PlugInMgr as singleton, correct? Coz right now I m following >> Similar 'approach' but I m storing the BD in the ServletCon

Re: About Struts + JBoss preference issue

2004-07-22 Thread Koon Yue Lam
some drawbacks I can see: 1. longer server start up time (but it is OK) 2. If the application scale up to cluster, this design seems can't deal with it (because the client always invoke remote object that was downloaded to cache, which is not dynamically locate by app. server in a cluster environme

Re: About Struts + JBoss preference issue

2004-07-22 Thread HG
Hi Marco > I have questions coz I m interested in that approach.. I am happy that you find it interesting :-) > I assume u have a config file for telling the PlugIn Mgr what > To load, correct? The plugins, names and classed that implement the plugin interface are stored in a table in a databa

RE: About Struts + JBoss preference issue

2004-07-22 Thread Marco Mistroni
, and what I don't like much is that every time I have to retrieve it, I have to Do a cast Regards marco -Original Message- From: HG [mailto:[EMAIL PROTECTED] Sent: 22 July 2004 09:26 To: Struts Users Mailing List Subject: Re: About Struts + JBoss preference issue G

Re: About Struts + JBoss preference issue

2004-07-22 Thread HG
nyone else who can see pitfalls to this approach..? Regards Henrik - Original Message - From: "Koon Yue Lam" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, July 22, 2004 9:31 AM Subject: Re: About Struts +

Re: About Struts + JBoss preference issue

2004-07-22 Thread Koon Yue Lam
Thanks ! It seems like a great solution and I will try that out tonight, thanks for help ^^ Regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: About Struts + JBoss preference issue

2004-07-22 Thread HG
Hi there Now, it shouldn't be much slower. However, there is a performance tradeoff when using EJB, specially remote ones like you do. One thing, that really speeds up things is to cache the home interface, when looking it up, or when the applications starts up. First use will still be slow, but s