Alternatively if you want to do only in one page
Regards,
Raghuveer Vellanki
-Original Message-
From: Oscar [mailto:oscar.kalde...@gmail.com]
Sent: Friday, November 20, 2009 5:06 AM
To: Struts Users Mailing List
Subject: Re: Question about struts templates
Thanks for your answer Burton
You can use org.apache.struts2.util.ListEntry , a default object to hold key
value in Roles list box for JSP page dropdowns.
Regards,
Raghuveer Vellanki
-Original Message-
From: Sommers, Elizabeth [mailto:somme...@pragmatics.com]
Sent: Thursday, November 12, 2009 7:32 PM
To: Struts User
Use following in JSP page.
You should get with all default properties.
By default in tomcat it is ISO-8859-1
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
In worst case test some thing like this in your action file.
String strTemp=new String(strProperty.getBytes("ISO-8
Hello Vikrant,
Very minor issue, I have reviewed your code and don't find any error.
Your xml configurations says you need to call default execute() in
com.tcs.infra.cmt.Login.java.
This should work on all servers.
I have tested a similar code in Tomcat and web sphere.
If you don't mention any n
Regards,
Raghuveer Vellanki
-Original Message-
From: Raghuveer.V [mailto:raghuve...@infotechsw.com]
Sent: Wednesday, November 25, 2009 4:19 PM
To: 'user@struts.apache.org'
Cc: 'shimpi.vikr...@gmail.com'
Subject: RE: no Action mappe
Messages are stored since you use RedirectMessageInterceptor.
Action property Data is not retained during redirect.
Try following scenarios,
Method1:
So you need to set explicitly from Action property to ActionContext in
Action1 and Need to retrive from the context and set to properties in
A
Hi,
I have a problem implementing ScopedModelDriven.
I Have Model / User Java Bean object in action class.
I am trying to implement concept of same model object being used for 3 JSP
pages with PREVIOUS and NEXT button navigation.
Data to be updated in Model object for every page nav
Could you please let me know what are the necessary steps to be followed in
migrating a struts2 application from 2.0.6 to 2.1.6?
I get following errors during migration.
It is found following errors were shown in server console:
WARNING: Could not find property [actionErrors]
Aug 21, 20
I use following jars in my struts2 application.
It is found following errors were shown in server console, Any other jar
files missing?
commons-fileupload-1.2.1
commons-io-1.3.2
commons-logging-1.1
freemarker-2.3.13
junit-3.8.1
ognl-2.6.11
spring-test-2.5.6
struts2-core-2.1.6
xwork-2.1.2
This is working after using correct jar file, "struts2-core-2.1.6" jar.
_
From: Raghuveer.V [mailto:raghuve...@infotechsw.com]
Sent: Wednesday, August 19, 2009 6:55 PM
To: 'user@struts.apache.org'
Subject: Struts2 - ScopedModelDriven - Unable to update the mode
I have been using struts2Tiles2 for my current application.
I get following error when my Result type is "tiles" (struts.xml as show
below).
Any suggestion for resolving this error.
WARNING: Could not find action or result
There is no Action mapped for namespace / and action name
I have following property in model object(ScopedModelDriven).
CBookingFactorsBean cBookingFactorsBean=null;
In JSP page i get error when accessing [b]'salesAfterDiscount'[/b] property
of custom object(CBookingFactors[b]Bean[/b]) in
model(CBookingFactors[b]Model[/b]).
-
kingFactorsModel getCBookingFactorsModel() {
return cBookingFactorsModel;
}
public void setCBookingFactorsModel(CBookingFactorsModel
bookingFactorsModel) {
cBookingFactorsModel = bookingFactorsModel;
}
-Original Messag
-Original Message-
From: Raghuveer.V [mailto:raghuve...@infotechsw.com]
Sent: Monday, September 21, 2009 5:18 PM
To: 'Raghuveer.V'
Subject: RE: Struts2 Tiles - Error -There is no Action mapped for namespace
/ and action name
Sorry this has to be replied in ot
}
public void setCBookingFactorsModel(CBookingFactorsModel
bookingFactorsModel) {
cBookingFactorsModel = bookingFactorsModel;
}
_
From: Raghuveer.V [mailto:raghuve...@infotechsw.com]
Sent: Monday, September 21, 2009 4:32 PM
To: 'us
-Original Message-
From: Raghuveer.V [mailto:raghuve...@infotechsw.com]
Sent: Monday, September 21, 2009 5:18 PM
To: user@struts.apache.org
Subject: RE: Struts2 Tiles - Error -There is no Action mapped for namespace
/ and action name
-Original Message-
From: Raghuveer.V
model object
maybe the model is not on the stack...or on the stack but null
be sure your prepare() method initialize properly your bean...
fr/
- Message d'origine
De : Raghuveer.V
À :
erty in model object
JSP page:
The c in CBookingFactorsBean should be lower case , I think.
Chris
-Original Message-
From: Raghuveer.V
To: user@struts.apache.org
Sent: Mon, Sep 21, 2009 7:48 am
Subject: RE: Struts2 - OGNL -
I have a struts1 application calls a custom plugin during application
startup.
I am migrating struts1 to struts2.1.6.
How and what are the possible ways struts1 custom plugin code can be
implemented in struts2
.
WARNING: Error setting value
ognl.OgnlException: target is null for setProperty(null,
"salesAfterDiscount", [Ljava.lang.String;@e6235d)
at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1651)
Any idea
_
From: Raghuveer.V [mailto:raghuve...@infotechsw.com]
Sen
This worked after adding context parameter, DEFINITIONS_CONFIG in web.xml
-Original Message-
From: Raghuveer.V [mailto:raghuve...@infotechsw.com]
Sent: Monday, September 21, 2009 5:18 PM
To: user@struts.apache.org
Subject: RE: Struts2 Tiles - Error -There is no Action mapped for
Hi Struts2 Users,
I have problem when deploying application struts2.1.6 application on
Websphere6.1 which was succefully working on apache-tomcat-5.5.23.
We have used configuration option to make it work as per information
available in Websphere forums and Struts2 forums on my local websphere.
Co
22 matches
Mail list logo