RE: Preserving Messages and Garbage values Across a Redirect in Struts 2

2009-11-26 Thread Raghuveer.V
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

RE: no Action mapped for namespace / and action name doLogin.

2009-11-25 Thread Raghuveer.V
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

RE: no Action mapped for namespace / and action name doLogin.

2009-11-25 Thread Raghuveer.V
=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

RE: struts.i18n.encoding

2009-11-24 Thread Raghuveer.V
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

RE: Question about struts templates

2009-11-20 Thread Raghuveer.V
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

RE: Confused about Drop down lists (database generated)

2009-11-20 Thread Raghuveer.V
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:

Struts2 on Websphere 6.1 : 404 errors

2009-10-16 Thread Raghuveer.V
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.

RE: Struts2 Tiles - Error -There is no Action mapped for namespace / and action name

2009-10-07 Thread Raghuveer.V
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

RE: Struts2 - OGNL - access bean property in model object

2009-09-22 Thread Raghuveer.V
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

RE: Struts2 - OGNL - access bean property in model object

2009-09-22 Thread Raghuveer.V
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

Struts2 - Custom listner class/plugin during application startup

2009-09-22 Thread Raghuveer.V
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

RE: Struts2 - OGNL - access bean property in model object

2009-09-22 Thread Raghuveer.V
_ 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

Struts2 Tiles - Error -There is no Action mapped for namespace / and action name

2009-09-21 Thread Raghuveer.V
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

Struts2 - OGNL - access bean property in model object

2009-09-21 Thread Raghuveer.V
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]).

RE: Struts2 Tiles - Error -There is no Action mapped for namespace / and action name

2009-09-21 Thread Raghuveer.V
() { return cBookingFactorsModel; } public void setCBookingFactorsModel(CBookingFactorsModel bookingFactorsModel) { cBookingFactorsModel = bookingFactorsModel; } -Original Message- From: Raghuveer.V [mailto:raghuve

RE: Struts2 Tiles - Error -There is no Action mapped for namespace / and action name

2009-09-21 Thread Raghuveer.V
-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

RE: Struts2 - OGNL - access bean property in model object

2009-09-21 Thread Raghuveer.V
(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

RE: Struts2 Tiles - Error -There is no Action mapped for namespace / and action name - struts2-tiles-plugin-2.1.6

2009-09-21 Thread Raghuveer.V
-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

RE: Struts2 - ScopedModelDriven - Unable to update the model and set the latest Model data in session

2009-09-08 Thread 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

Migrating struts2 version code from 2.0.6 to 2.1.6

2009-08-21 Thread Raghuveer.V
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,

Migrating struts2 - Could not find property errors

2009-08-21 Thread Raghuveer.V
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

Struts2 - ScopedModelDriven - Unable to update the model and set the latest Model data in session

2009-08-19 Thread Raghuveer.V
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