Congrats :)
On Saturday, November 28, 2009, Miguel wrote:
> I use lots of pages with accented latin characters, and in the source
> you can see the native characters, not encoded as html entities.
> The thing I use, in the <%@ page ...%> header, that should be the
> first thing in a jsp, I defin
viewing friends
news.aol.com/nation/lottery/prize
I use lots of pages with accented latin characters, and in the source
you can see the native characters, not encoded as html entities.
The thing I use, in the <%@ page ...%> header, that should be the
first thing in a jsp, I define the charset as utf-8, and that does the
magic, at least for me.
<
I mean if you want to display decoded HTML value, then feed in encoded
values or the other option first
On Sat, Nov 28, 2009 at 6:50 AM, Saeed Iqbal wrote:
> These are encoded characters. Either output this but first you must imo try
> s:property with escape="false"
>
>
> On Sat, Nov 28, 2009 at
Normally values go from JSP as String. Parse it using Date Formatter and
convert it to Date yourself :)
I have very interesting experiences with this.
On Sat, Nov 28, 2009 at 12:05 AM, ben_979 wrote:
>
> Carl, if I could bother you for a few more details?
>
> I like your solution, it seems eleg
There are 2 ways to go about this
1) within Struts tags
use key=""
where your i8nl key should go in.
But for that to work your struts needs to know where all the i8nl values are
located.
Define a constant for it in struts.xml
or create a struts.properties to contain this
struts.custom.i18n.r
These are encoded characters. Either output this but first you must imo try
s:property with escape="false"
On Sat, Nov 28, 2009 at 5:57 AM, Alex Siman wrote:
>
> I don't know... Do I need these extra bytes in output? And are that
> entities
> good for SEO (Google, others)?
>
> Saeed Iqbal-2 wrote
I don't know... Do I need these extra bytes in output? And are that entities
good for SEO (Google, others)?
Saeed Iqbal-2 wrote:
>
> I personally feel that is a good feature of Struts.
>
> On Fri, Nov 27, 2009 at 8:22 AM, Saeed Iqbal wrote:
>
>> escape="false" can help you or show those chara
This option will unescape everything. But I need to leave escaping of next
chars:
< > ' "
As I know it is enough for security.
Saeed Iqbal-2 wrote:
>
> escape="false" can help you or show those characters as encoded values
>
> On Fri, Nov 27, 2009 at 8:17 AM, Alex Siman
> wrote:
>
>>
>> I ju
Oh, Nabble does not show those entities. Them look like next (but w/o spaces
between):
& #1086;& #1087;& #1080;& #1089;& #1072;& #1085;& #1080;& #1077;
Alex Siman wrote:
>
> I just have found another issue after upgrading from [2.1.6] -> [2.1.8].
> Struts now encode any non latin char to its HTM
Hi,
Can someone tell me how to make the label use my resource bundle value? I've
tried this
and
both are not working.
But this work:
in my resource bundle properties file
I've this
label.name = Name
THanks
L.V
Carl, if I could bother you for a few more details?
I like your solution, it seems elegant (to me at least!). I'm trying to
implement it, but I'm not getting the results that you are.
I've set up the type converter, and I've verified that it is being invoked.
When my conversion fails (for exam
When we use additional Filter classes in our Struts 2 applications, we have
to put the
additional filter and filter mapping nodes before the filter and filter
mapping nodes for the
Struts 2 filter.
For example:
OpenSSODevFilter
edu.ku.itsd
When we use additional Filter classes in our Struts 2 applications, we have
to put the
additional filter and filter mapping nodes before the filter and filter
mapping nodes for the
Struts 2 filter.
For example:
OpenSSODevFilter
edu.ku.itsd
I think that you have to implement Preparable interface, and you can't
declare prepare() throwing an exception because that's not permitted by
methods implementation rules (if i'm wrong tell me please).
Wes Wannemacher escribió:
On Fri, Nov 27, 2009 at 4:04 AM, Nguyen Xuan Son wrote:
Dear
On Fri, Nov 27, 2009 at 4:04 AM, Nguyen Xuan Son wrote:
> Dear Thompson
> Here is the web.xml's content
>
> index.jsp
>
>
> struts2
> org.apache.struts2.dispatcher.FilterDispatcher
>
>
>
> struts2
> /*
>
>
> I've try to use
> void prepare() throws Exception {
> System.out.println("you're now
I think you can safely map to *.action and /struts/*
-Wes
On Fri, Nov 27, 2009 at 12:41 AM, Kishore Kumar wrote:
> Hi,
>
> Is there a way to change the FilterDispatcher URL Pattren other than /*?
> I am using ICEFaces and struts2 togeather but due to struts2 URL Pattren
> ICEFaces requests are
Oh and dont forget the proper namespace.
Take it from documentation for you version.
On Fri, Nov 27, 2009 at 7:35 PM, Saeed Iqbal wrote:
>
>
>
>
>
>
>
>
>
>
> and use @Transactional over methods in service layer.
>
>
> On Fri, Nov 27, 2009
Frankly Frans I cannot tell you how as I did not work with FB directly.
I can tell you how to do individual components of it, not the whole.
On Fri, Nov 27, 2009 at 4:49 PM, Frans Thamura wrote:
> hi Saeed Iqbal
>
> i want to know how to handle the person that has click the Connect button
>
> l
and use @Transactional over methods in service layer.
On Fri, Nov 27, 2009 at 4:53 PM, Frans Thamura wrote:
> hi all
>
> anyone have experience with Ttransaction with Spring?
>
> i see that if we add in the apps context, it becomes trans
I just found that I can actually include xml files directly via
Spring. Guess I should RTFM first.
So I have created a myapp-application-test.xml which contains:
Does the trick and clean enough. The Spring team say they prefer not
to use this approach but since it is on
>> The default etag value of the object's hashcode is really only meant
>> as a helpful default to get you going. I'd highly recommend setting
>> your own etag value with something like the underlying db row's
>> timestamp or whatever.
I think this default implementation is very misleading and you
Hi Guys,
I have the following spring bean definition files:
myapp-application.xml
myapp-datasource.xml
myapp-datasource-test.xml
When unit testing I want to use myapp-application.xml and
myapp-datasource-test.xml. In the real world I want to use
myapp-application.xml and myapp-datasource.xml
Hi,
Thanks for helping.
Well, I of course needed to call the action in my tag.
It works.
Thanks again.
-Message d'origine-
De : Paweł Wielgus [mailto:poulw...@gmail.com]
Envoyé : vendredi 27 novembre 2009 13:04
À : Struts Users Mailing List
Objet : Re: [Struts 2 + EJB 3] Display an ima
Hi Fernandes,
i think that it is impossible what You are trying to achieve.
You cannot pur image to img tag inside html.
Img tag will result in just another http request,
and this another request must be serviced by your server.
So the code will look like this:
And showMyImage action will simpl
Are you putting the file name in session string or the binary file?
On Friday, November 27, 2009, Fernandes Celinio
wrote:
> Hi,
>
> I have an entity bean which has a BLOB attribute. That BLOB attribute
> maps to a BLOB column in a table in an Oracle database.
>
> @Entity
> public class Boo imple
hi all
anyone have experience with Ttransaction with Spring?
i see that if we add in the apps context, it becomes transaction ready
but i still finding out how to understand the way of this
is this mailing list the right one, or must ask in spring
--
Frans Thamura
Meruvian.
Experiential Tem
hi Saeed Iqbal
i want to know how to handle the person that has click the Connect button
like tips to map the input and get the user info from that people and save
in the action
--
Frans Thamura
Meruvian.
Experiential Tempation of Java and Enterprise OpenSource
Meruvian jTechnopreneur Program
strange with my mailbox, i never receive an email from this mailing list
but i can see my email go to the mailing list in mail-archive.com
strange
Hi,
I have an entity bean which has a BLOB attribute. That BLOB attribute
maps to a BLOB column in a table in an Oracle database.
@Entity
public class Boo implements Serializable {
...
@Lob
@Basic(fetch=FetchType.LAZY)
private byte[] image;
public byte[] getImage
Dear Thompson
Here is the web.xml's content
index.jsp
struts2
org.apache.struts2.dispatcher.FilterDispatcher
struts2
/*
I've try to use
void prepare() throws Exception {
System.out.println("you're now in C0002_Home page");
}
but it still doesnt work out
please tell me what should i correct
Hi,
Is there a way to change the FilterDispatcher URL Pattren other than /*?
I am using ICEFaces and struts2 togeather but due to struts2 URL Pattren
ICEFaces requests are being ignored.
Can i use url-pattren /*.action ?
As per the struts documentation it says to use following
str
Dave Newton schrieb:
Robert Graf-Waczenski wrote:
And, to tell the truth, our choice to use "getmProperty()" as
accessor method naming pattern was a bad one originally but we lived
with it since the beginning and are now being bitten in the behind :-)
That about sums it up, I think.
I'm assu
I agree to your observation, Dave. Point well made. I would like to get
a comment from you about my claim about backwards incompatibility, though.
Robert
Dave Newton schrieb:
Robert Graf-Waczenski wrote:
And, to tell the truth, our choice to use "getmProperty()" as
accessor method naming patt
The SOB you are talking about is a well-respected (and present)
colleague of mine and our team backed the decision, so the fun (which i
was not observing as you did) ends exactly here :-(
Robert
Bill Bohnenberger schrieb:
What an amusing thread. It seems to me the only problem here is the arr
Hello,
try to find you message in the Servlet-Container log file. I am not sure
abot the target of system.out in the jee context, i suppose it would be
the log file.
Regards
Eduard
Nguyen Xuan Son schrieb:
dear all
in struts.xml i have
C0002_Home.jsp
however no matter how hard i trie
36 matches
Mail list logo