2012/6/17 Paul Mefford paulmeff...@gmail.com:
Can anyone give me some advice on how to fix the .xml loader so it finds a
xml file using the wildcard in sturts.xml? Or has anyone done this a
different way with validation?
Struts 2 version ? App Sever ?
You can implement your own logic how to
Yes I am using Spring and also Hibernate.
I am so sorry for replying late. I am using my company's email that I can't
check at home.
Could you show me where I can add scope=prototype, I added it into my
applicationContext.xml, but it would not run.
bean id=demo class=action.demo scope=prototype
2012/6/18 Nguyen Ngoc Hai (FSU17.BU2) hai...@fsoft.com.vn:
Yes I am using Spring and also Hibernate.
I am so sorry for replying late. I am using my company's email that I can't
check at home.
Could you show me where I can add scope=prototype, I added it into my
applicationContext.xml, but
I use Spring Framework 3.0 M3
Thanks best regards,
NGUYễN NGỌC HẢI (MR.)
Developer
Business Unit No2
FPT Software Strategic Unit No.17
Add: 8th Floor, FPT Building, Pham Hung Road, Cau Giay Dist, Hanoi, Vietnam
E-mail: hai...@fsoft.com.vn
Cell: 0169.808.9435
-Original Message-
2012/6/18 Nguyen Ngoc Hai (FSU17.BU2) hai...@fsoft.com.vn:
I use Spring Framework 3.0 M3
hmm... scope=prototype should work, what kind of exception do you get ?
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
When I added scope in eclipse, it said that attribute scope must be declared
for element bean, when I built ignoring this message, I got a 404 Not Found.
This is kind of confusing, because I have read several example and they run
scope well.
Thanks best regards,
NGUYễN NGỌC HẢI (MR.)
Are you using Struts2 Spring Plugin ?
http://struts.apache.org/2.x/docs/spring-plugin.html
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
-
To
I use Struts2 Spring Plugin 2.1.6.
Thanks best regards,
NGUYễN NGỌC HẢI (MR.)
Developer
Business Unit No2
FPT Software Strategic Unit No.17
Add: 8th Floor, FPT Building, Pham Hung Road, Cau Giay Dist, Hanoi, Vietnam
E-mail: hai...@fsoft.com.vn
Cell: 0169.808.9435
IMPORTANT NOTICE
The
On Mon, Jun 18, 2012 at 6:07 AM, Nguyen Ngoc Hai (FSU17.BU2)
hai...@fsoft.com.vn wrote:
I use Struts2 Spring Plugin 2.1.6.
You're using Struts 2.1.6 as well?
This makes no sense; that attribute works fine in Spring 3.0.
Probably not related, but I sure wouldn't use an old milestone release
2012/6/18 Nguyen Ngoc Hai (FSU17.BU2) hai...@fsoft.com.vn:
I use Struts2 Spring Plugin 2.1.6.
That version was designed to run with Spring 2.5.3 and as specified in
docs [1] it must work, maybe you're messing different versions of
Spring libs ?
[1]
(I keep looking for the up-arrow so I can upvote mailing list answers.)
On Mon, Jun 18, 2012 at 6:41 AM, Łukasz Lenart lukasz.len...@googlemail.com
wrote:
2012/6/18 Nguyen Ngoc Hai (FSU17.BU2) hai...@fsoft.com.vn:
I use Struts2 Spring Plugin 2.1.6.
That version was designed to run with
In a localized application with 2 languages : French and English.
I want users to be able to enter (HTML input) doubles formatted the
same way wether they are using english or french locale.
i.e :
- english_user enter 445,000.00 for orderItem.price and this data is
correctly parsed to 445000.0d
I have upgraded a webApp using struts 2 to use Spring 3 and Spring Security
3.1, before that Spring 2.5 and Spring Security 2 was used. The problem is
that when using redirectAction I get a
!Namespace?parameters#namespace added to the URL's and that is not a good
idea... I need the URL without
Could you specify your struts2 version?
I have a lot of apps based on the stack you mentioned and I've never seen
something similar.
Did you investigate if it is a struts issue or is something related to
the synergy with spring?
Twitter :http://www.twitter.com/m_cucchiara
G+
I think the problem is related to primitive converter which doesn't
include Locale in conversion, take a look on that bug and related
https://issues.apache.org/jira/browse/WW-3171
Regards
--
Łukasz
mobile +48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura
I am using struts 2.3.1.2 version and also using simple theme.
From: Maurizio Cucchiara mcucchi...@apache.org
To: Struts Users Mailing List user@struts.apache.org
Sent: Monday, June 18, 2012 10:01 AM
Subject: Re: Struts 2 Spring 3 Spring Security 3.1
Well I don't know what is the problem really and there is nothing in the
web, so it seems is something new, I'll try to explain better so you can
understand what I mean.
This web app is in three languages, whenever you go to its URL, the /
namespace has an action that redirects to a namespace
I was using Struts 2.3.4 Spring 3.0.6.RELEASE and Spring Security
3.1.0.RELEASE now I will try to use Spring Security 3.0 to see what happens.
On Mon, Jun 18, 2012 at 11:12 AM, Hernán heam...@gmail.com wrote:
Well I don't know what is the problem really and there is nothing in the
web, so it
I have tried with Struts 2.3.4 Spring 3.0.5.RELEASE and Spring Security
3.0.5.RELEASE and no success. I thing it's important to mention I'm using
Tiles, this time 2.2.2, but I kept trying with Tiles 2.0.6 before and it
was the same... What I can tell you to bear in mind is that
/Start/Presentation
Greetings all.
Struts2Builder version 0.4.1 has been released.
Struts2Builder is a Java code generation system that can automatically
build a real, live, functioning Struts2 / Hibernate / Spring system for any
existing PostgreSQL or MySQL database. Struts2Builder will log into the
database,
I think the problem is that the French locale specifies that it should be
written as 445.000,00 not 445,000.00. The parser expects localized
input.
(*Chris*)
On Mon, Jun 18, 2012 at 7:06 AM, Łukasz Lenart lukasz.len...@googlemail.com
wrote:
I think the problem is related to primitive
Hi Folks,
I have different methods in my action class and I like to call
specific one from a link.
For this I am using s:url tag for calling action class method:
s:url id=teamFbId action=TeamFeedback method=init /s:url
I then pass it to s:a tag:
s:a href=%{teamFbId} cssClass =idividual
It *does* understand that URL, but you need to have dynamic method
invocation turned on.
Dave
On Mon, Jun 18, 2012 at 11:35 AM, vivek mishra mishravive...@gmail.comwrote:
Hi Folks,
I have different methods in my action class and I like to call
specific one from a link.
For this I am using
Thanks so much Dave.. Its working fine after turning on dynamic method
invocation.
You are a life saver.. :)
Thanks!
--
VM
On 6/18/12, Dave Newton davelnew...@gmail.com wrote:
It *does* understand that URL, but you need to have dynamic method
invocation turned on.
Dave
On Mon, Jun 18, 2012
Lets say I have the following files in my app:
- app-DEV.properties
- app-PROD.properties
- app-TEST.properties
I use Spring's jee:jndi-lookup and PropertyPlaceholderconfigurer (see
[1]) to achieve a multi-environment setup. All files are in the
classpath, but because on each environment I set
2012/6/18 Miguel Almeida mig...@almeida.at:
Question: Having multiple environments files, what I really need is
struts.custom.i18n.resources=environments/app-${envName}. Can one have
this, so only the file that makes sense for that environment is loaded?
But you can simply achieve that with
26 matches
Mail list logo