Hi Lucasz,
Here's the entry from struts.xml
constant name=struts.i18n.encoding value=UTF-8/
Z.
On 19/10/11 4:23 PM, Łukasz Lenart lukasz.len...@googlemail.com wrote:
2011/10/19 Zoran Avtarovski zo...@sparecreative.com:
We are using struts 2.2.2, everything is UTF-8, struts, jsp,
I tried the JSP code which you posted. It works fine.
What is your [locale]? you said, you [select Arabic], do you mean
[locale] is [Arabic]?
What name is your property file, and what is the content in it?
-
To unsubscribe,
It woks fine for the default locale for me as well.
Where it fails is when the selected locale is Arabic. Using the getText
method in application support works as expected but s:text fails to render
the text correctly.
Z.
On 19/10/11 11:20 PM, Li Ying liying.cn.2...@gmail.com wrote:
I tried
I did the same with struts2-blank example application and it works
just fine. My Mac uses EN locale by default but you can change locale
in the app with request_locale parameter and it works as expected.
What you mean by the selected locale is Arabic ? Is it the system locale ?
Kind regards
--
Hello everyone,
Not sure if this is the right forum for this question.
I made a presentation to my dev team to use Struts2 and the issue of uses
too much memory came up. If I need to retrieve 1000 rows from a database
and have a JSP present those to the user, how does one handle having that
many
I don't understand; what does this have to do with Struts 2 *or* MVC? You
load a thousand objects into memory, you load a thousand objects into
memory--that's pretty much framework, design pattern, and language-neutral.
Dave
On Oct 19, 2011 9:18 AM, Charles Godfrey cha...@gmail.com wrote:
Sorry, let me clarify.
I meant loading all those objects into the action class vs. lets say loading
50 at a time and doing out.println() in your servlet, then repeating this,
so you are only ever loading 50 (or whatever number) into memory.
I know you can always throw more memory at it, or
You'll find *everything* is a no-go if that's their concern.
On Wed, Oct 19, 2011 at 9:49 AM, Charles Godfrey cha...@gmail.com wrote:
Sorry, let me clarify.
I meant loading all those objects into the action class vs. lets say
loading
50 at a time and doing out.println() in your servlet,
Am 19.10.2011 15:49, schrieb Charles Godfrey:
Sorry, let me clarify.
I meant loading all those objects into the action class vs. lets say loading
50 at a time and doing out.println() in your servlet, then repeating this,
so you are only ever loading 50 (or whatever number) into memory.
-Original Message-
From: Dave Newton davelnew...@gmail.com
Date: Wed, 19 Oct 2011 09:58:31
To: Struts Users Mailing Listuser@struts.apache.org
Reply-To: Struts Users Mailing List user@struts.apache.org
Subject: Re: Struts2 Memory Management
You'll find *everything* is a no-go if that's
In this case page will take more time load for low bandwidth so some
other way is there to tune the memory management in struts 2
So please go through struts 2 documentation
-Original Message-
From: Mario Urquilla [mailto:mario.urqui...@aviancataca.com]
Sent: Wednesday, October 19, 2011
So many objects dump directly to jsp will certainly consume a lot memory,I
suppose you can enlarge your Web Server's jvm memory size to afford your
requirement
such as -Xms 1024m -Xmx 1024m,more details can come from google jvm
tuning
On Wed, Oct 19, 2011 at 10:08 PM, Mario Urquilla
Am 19.10.2011 16:16, schrieb dan.zheng:
So many objects dump directly to jsp will certainly consume a lot memory,I
suppose you can enlarge your Web Server's jvm memory size to afford your
requirement
such as -Xms 1024m -Xmx 1024m,more details can come from google jvm
tuning
What do you mean by
Can we do any application lever tuning in struts 2?
-Original Message-
From: Robert Graf-Waczenski [mailto:r...@lsoft.com]
Sent: Wednesday, October 19, 2011 7:25 AM
To: Struts Users Mailing List
Subject: Re: Struts2 Memory Management
Am 19.10.2011 16:16, schrieb dan.zheng:
So many
I believe the tuning would occur on your app container and not in Struts 2.
Best,
Muneer Malik
On Oct 19, 2011, at 9:28 AM, karthick.gunaseka...@wipro.com wrote:
Can we do any application lever tuning in struts 2?
-Original Message-
From: Robert Graf-Waczenski
Struts 2 would perform about the same as all the other frameworks available.
Storing an array list of 1000 objects on your server won't consume all that
much memory and any current framework can easily handle such a request. This
also depends on the size of the object, and how much memory is
Whether or not the browser crashes depends on how the 1k objects are
rendered; most browsers can handle a 1k-row table, although it may chunk a
bit during the render. Older browsers will do worse.
In this case, however, that doesn't seem to be an issue, since the app was
already doing it--the
any current framework can easily handle such a request
I agree. Maybe it would be helpful for the OP to let us in on what other
framework is being considered by way of comparison so the OP can tap into
the wealth of knowledge on this forum for real arguments to take back to
the opposition.
I tried the JSP code which you posted. It works fine.
What is your [local]? What name is your property file, and what content in it?
And one more thing, you said, you [select Arabic], what does that mean?
-
To unsubscribe,
Thanks for all the great feedback guys.
Right now its a custom framework (similar to Struts) but uses straight JDBC
and no JSP, ie. presentation is done in Java classes using only
out.println(). It performs very well. Customers who use the product can have
100 rows or 10,000 rows in a table, and
Dear Experts,
I have this action class to perform file downloading function, however, it
doesn't export excel file correctly, it give me a 'actionClassName.zip' file
instead of the excel file, but other format files like pdf file, jpg file
and text file are fine though, can't figure it out why
On Wed, Oct 19, 2011 at 12:12 PM, Charles Godfrey wrote:
Customers who use the product can have
100 rows or 10,000 rows in a table, and several have into the 1000's.
On the *client* side?! I can't see how that's useful.
Dave
If you rename actionClassName.zip to actionClassName.xls, can you open it in
Excel?
Where is the 'fileName' variable defined?
Brian
On Wed, Oct 19, 2011 at 4:17 AM, raygrrr rayg...@gmail.com wrote:
Dear Experts,
I have this action class to perform file downloading function, however, it
Hi Brian,
Thanks for your reply, I removed some unnecessary code - the
'fileName' variable is fine.
I will try to rename it tomorrow - but I don't think it will work as I
can unzip the actionClassName.zip file and it isn't the file... will
show you that tmr :)
Ray
On Thu, Oct 20, 2011 at 12:27
Is there any chance this is an .xlsx (office 2007) and not an xls document?
.xlsx documents are really zip files. If this is the case then your content
type would be different as well.
I believe the .xlsx is:
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Hope this helps.
No. My Mac uses en_AU as the default, but like you we use the
request_locale parameter with the required locale. The system is designed
to enable users to select the desired locale.
The strange part is that that we haven't had any issues in the past when
we just had Scandinavian languages, the
Hi Brian, Nate, You guys are right, it is exactly the case you guys
described!!! Thanks very much!!!
On Thu, Oct 20, 2011 at 12:44 AM, Sarr, Nathan-2 [via Struts]
ml-node+s1045723n4918544...@n5.nabble.com wrote:
Is there any chance this is an .xlsx (office 2007) and not an xls document?
.xlsx
There is a small difference how the both calls flow throughout
internal I18N support. Could you send to me the phrase you have
problem with ? In Arabic ;-)
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/
W dniu 20
28 matches
Mail list logo