Thanks, I'll try it.
-Original Message-
From: Dave Newton [mailto:davelnew...@gmail.com]
Sent: Friday, February 20, 2015 14:44
To: Struts Users Mailing List
Subject: Re: Struts Spring dependency
(Personally, I'd just try it.)
If it's not being used, it's not being
(Personally, I'd just try it.)
If it's not being used, it's not being used--we don't have any way of
knowing if it *actually* isn't being used short of looking at it, but if
you say it works without it, then it probably isn't.
Dave
On Fri, Feb 20, 2015 at 8:42 AM, Tamer Erdogan
wrote:
> Hi,
>
Could you please explain further what it is you are trying to do. Struts2
does things differently, if you are open to change there is probably a nice
way to resolve your issue. If we know a bit more... I'm certain we could
supply a much better answer than telling you to use the "chain" result
type.
2012/3/5 Puneet Babbar 2 :
> This may sound dumb, but I am new and don’t know about CLA.
> What is CLA?
https://cwiki.apache.org/WW/editing-the-documentation.html
> And where can I file the issue?
https://issues.apache.org/jira/browse/WW
Regards
--
Łukasz http://www.lenart.org.pl/
mobile +48
Subject: Re: Struts, spring integration while using struts annotations
2012/3/5 Puneet Babbar 2 :
> How can we get this added?
There are two ways, full CLA and send to ASF or fill an issue with
description of the problem and someone will update the docs.
Kind regards
--
Łukasz h
2012/3/5 Puneet Babbar 2 :
> How can we get this added?
There are two ways, full CLA and send to ASF or fill an issue with
description of the problem and someone will update the docs.
Kind regards
--
Łukasz http://www.lenart.org.pl/
mobile +48 606 323 122, office +27 11 0838747
Warszawa JUG con
o" in context of using annotataions using convention
plugin.
How can we get this added?
Regards
Puneet babbar
-Original Message-
From: Łukasz Lenart [mailto:lukasz.len...@googlemail.com]
Sent: Wednesday, February 29, 2012 5:34 PM
To: Puneet Babbar 2; Struts Users Mailing List
Subje
o: Puneet Babbar 2
> Cc: Struts Users Mailing List
> Subject: Re: Struts, spring integration while using struts annotations
>
> 2012/2/29 Puneet Babbar 2 :
>> Tried after you suggested it, but doesn’t work :(
>
> Did you try to debug SpringObjectFactory#buildBean methods ?
>
2012/2/29 Puneet Babbar 2 :
> Tried after you suggested it, but doesn’t work :(
Did you try to debug SpringObjectFactory#buildBean methods ?
Regards
--
Łukasz http://www.lenart.org.pl/
mobile +48 606 323 122, office +27 11 0838747
Warszawa JUG conference - Confitura http://confitura.pl/
--
Users Mailing List
Subject: Re: Struts, spring integration while using struts annotations
Hi,
there is no need to define a spring bean for your struts actions. At least when
you use a struts.xml. I have not tried what happens when you use annotations.
As far as I now, all struts actions will be
Tried after you suggested it, but doesn’t work :(
-Puneet
-Original Message-
From: Łukasz Lenart [mailto:lukasz.len...@googlemail.com]
Sent: Wednesday, February 29, 2012 2:12 PM
To: Struts Users Mailing List
Subject: Re: Struts, spring integration while using struts annotations
2012/2
t; Regards
>
> Puneet
> -Original Message-
> From: Steven Yang [mailto:kenshin...@gmail.com]
> Sent: Wednesday, February 29, 2012 12:16 PM
> To: Struts Users Mailing List
> Subject: Re: Struts, spring integration while using struts annotations
>
> check this h
t; Regards
>
> Puneet
> -Original Message-
> From: Steven Yang [mailto:kenshin...@gmail.com]
> Sent: Wednesday, February 29, 2012 12:16 PM
> To: Struts Users Mailing List
> Subject: Re: Struts, spring integration while using struts annotations
>
> check this h
2012/2/29 Puneet Babbar 2 :
> Thanks for replying to my post, I have already checked that link but still no
> clue as to how to make spring plugin work with the convention plugin.
>
> Suppose I have an Action -
> @Action("/login-page")
Did you try to use "login-page" ? Namespace "/" should be de
-
From: Steven Yang [mailto:kenshin...@gmail.com]
Sent: Wednesday, February 29, 2012 12:16 PM
To: Struts Users Mailing List
Subject: Re: Struts, spring integration while using struts annotations
check this http://struts.apache.org/2.0.8/docs/spring-plugin.html
you can use spring along with the
check this http://struts.apache.org/2.0.8/docs/spring-plugin.html
you can use spring along with the annotation in the convention-plugin such
as @Action, etc
On Tue, Feb 28, 2012 at 6:01 PM, Puneet Babbar 2 wrote:
> Hi,
>
> I am using struts annotations with my applications, I need to add spring
ffet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Date: Sun, 17 Oct 2010 12:46:22 +
> Subject: Re: Struts, Spring, Hibernate and multiple Sessionfactories
&g
1) In this multi-tenant app, it is OK. Every operation just need to
access one tenant datasource in the thread .2) Thread
local is not appropriate in distributed architecture. sometimes we
should access 2 or more datasourses at the same time in ONE thread.
2010/10/16, Dave Newton
Raymond,
I found a possible solution here:
http://blog.springsource.com/2007/01/23/dynamic-datasource-routing
TenantId is hold in the Struts UserSession and shall be shared with
spring layer. The described solution uses ThreadLocal for this purpose.
Is it possible to provide this tenantId to th
2010/10/16 Raymond He :
> To Li Ying and Dave New ton, multiple datasources is a common
> requirement in large scale e-commerce and telecom application.
I know; that's what I said.
Dave
-
To unsubscribe, e-mail: user-unsubscr..
To Li Ying and Dave New ton, multiple datasources is a common
requirement in large scale e-commerce and telecom application.
I used a data object to table
mapping to do DB routing vertically, pk hashing to route horizontally.
The r
On Fri, Oct 15, 2010 at 11:43 AM, Dave Newton wrote:
> On Fri, Oct 15, 2010 at 12:39 PM, Brian Thompson
> wrote:
>>> Ever had a client that wanted/required their data segregated from
>>> everybody else's (this is not uncommon at all)? Ever wanted to
>> Apparently, it is uncommon. I've never enc
On Fri, Oct 15, 2010 at 12:39 PM, Brian Thompson wrote:
>> Ever had a client that wanted/required their data segregated from
>> everybody else's (this is not uncommon at all)? Ever wanted to
> Apparently, it is uncommon. I've never encountered such a demand.
That... makes it uncommon?!
>> restr
On Fri, Oct 15, 2010 at 10:22 AM, Dave Newton wrote:
>> I'm not sure what reasons there would be to have it make sense
>> to store each entity in its own identically-structured DB.
>
> Ever had a client that wanted/required their data segregated from
> everybody else's (this is not uncommon at all
> I'm not sure what reasons there would be to have it make sense
> to store each entity in its own identically-structured DB.
Ever had a client that wanted/required their data segregated from
everybody else's (this is not uncommon at all)? Ever wanted to
restrict tool access to data without jumpin
On Fri, Oct 15, 2010 at 9:45 AM, Dave Newton wrote:
> That's really difficult to read.
Agreed. More whitespace would be nice, Martin.
>
> On Fri, Oct 15, 2010 at 10:38 AM, Martin Gainty wrote:
>> a database schema represents the entire structure (tables and relationships
>> of
>> those table
That's really difficult to read.
On Fri, Oct 15, 2010 at 10:38 AM, Martin Gainty wrote:
> a database schema represents the entire structure (tables and relationships of
> those tables) of the there is no need for multiple databases when your
> database
> schema contains the persisted entities (ta
Every extend mapp to different injection to what lli ying said
/m/
-Original Message-
From: Eduard Neuwirt
Date: Fri, 15 Oct 2010 16:37:56
To: Struts Users Mailing List;
Subject: Re: Struts, Spring, Hibernate and multiple Sessionfactories
Hi Frans,
would you mind to explain it
I think i don't understand what you want exactly.
Can you tell me what you want to achieve?
And what your code looks like?
2010/10/15 Eduard Neuwirt :
> Hi Li,
>
> thanks for the answer. I didn't get how does it work within the
> ? In this case ist the the question is how to access
> to the app
> Date: Fri, 15 Oct 2010 14:50:17 +0200
> Subject: Struts, Spring, Hibernate and multiple Sessionfactories
> From: eduard.neuw...@googlemail.com
> To: user@struts.apache.org
>
> Hello,
>
> I am looking for an elegant solution for the following situation.
>
> I have a multitenant struts/spr
-
> From: Eduard Neuwirt
> Date: Fri, 15 Oct 2010 16:16:35
> To: Struts Users Mailing List
> Reply-To: "Struts Users Mailing List"
> Subject: Re: Struts, Spring, Hibernate and multiple Sessionfactories
>
> Hi Li,
>
> thanks for the answer. I didn't get
How about make different implementation
So
Tenant1 extends tenanta
Tenant2 extends tenantb
/m/
-Original Message-
From: Eduard Neuwirt
Date: Fri, 15 Oct 2010 16:16:35
To: Struts Users Mailing List
Reply-To: "Struts Users Mailing List"
Subject: Re: Struts, Spring, Hib
Hi Li,
thanks for the answer. I didn't get how does it work within the
struts-spring plugins ? In this case ist the the question is how to access
to the application context directly from struts session. I could not find
any information in the docu.
Regards
Eduard
2010/10/15 Li Ying
> If you
If you want to use multi-DB for multi-tenant (let's say tenant01 and tenant02)
I think you can create config file should likes:
and then, in your java code, you can get different bean instance for
different tenant via [ID],
code looks like:
BeanFactory.getBean("sessionFactory_" + te
I have seen a horizontal partitioning of data using Hibernate that hides
the SessionFactories, etc in a ConfigUtil class. The idea goes something
like this.
The ConfigUtil establishes all SessionFactories and stores them in a map
with their associated identifier (ID, class, whatever you choose) as
We developed a multi-tenant app last year.
But we didn't separate their data into different DB.
Instead, we stored all data in one DB, and add
a [tenant_id] column to all tables to distinguish
which tenant it belong.
I think this is a simpler solution.
When you need to add new tenant,
you can s
you can use david's perfect example
github.com/dlwhitehurst/appfuse-rest
--
Frans Thamura
Meruvian.
Experiential Tempation of Java and Enterprise OpenSource
Meruvian jTechnopreneur Program (S1) telah hadir, Dapatkan benefit bagi SMK
yang melakukan mapping SKKD, dg program beasiswa dari Gunadar
Sorry, more explanation is needed... I've got to launch a "batch process"
it's not a batch but it's a long lasting process that could raise a timeout
and tomcat will kill the worker thread... So I've launched a worker of my
own to do the job and inform the user with a progress indicator or the like
Yayo on 02/04/08 20:23, wrote:
I'm developing a struts - spring based application.
I've got actions-delegates-managers and daos and I use the open session in
view filter from hibernate.
In some cases I've got to return lazy results to the user so I've got to
launch a new worker thread and taht
Try to post a stack trace or something more meaningful, but first of
all, as a general architectural guideline, try first to refactor your
code to avoid circular dependencies.
2008/4/2, Yayo <[EMAIL PROTECTED]>:
> Hi,
>
> I'm developing a struts - spring based application.
>
> I've got actions-de
i use this: MappingDispatchActionSupport now i dont need to put the execute
method on my actions. When i call some like localhost/myAction.do they call
one method with name myAction inside my Action java file. :-)
God bless spring :-)
2007/10/19, Antonio Petrelli <[EMAIL PROTECTED]>:
>
> 2007/10/1
2007/10/19, Ádamo Azambuja <[EMAIL PROTECTED]>:
> ok, i forget to put method on the url, but i really need to put they there?
> they cant take my action name and use this like the method param?
If you don't need it, don't use DispatchAction! Use a simple action.
Antonio
-
Now i put the Spring to control my actions and they dont work with my method
property, some one know what is happening?
now i use type="org.spring
struts-config:
2007/10/19, Ádamo Azambuja <[EMAIL PROTECTED]>:
>
> ok, i fo
ok, i forget to put method on the url, but i really need to put they there?
they cant take my action name and use this like the method param?
2007/10/19, Antonio Petrelli <[EMAIL PROTECTED]>:
>
> 2007/10/19, Ádamo Azambuja <[EMAIL PROTECTED]>:
> >
> > Error log
> > StandardWrapperValve[action]: Se
2007/10/19, Ádamo Azambuja <[EMAIL PROTECTED]>:
>
> Error log
> StandardWrapperValve[action]: Servlet.service() for servlet action threw
> exception
> javax.servlet.ServletException: Request[/usuarioList] does not contain
> handler parameter named 'method'. This may be caused by whitespace in the
--- í©ì±ì¤ <[EMAIL PROTECTED]> wrote:
> I don't have found the
> struts2-spring-plugin-2.0.5.jar. Where is it?
Showcase application has one.
Dave
Any questions? Get answers on any topic at www.Answers.yah
I've updated the wiki.
Please review it as my english is so bad...
Wendy Smoak a écrit :
On 8/3/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
I've looked a Struts-scripting, but AFAIK this requires me to rewrite
all my struts-config.xml to set the Action java source as parameter.
Lot's of my
On 8/3/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
I've looked a Struts-scripting, but AFAIK this requires me to rewrite
all my struts-config.xml to set the Action java source as parameter.
Lot's of my action already use a parameter and I don't want to change my
projet (huge) struts-configs.
Have you looked at Struts Scripting? It would be interesting to see
how your approach differs from this. (And whether Struts Scripting
works with Spring 2.0 the way you need it to.)
I've looked a Struts-scripting, but AFAIK this requires me to rewrite
all my struts-config.xml to set the Act
On 8/3/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
To those of you that are using Struts with Spring,
I've searched a way to make my actions hot-reloadable (no recompile
neither redeploy) for quick prototyping using Spring 2.0 groovy scripted
bean, without having to hardly change my existing
I use a diferent stack, this one: http://ibatis.apache.org/petstore.html
not what you asked for but..
Martin Ravell wrote:
Are there some developers here who use this solution?
Does someone have a good tutorial or sample to indicate? (I've already
seen "Wiring your web applications with Open So
> Are there some developers here who use this solution?
> Does someone have a good tutorial or sample to indicate? (I've already
>seen "Wiring your web applications with Open Source java"..thanks :o))
>
> Thanks for your feedback on this architecture :o)
>
Check out Matt Raible's Equinox projec
generator for the interfaces
when using these 3 framework?
Because, I'm afraid on the number of classes we have to develop to
only retrieve one row in a table!
Thanks for help
- Original Message -
From: Wendy Smoak
To: Struts Users Mailing List
Sent: Wednesday, Novembe
, I'm afraid on the number of classes we have to develop to only
retrieve one row in a table!
Thanks for help
- Original Message -
From: Wendy Smoak
To: Struts Users Mailing List
Sent: Wednesday, November 02, 2005 5:16 PM
Subject: Re: Struts + Spring + Hibernate
On 11/
On 11/2/05, Gaet <[EMAIL PROTECTED]> wrote:
>
>
> Are there some developers here who use this solution?
> Does someone have a good tutorial or sample to indicate? (I've already
> seen "Wiring your web applications with Open Source java"..thanks :o))
>
For the Struts + Spring part, Ted recently pos
Struts Users Mailing List'
Subject: Re: Struts/Spring integration & Struts 1.3
Marco:
This is clumsy, but you could probably figure out a way to
instantiate commands and chains as Spring managed beans and then,
rather than looking them up in a catalog, you could look them up in
the Ap
Since Struts 1.3.x is unreleased, a better place for a thread like
this might be the DEV list.
On Apr 4, 2005 11:53 PM, Joe Germuska <[EMAIL PROTECTED]> wrote:
> Marco:
>
> This is clumsy, but you could probably figure out a way to
> instantiate commands and chains as Spring managed beans and the
Marco:
This is clumsy, but you could probably figure out a way to
instantiate commands and chains as Spring managed beans and then,
rather than looking them up in a catalog, you could look them up in
the ApplicationContext. If you did this, then it would be easy to
set up your commands with re
+1 for Pro Spring. Soup to Nuts. Well done.
On Wed, 30 Mar 2005 10:31:52 -0500, Fumo, Vince <[EMAIL PROTECTED]> wrote:
> Don't know if it's appropriate to do this, but I am adding my 2c as well.
> I've been using Spring and Hibernate with Struts for some time now and have
> found it to be excellen
On Mar 30, 2005, at 5:35 AM, Ted Husted wrote:
Spring is a large project with several components. The Spring Core
works just fine with Struts. You can use it to instantiate your
business objects from Struts Actions.
Aside from Spring Core, the Spring project also includes a Spring MVC
component. Sp
t; that covers the entire
framework quite well.
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 30, 2005 9:40 AM
To: Ted Husted; Struts Users Mailing List
Subject: Re: Struts + Spring or Struts versus Spring
In short, what Ted said.
More elaborately, I&
In short, what Ted said.
More elaborately, I've been using Spring with a
lot of Struts web apps, and I'm very happy with
the combination. Spring does a whole lot more
than Struts ever wanted to do, and you can use as
much or as little of it as you like.
And even though Spring MVC exists as a
Spring is a large project with several components. The Spring Core
works just fine with Struts. You can use it to instantiate your
business objects from Struts Actions.
Aside from Spring Core, the Spring project also includes a Spring MVC
component. Spring MVC does overlap with Struts. Spring MVC
63 matches
Mail list logo