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
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
=javascript:fnSubmit() /
/s:form
/body
/html
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 mapped
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
Alternatively if you want to do only in one page
s:form action=helloWorld* theme=simple
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
You can use org.apache.struts2.util.ListEntry , a default object to hold key
value in Roles list box for JSP page dropdowns.
s:select label=Role: name=roleId list=roles /
Regards,
Raghuveer Vellanki
-Original Message-
From: Sommers, Elizabeth [mailto:somme...@pragmatics.com]
Sent:
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.
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
in 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 raghuve
JSP page:
s:textfield name=CBookingFactorsBean.salesAfterDiscount size=13
cssClass=Input/
The c in CBookingFactorsBean should be lower case , I think.
Chris
-Original Message-
From: Raghuveer.V raghuve...@infotechsw.com
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
_
From: Raghuveer.V [mailto:raghuve...@infotechsw.com]
Sent: Tuesday, September 22, 2009 12:10 PM
To: 'musom...@aol.com'; 'user@struts.apache.org'
Subject: RE: Struts2 - OGNL - access bean property in model object
Hi Chris,
I tested it even in similar way still the data is not set when
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]).
() {
return cBookingFactorsModel;
}
public void setCBookingFactorsModel(CBookingFactorsModel
bookingFactorsModel) {
cBookingFactorsModel = bookingFactorsModel;
}
-Original Message-
From: Raghuveer.V [mailto:raghuve
-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 other thread
(CBookingFactorsModel
bookingFactorsModel) {
cBookingFactorsModel = bookingFactorsModel;
}
_
From: Raghuveer.V [mailto:raghuve...@infotechsw.com]
Sent: Monday, September 21, 2009 4:32 PM
To: 'user@struts.apache.org'
Subject: Struts2 - OGNL - access
-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
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 model and set
the latest
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,
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
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
22 matches
Mail list logo