I have 2 suggestion:
(A)Declare the input data field in your action as a String, instead of
date or integer.
So, the String field can hold anything input from client side.
But this will be inconvenience to use, because you have to convert the
string value
to the date or integer value by yourself,
Hi, Ilya:
> But struts-2 breaks this scheme.
>
> 1) it does not pass exception to container so container can't log it.
I used struts2 for several years.
In our projects, struts-2 does not break this schema.
I have read the source of struts2. When an exception is thrown from
action execution, str
Hi Miguel:
How did you generate the error message?
(A)Did you add the message key to the action errors, like:
this.addActionError("error.authorisation");
(B)or did you retrieve the message text by the key, then add the text
to the action errors, like:
this.addActionError(this.getText("
And right for that reason they can coexists,
so if you want use lang3, just add it to your classpath
Sent from my mobile device, so please excuse typos and brevity.
Maurizio Cucchiara
Il giorno 17/nov/2011 21.21, "Emi Lu" ha scritto:
On 11/17/2011 03:04 PM, Emi Lu wrote:
>
> Hello,
>
> I rememb
On 11/17/2011 03:04 PM, Emi Lu wrote:
Hello,
I remembered that xwork2.2.3 does not support commons-lang3-3.0.1.jar,
so use commons-lang-2.6.jar.
Just want to remind the reason:
depend on “org/apache/commons/lang/StringUtils”; while the new jar shows
“org/apache/commons/lang3/StringUtils”
Hello,
I remembered that xwork2.2.3 does not support commons-lang3-3.0.1.jar,
so use commons-lang-2.6.jar.
Apache just published a new version lang jar. Does someone know
for this newer version, will xwork-core-2.2.3.1.jar + common_lang_3.1
work together?
Thanks a lot!
Emi
On 11/15/2011 04:
Is there anything in your startup logs? This could help things go more
quickly.
On Nov 17, 2011 12:21 PM, "Praveen Jain"
wrote:
>
> Dear
> Ilya Kazakevich,
>
> Thanks for your help in making my application I am providing you the
> required details .
>
> Currently I am using
>
> 1) Java Version
Dear
Ilya Kazakevich,
Thanks for your help in making my application I am providing you the required
details .
Currently I am using
1) Java Version "jdk1.5.0_05"
2) Tomcat version "Tomcat 5.0"
2) Struts Version 2.0
3) Yes in Endorse Folder of Tomcat I have two jar files named xerc
8 matches
Mail list logo