Hi,
are you sure that the answer is sent to the correct JSP. Please check
your struts.xml for the action and make sure that the correct result is
chosen. In case of Chinese and if you are using the dynamic method
invocation the result may be incorrect.
Regards
Eduard
Kavita Mehta schrieb:
Hi Wong,
perhaps would the following entries from decorators.xml help you :
decorators defaultdir=/jsp/decorators
excludes
pattern/styles/*/pattern
pattern/scripts/*/pattern
pattern/images/*/pattern
pattern/index.html/pattern
/excludes
...
/decorators
Regards
Eduard Neuwirt
CS
Hi Sandy,
please use additionally to the conversion xml the of the declaration
corresponding member attributes as double, int etc. I think there are
several examples for the class-name.properties files.
Regards
Eduard Neuwirt
sandy.verfai...@roularta.be schrieb:
Martin,
Then why
Hi all,
if you declare a field as int and pass a non int value, the described
error occurs. Either use string or be sure to put the correct value.
Regards
Eduard
musom...@aol.com schrieb:
That looks like a question -- it is meant to be an assertion but somehow
question marks crept in.
C.
Hello,
I am trying to create my own Struts theme. The topic seems to be rather
rarely. I am looking for an tutorial or how to guide describing this.
Does a tutorial exist ? Is it useful to create a won theme ?
Regards
Eduard
Hi Martin,
I have two kinds of forms. Table view and Entity View for different
entities and tables. The look-and-feel shall be the same, only the
content and columns differ.
I don't use any template library.
CSS is planned.
Eduard Neuwirt
Martin Gainty schrieb:
i would have to agree
Hi,
perhaps a simple type :
omg.alocation
try with allocation (twin l)
Regards
Eduard
SanJ.SANJAY schrieb:
I am setting this new bena in form like this:
private NewBean omg= new NewBean ();
public NewBean getOmg() {
return omg;
}
public void
Hi all,
I am facing the following interesting behavior of struts 2.1.8. I am
using in action a list containing beans with setting of Double.
Additionally I set German locale.
So the value of double will be displayed in the English-Locale for
example 5.55, but the conversion of value is done
Hello Martin,
yes i did. The converter works partially. For displaying the
dot-notification is used. For input the comma notification is used.
Any Idea ?
Martin Gainty schrieb:
did you use xwork DoubleConverter?
@Conversion()
public class ConversionAction implements Action {
private
Hello all,
so I am still facing the problem with Double conversion ins Struts. So I
am trying to describe the situation:
1. double will be converted without consideration of localization, i.e.
input and display form are using dot-notification.
2. Double will be convvrted with partial
Hi,
Obviously there is a gap between Hibernate and Web-Application.
OpenSessionInViewFilter working well, almost. I am using this filter and in the
most cases it is enough. Sometimes I have to load Collection with size(). The
another solution is to store only keys in the session and load the
Hello Johannes,
I am a little bit confusing. I thougth that Spring + Hibernate do not
solve the LazyInitializationException-issue because the hibernate
session is attached to request scope, so it leads to the problem ? Do
you store the session in the session scope ?
Regards
Eduard
Johannes
triple-check to make
sure that jar is loaded.
--Dennis
On Fri, Oct 23, 2009 at 2:35 PM, Eduard Neuwirt
eduard.neuw...@googlemail.com wrote:
Hi,
Obviously there is a gap between Hibernate and Web-Application.
OpenSessionInViewFilter working well, almost. I am using this filter
implements this.
--Dennis
From: Eduard Neuwirt eduard.neuw...@googlemail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Fri, October 23, 2009 3:08:44 PM
Subject: Re: Struts2 / Hibernate Question
Hi,
please have a look to the https
and standard way of dealing with it,
but so far it seems not.
--Dennis
From: Eduard Neuwirt eduard.neuw...@googlemail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Fri, October 23, 2009 3:19:09 PM
Subject: Re: Struts2 / Hibernate Question
Hi
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
action name=C0002_Home
Did you send your success message from the action ?
Emi Lu schrieb:
Good afternoon,
With struts2.1.81, in action class: addActionMessage(Success!);
in JSP, display s:actionmessage /.
But the success message never show up? Any clues?
Thanks a lot!
--
Lu Ying
Hello all,
I am facing a strange problem. If I redefine in web.xml the
struts-filters (see following xml-snip), the struts works fine, but I
loose my location settings after FORWARDING.
Any idea ? Please advice.
Regards
Eduard
P.S.: I haven't debugged the struts code.
filter-mapping
Hello Stephane,
I think this a small differ approach would be better. I would declare
only once Action for example DisplayAction.
Within this class define two member variables clients and lists. Access
to these beans via select in the *.jsp.
Something like that:
class DisplayAction ...
{
Hi,
This is very diffcult issue in struts. First you have to set your locale
correctly. Second you have to use in the jsp the correct calls for number
formatting. The struts docummenattion explains this point in FAQ (I hold in
mind so). Alternatively you can write your own converter for
Hello Rakesh,
are you using spring 3.x version ? If yes, please make sure, you have
already included all spring 3.0 jars. The entire list of jars can be
found here:
http://blog.springsource.com/2009/12/02/obtaining-spring-3-artifacts-with-maven/
Listener not cofigured means that one of
Hello,
I am looking for an elegant solution for the following situation.
I have a multitenant struts/spring/hibernate application. Every tenant is
stored in own database within the same RDBMS. All databases has the same
schema. At the spring layer every tenant is represented as a datasource.
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
Hi Frans,
would you mind to explain it ? Different implementation of what ?
Regards
Eduard
2010/10/15 Frans Thamura fr...@meruvian.org
How about make different implementation
So
Tenant1 extends tenanta
Tenant2 extends tenantb
/m/
-Original Message-
From: Eduard Neuwirt
and telecom application.
I used a data object to table
mapping to do DB routing vertically, pk hashing to route horizontally.
The routing operation should not be
done by Struts, but by persistent layer.
2010/10/15, Eduard Neuwirt
Hello Jake,
It is simple.
Use struts/spring plug in.
Declare your bean within your validator and let spring inject your
validator.
That's all
Regards
Eduard
P.S.: Do not forget to define the corresponding setter method for injection
Am 01.11.2010 08:37, schrieb Jake Vang:
i have a custom
getting a NullPointer (after I get the field and try to use it). Are
there any other configurations that I need in web.xml? Right now,
among other things, I have the listener
org.springframework.web.context.ContextLoaderListener defined in
web.xml.
Thanks,
On Mon, Nov 1, 2010 at 4:17 AM, Eduard
Hi,
I think the spring-web is better candidate for REST. I have not seen
until now a well Struts2-REST prototype.
Eduard
Am 10.02.2011 20:31, schrieb Frans Thamura:
hi all
we know REST is getting popular, and we know Struts2 can produce REST/JSON
but..
any idea to consume REST/JSON in
28 matches
Mail list logo