Struts2 Invalid Request Page is not showing up

2013-08-12 Thread Sreekanth S. Nair
Hi, We are using struts2 latest distribution, where we are using tokenSession interceptor for duplicate submission. Duplicate request processing is working fine but its not showing result page for duplicate form submission which we have defined in strust.xml as below. global-results result

Re: struts 1 to struts2 migration.

2013-08-08 Thread Sreekanth S. Nair
Hi Arpan, We too did a struts1 to strust2 migration in recent past, its not so easy to migrate as it is. Since Struts2 gives more importance to security nowadays its always advisable to learn the correct implementation from struts2 doc and migrate your struts1 actions one by one.

Re: struts 1 to struts2 migration.

2013-08-08 Thread Sreekanth S. Nair
of x already written, I don't want to change so much code for now. Hence like to use scriplet only. On Thu, Aug 8, 2013 at 3:04 PM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: Already suggested by Lukasz, i can see thats only possible way if you don't want to disturb

Re: [struts 2] java.io.FileNotFoundException: http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd

2013-08-07 Thread Sreekanth S. Nair
Try changing you xxx-validation.xml file dtd url declaration with the latest available dtd inside xwork-core.jar -- Thanks Regards Srikanth On Wed, Aug 7, 2013 at 10:44 PM, John Boyer j...@rodaxsoft.com wrote: Hi: Suddenly, in-production, we're getting file-not-found errors for the

Re: [struts 2] java.io.FileNotFoundException: http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd

2013-08-07 Thread Sreekanth S. Nair
use this !DOCTYPE validators PUBLIC -//Apache Struts//XWork Validator 1.0.2//EN http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd; -- Regards Srikanth On Wed, Aug 7, 2013 at 11:06 PM, John Boyer j...@rodaxsoft.com wrote: Hi Martin: Okay, but my

Re: Getting lists back from struts

2013-08-07 Thread Sreekanth S. Nair
Check this tutorial might help you http://www.mkyong.com/struts2/how-to-set-default-value-for-multiple-checkboxes-in-struts-2/ -- Thanks Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913

Re: Annotation Support for bypassing prepare

2013-08-07 Thread Sreekanth S. Nair
With all gratitude, I strongly disagree with that idea . That bring more clumsiness to big strust2 applications. And the idea of taking an array of Prepare is a good idea but don't you think it consumes a pinch of runtime performance.

Re: Annotation Support for bypassing prepare

2013-08-07 Thread Sreekanth S. Nair
, but an array of strings for which execute methods the Preaparable callback should be excluded. On Aug 7, 2013 11:09 PM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: With all gratitude, I strongly disagree with that idea . That bring more clumsiness to big strust2 applications

Re: Annotation Support for bypassing prepare

2013-08-07 Thread Sreekanth S. Nair
pbened...@apache.org wrote: I don't see a performance concern here. Checking a few strings isn't going to slow down anything. On Aug 8, 2013 12:06 AM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: Guess same performance concern is applicable for that as well. Any ideas of making

Re: sj:select default value not load

2013-08-07 Thread Sreekanth S. Nair
here the value of why is representing key or value ? The value your are providing to *value* attribute (value=%{why}), it should always represent the key (not the display value). -- Thanks Regards Srikanth Software Developer eGovernments Foundations

Re: Annotation Support for bypassing prepare

2013-08-03 Thread Sreekanth S. Nair
Attaching SkippablePrepareInterceptor and SkipPrepare Annotation Code, I hope it may helpful for other who have similar requirement. Struts2 can include it, if strust2 developer think its worthy. -- Thanks Regards Srikanth On Sat, Jul 27, 2013 at 12:00 AM, Sreekanth S. Nair sreekanth.n

How to initiate the select tag with empty list

2013-08-02 Thread Sreekanth S. Nair
Hi, Sometimes we need to provide an empty select tag which will be populated later depending on some value in form using ajax. Now its mandatory to provide at least an empty list to make select to work. Why can't struts2 select tag can handle this case, where we can render the select tag even

Re: Is there any security issue or any side effect if we dont use conversionError interceptor?

2013-08-02 Thread Sreekanth S. Nair
Any idea? -- Thanks Regards Srikanth On Thu, Aug 1, 2013 at 4:49 PM, Sreekanth S. Nairwrote: Hi, Is there any security issue or any side effect if we don't use conversionError interceptor apart from it wont report the conversion errors? -- Thanks Regards Srikanth

Re: Is there any security issue or any side effect if we dont use conversionError interceptor?

2013-08-02 Thread Sreekanth S. Nair
Yup ;) and thanks. -- Thanks Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Fri, Aug 2, 2013 at 1:19 PM, Lukasz Lenart lukaszlen...@apache.orgwrote: 2013/8/2 Sreekanth S

Re: How to initiate the select tag with empty list

2013-08-02 Thread Sreekanth S. Nair
...@gmail.com wrote: It can, just use a regular select, instead of the s:select (*Chris*) On Fri, Aug 2, 2013 at 12:36 AM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: Hi, Sometimes we need to provide an empty select tag which will be populated later depending on some value

Re: How to initiate the select tag with empty list

2013-08-02 Thread Sreekanth S. Nair
is an error use case. -Original Message- From: Sreekanth S. Nair [mailto:sreekanth.n...@egovernments.org] Sent: Friday, August 02, 2013 11:56 AM To: Struts Users Mailing List Subject: Re: How to initiate the select tag with empty list That i know Chris. are you getting away from

Re: How to initiate the select tag with empty list

2013-08-02 Thread Sreekanth S. Nair
is an empty select tag with a name that matches a mutator in your action. Struts (and your jQuery) will do the rest. (*Chris*) On Fri, Aug 2, 2013 at 9:55 AM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: That i know Chris. are you getting away from the question, i was talking about

Re: How to initiate the select tag with empty list

2013-08-02 Thread Sreekanth S. Nair
it an empty list, you just can't give it null. You may be able to specify list=%{{}} which should be OGNL syntax for an empty list. (*Chris*) On Fri, Aug 2, 2013 at 11:06 AM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: I understood your point chris

Is there any security issue or any side effect if we dont use conversionError interceptor?

2013-08-01 Thread Sreekanth S. Nair
Hi, Is there any security issue or any side effect if we don't use conversionError interceptor apart from it wont report the conversion errors? -- Thanks Regards Srikanth

Looking for full tutorial on WildCard Action Method using annoation

2013-07-30 Thread Sreekanth S. Nair
Can anyone give us a tutorial link or some sample app about using WildCard fully using annoation.? -- Thanks Regards Srikanth

Re: Looking for full tutorial on WildCard Action Method using annoation

2013-07-30 Thread Sreekanth S. Nair
: Define fully; are you having a specific issue? Dave On Tue, Jul 30, 2013 at 3:32 PM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: Can anyone give us a tutorial link or some sample app about using WildCard fully using annoation.? -- Thanks Regards Srikanth

Error on every concurrent deployment.

2013-07-26 Thread Sreekanth S. Nair
Hi, I'm using eclipse + jboss 7 to deploy my struts2 latest distro app... gettng this following deployment exception on alternate deployment. ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/pgr]] (ServerService Thread Pool -- 56) JBWEB000284: Exception starting

conversionError interceptor is causing ModelDriven to fail

2013-07-26 Thread Sreekanth S. Nair
Hi, conversionError interceptor in the interceptor stack breaking the ModelDriven, can't able to bind Model which have custom object association

Re: Error on every concurrent deployment.

2013-07-26 Thread Sreekanth S. Nair
Lenart lukaszlen...@apache.orgwrote: Do you put framework's lib in JBoss shared library folder? I mean all the app instances use the same libs? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/7/26 Sreekanth S. Nair sreekanth.n...@egovernments.org: Hi, I'm using

Re: conversionError interceptor is causing ModelDriven to fail

2013-07-26 Thread Sreekanth S. Nair
is broken ? or dont know. -- Thanks Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Fri, Jul 26, 2013 at 1:09 PM, Lukasz Lenart lukaszlen...@apache.orgwrote: 2013/7/26 Sreekanth

Re: Error on every concurrent deployment.

2013-07-26 Thread Sreekanth S. Nair
lukaszlen...@apache.orgwrote: So you have many war archives in one ear archive? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/7/26 Sreekanth S. Nair sreekanth.n...@egovernments.org: Yes, its an ear deployment and all my struts libs are in .ear/lib/ folder

Re: Error on every concurrent deployment.

2013-07-26 Thread Sreekanth S. Nair
to https://issues.apache.org/jira/browse/WW-4152 2013/7/26 Sreekanth S. Nair sreekanth.n...@egovernments.org: yes thats right and my local wars/lib don't have any lib of struts2. -- Thanks Regards Srikanth Software Developer eGovernments

Re: conversionError interceptor is causing ModelDriven to fail

2013-07-26 Thread Sreekanth S. Nair
eGovernments Foundations www.egovernments.org Mob : 9980078913 On Fri, Jul 26, 2013 at 1:15 PM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: Cool... :). There is no stacktrace i can provide you apart from some OGNL obvious dirty WARNINGS. I debugged

Annotation Support for bypassing prepare

2013-07-26 Thread Sreekanth S. Nair
Is there any annotation available to bypass prepare method while invoking certain methods, just like @skipvalidation -- Thanks Regards Srikanth

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Sreekanth S. Nair
: 9980078913 On Fri, Jul 26, 2013 at 4:40 PM, Paul Benedict pbened...@apache.org wrote: Why would you want to bypass it? On Jul 26, 2013 3:47 AM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: Is there any annotation available to bypass prepare method

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Sreekanth S. Nair
from your action? That will do it. On Jul 26, 2013 6:12 AM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: Suppose i need to call any ajax validation on the same Action, it unnecessarily run in to prepare. Where that ajax validation doesn't required to call prepare

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Sreekanth S. Nair
wrote: Did you try `prepareWhateverMethodThatNeedsPrepare`? I don't recall if that works or not. On Fri, Jul 26, 2013 at 7:24 AM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: No i can't do that, because that Action contains other method which needs Prepare, the only option i

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Sreekanth S. Nair
the interceptor package-wide, or change the prepare interceptor to always skip preparation for methods annotated with @DoNotPrepare, etc. Dave On Fri, Jul 26, 2013 at 9:19 AM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: Too many methods :( needs its own prepare then. -- Thanks

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Sreekanth S. Nair
, either. Dave On Fri, Jul 26, 2013 at 2:07 PM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: The idea is precisely good, thats what i wanted but do you think it will be a good addition to strust2 framework by any chance then i hope the same could be a part of struts2

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Sreekanth S. Nair
support? Seems a lot easier than creating more infrastructure. (*Chris*) On Fri, Jul 26, 2013 at 11:22 AM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: Okay, i can create one for mine, leaving to struts2 framework developer whether strust2 need an annotation like

Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Sreekanth S. Nair
back regarding the performance tuning part, but the answer i got doesn't cover from which all jars and what are the files have to be extracted. -- Thanks Regards Srikanth On Mon, Jul 15, 2013 at 12:28 PM, Lukasz Lenart lukaszlen...@apache.orgwrote: 2013/7/13 Sreekanth S. Nair sreekanth.n

Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Sreekanth S. Nair
http://struts.apache.org/development/2.x/docs/static-content.html Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/7/15 Sreekanth S. Nair sreekanth.n...@egovernments.org: /* basically works but i felt its unnecessary to map filter with /* url pattern. As you said extracting

Error while using executeAndWait interceptor

2013-07-15 Thread Sreekanth S. Nair
Hi, getting the following exeception while using executeAndWait filter @ line Number 186 i have the following line of code, which causing the NPE, without executeAndWait this Action works pretty much fine. final HttpServletRequest req = ServletActionContext.getRequest(); [0m13:03:43,031

Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Sreekanth S. Nair
Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Mon, Jul 15, 2013 at 1:10 PM, Lukasz Lenart lukaszlen...@apache.orgwrote: 2013/7/15 Sreekanth S. Nair sreekanth.n...@egovernments.org: Struts2-core dojo

Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Sreekanth S. Nair
* or *struts*directory ? -- Thanks Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Mon, Jul 15, 2013 at 1:27 PM, Lukasz Lenart lukaszlen...@apache.orgwrote: 2013/7/15 Sreekanth S

Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Sreekanth S. Nair
/static/ to where ? -- Thanks Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On Mon, Jul 15, 2013 at 1:43 PM, Lukasz Lenart lukaszlen...@apache.orgwrote: 2013/7/15 Sreekanth S

Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Sreekanth S. Nair
15, 2013 at 1:51 PM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: Sorry i didn get you. You mean directly under WebContant folder? Is like this the following struts2-core.jar/ template to WebContent/template struts2-jquery-plugin/template to WebContent/template

Servlet 3.0 supported ?

2013-07-14 Thread Sreekanth S. Nair
What are feature supported by struts2 wrt servlet3.0 (specifically anything from async) -- Thanks Regards Srikanth

Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-13 Thread Sreekanth S. Nair
Hi, I'm getting the following exception when i try to use strust2-jquery-plugin, My web.xml fragment for struts2 as follows. filter-mapping filter-namestruts2Prepare/filter-name url-pattern*.action/url-pattern /filter-mapping filter-mapping filter-namesitemesh/filter-name

How to make interceptor to be invoked only for HTTP Request not for Response

2013-07-09 Thread Sreekanth S. Nair
How to make interceptor to be invoked only for HTTP Request not for Response

Re: How to make interceptor to be invoked only for HTTP Request not for Response

2013-07-09 Thread Sreekanth S. Nair
On Tue, Jul 9, 2013 at 5:41 PM, umeshawas...@gmail.com wrote: Any specific reason to do that? --Original Message-- From: Sreekanth S. Nair To: Struts Users Mailing List ReplyTo: Struts Users Mailing List Subject: How to make interceptor to be invoked only

Re: How to make interceptor to be invoked only for HTTP Request not for Response

2013-07-09 Thread Sreekanth S. Nair
, Sreekanth S. Nair escreveu: Yes, i have an Interceptor basically to Trimming of input values, i don't want to do this to be happened while request coming back with response. -- Thanks Regards Srikanth Software Developer eGovernments Foundations

Re: How to make interceptor to be invoked only for HTTP Request not for Response

2013-07-09 Thread Sreekanth S. Nair
action.invoke, and before rendering with PreResultListeners. I don't understand the specific issue(s) you think you're having. What problem are you having that you're trying to solve? Dave On Jul 9, 2013 9:54 AM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: I doubt struts2

Re: How to make interceptor to be invoked only for HTTP Request not for Response

2013-07-09 Thread Sreekanth S. Nair
On Tue, Jul 9, 2013 at 8:39 PM, Paul Benedict pbened...@apache.org wrote: Agreed. What you want is a Servlet filter, not a Struts interceptor. On Tue, Jul 9, 2013 at 9:54 AM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: I doubt struts2 interceptor work like

Re: How to make interceptor to be invoked only for HTTP Request not for Response

2013-07-09 Thread Sreekanth S. Nair
, Dave Newton davelnew...@gmail.com wrote: What do you mean by called while response? Interceptors aren't called twice, they wrap action invocation. Dave On Jul 9, 2013 10:07 AM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: I have a custom interceptor for trimming whitespaces

OGNL WARNING

2013-06-28 Thread Sreekanth S. Nair
Don't know whats the reason i'm getting this following WARNIng in latest struts distro. WARN [com.opensymphony.xwork2.ognl.OgnlValueStack] (http-localhost/127.0.0.1:8080-1) Error setting expression 'action:documentManager!updateDocument' with value '[Ljava.lang.String;@1c1abc1':

Re: OGNL WARNING

2013-06-28 Thread Sreekanth S. Nair
the colon char is not an expected input parameter. You talk about latest distro, did it works before with other distros? On 28 June 2013 09:43, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: action:documentManager!updateDocument Twitter :http://www.twitter.com/m_cucchiara G

Re: OGNL WARNING

2013-06-28 Thread Sreekanth S. Nair
:http://www.linkedin.com/in/mauriziocucchiara VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara Maurizio Cucchiara On 28 June 2013 10:10, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: Yes it was working -- Thanks Regards Srikanth Software

Re: OGNL WARNING

2013-06-28 Thread Sreekanth S. Nair
As i replied in the jira, we are heavily depends on bang syntax, how can we fix this... changing all ! is literally impossible now, since we have hundreds of action urls are in bang style. -- Thanks Regards Srikanth Software Developer eGovernments Foundations

Difficulty in understanding Struts 2 distribution

2013-06-26 Thread Sreekanth S. Nair
Hi, Now the struts2 distribution is a single zip file which includes all optional and required jars together which is making life very difficult to understand, which are the jars required for struts2 to make up and running and what are the other optional and dependency jar for plugin and

Re: Difficulty in understanding Struts 2 distribution

2013-06-26 Thread Sreekanth S. Nair
this is clearly mentioned in the Project dependencies page what all is required for details refer http://struts.apache.org/release/2.3.x/struts2-core/dependencies.html On Wed, Jun 26, 2013 at 2:00 PM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: Hi, Now the struts2

Re: Difficulty in understanding Struts 2 distribution

2013-06-26 Thread Sreekanth S. Nair
is not optional On Wed, Jun 26, 2013 at 2:32 PM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: I dont think this is correct, we are not using velocity then how come struts2 depends on velocity, same for junit. These all are not required dependency for strust2 to up and running

Re: Difficulty in understanding Struts 2 distribution

2013-06-26 Thread Sreekanth S. Nair
. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/6/26 Sreekanth S. Nair sreekanth.n...@egovernments.org: Thanks for clarifying all these but don't you think its better to make the same thing in distribution itself, which will help developer to make strust2 project

Re: Struts2 Performance Tuning

2013-06-25 Thread Sreekanth S. Nair
On Mon, Jun 24, 2013 at 1:53 PM, umeshawas...@gmail.com wrote: I believe that all those steps are equally applicable and to all version of struts2 Underlying working of Struts2 is more or less and same. Sent from BlackBerry® on Airtel -Original Message- From: Sreekanth S. Nair

Re: Struts2 Performance Tuning

2013-06-25 Thread Sreekanth S. Nair
in FreeMarker; if you're using the S2 UI tags, you're using FM. Other items related to interceptor stacks, dev mode, and so on. Consider reading the whole page, as it covers the first line of defense. Dave On Tue, Jun 25, 2013 at 6:43 AM, Sreekanth S. Nair sreekanth.n...@egovernments.org

Struts2 Performance Tuning

2013-06-24 Thread Sreekanth S. Nair
Is this link ( http://struts.apache.org/release/2.3.x/docs/performance-tuning.html) points to the latest performance tuning for strust2 ? freemarker template caching is confusing whether we need to locally copy those template files or not? Can any one please provide some good resources for step

Struts2 Exception Handling

2013-06-21 Thread Sreekanth S. Nair
Hi, Can anyone point me a tutorial or reference for how to handle exception (uncaught or all exception). There are so many tutorial available online but all are different. -- Thanks Regards Srikanth Software Developer eGovernments Foundations

Re: Struts2 Exception Handling

2013-06-21 Thread Sreekanth S. Nair
eGovernments Foundations www.egovernments.org Mob : 9980078913 On Fri, Jun 21, 2013 at 11:50 AM, Lukasz Lenart lukaszlen...@apache.orgwrote: 2013/6/21 Sreekanth S. Nair sreekanth.n...@egovernments.org: Hi, Can anyone point me

Re: Struts2 Exception Handling

2013-06-21 Thread Sreekanth S. Nair
at 12:02 PM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: Hi Lukasz, Thanks for your replay, i did the same way only, but there are some exception still going uncaught and showing the stacktrace to view. There was something called CatchAll, can you please tell me

Re: Struts2 Exception Handling

2013-06-21 Thread Sreekanth S. Nair
: s:property value=exceptionStack //h4 so maybe remove that line and your are done. Regards -- Łukasz mobile +48 606 323 122 http://www.lenart.org.pl/ 2013/6/21 Sreekanth S. Nair sreekanth.n...@egovernments.org: Hi Lukasz, Thanks for your replay, i did the same way only

Re: Struts2 Exception Handling

2013-06-21 Thread Sreekanth S. Nair
Sreekanth S. Nair sreekanth.n...@egovernments.org: Okay, but the error page i'm getting is default error page not the custom error page (more over i'm not using exceptionStack in my custom error page) -- Thanks Regards Srikanth Software Developer

Re: Struts2 Exception Handling

2013-06-21 Thread Sreekanth S. Nair
, 2013 at 12:36 PM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: Yeah lukasz, you are correct i was working with devMode set to true, when i made it to false the custom exception page is coming.. Thanks a lot for reminding me this simple mistake. -- Thanks Regards Srikanth

Best Advanced Struts2 Book

2013-06-21 Thread Sreekanth S. Nair
Can anyone suggest a best advanced Struts2 book available now (with all recent updates of struts2) And any link pointing to Best Practices and Performance tuning for latest struts2

Re: Best Advanced Struts2 Book

2013-06-21 Thread Sreekanth S. Nair
Yaragalla.* (Visit My Blog http://yaragalla.blogspot.in) * On Fri, Jun 21, 2013 at 7:01 PM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: Can anyone suggest a best advanced Struts2 book available now (with all recent updates of struts2) And any link pointing to Best Practices

Redirecting to another action which is in another web context

2013-05-07 Thread Sreekanth S. Nair
Hi, Does Struts2 have any way to redirect from one action to another action which exist in a different Web Context. ServletRedirectResult and ServletActionRedirectResult doesn't seems to be work for Cross Context Action redirection. -- Thanks Regards Srikanth Software Developer

Fwd: Redirecting to another action which is in another web context

2013-05-07 Thread Sreekanth S. Nair
Hi, Does Struts2 have any way to redirect from one action to another action which exist in a different Web Context. ServletRedirectResult and ServletActionRedirectResult doesn't seems to be work for Cross Context Action redirection. -- Thanks Regards Srikanth

Re: Redirecting to another action which is in another web context

2013-05-07 Thread Sreekanth S. Nair
or result name=success type=redirectAction or result name=success type=chain 2013/5/8 Sreekanth S. Nair sreekanth.n...@egovernments.org Hi, Does Struts2 have any way to redirect from one action to another action which exist in a different Web Context. ServletRedirectResult

Re: Multiple Window and Struts2 token issue.

2013-03-07 Thread Sreekanth S. Nair
form having s:token name=xyz/ and second one having s:token name=xyztyy/ and that did the trick. On Thu, Mar 7, 2013 at 1:10 PM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: Hi, I have a web app where its having a couple of operations say for example Create User and Create Role

Multiple Window and Struts2 token issue.

2013-03-06 Thread Sreekanth S. Nair
Hi, I have a web app where its having a couple of operations say for example Create User and Create Role. Both these forms are having struts2 token for handling duplicate submit. Its working as expected. Now the problem is when try to open both of it and try to save both of it. The window

Re: Why Struts2 doesn't have string value trimming ?

2013-02-19 Thread Sreekanth S. Nair
Hi Eric, We can not do it, since we are not using struts xml to map action rather codebehind plugin. -- Thanks Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913 On

Re: Why Struts2 doesn't have string value trimming ?

2013-02-19 Thread Sreekanth S. Nair
what my question :) -- Thanks Regards Srikanth On Tue, Feb 19, 2013 at 6:27 PM, Dave Newton davelnew...@gmail.com wrote: On Tue, Feb 19, 2013 at 1:05 AM, Sreekanth S. Nair wrote: is there any way to make it as default behaviour of struts2 to trim ? AFAIK, no. I've solved this the same way

Why Struts2 doesn't have string value trimming ?

2013-02-18 Thread Sreekanth S. Nair
Hi, Its common that user sometimes will enter string field values with spaces or just by mistake value as empty space, is there any way to make it as default behaviour of struts2 to trim ? Right now we are depending on an Interceptor which will take care of trimming value but this is making

Re: Does OGNL 3.0.6 work with Struts2 -core-2.1.2 ?

2013-02-12 Thread Sreekanth S. Nair
Thanks Lukasz, appreciate your suggestion but our application is so huge to make an sudden upgrade to latest version. On Tue, Feb 12, 2013 at 3:51 PM, Lukasz Lenart lukaszlen...@apache.orgwrote: 2013/2/12 Sreekanth S. Nair sreekanth.n...@egovernments.org: Which is the safest (required

Re: Does OGNL 3.0.6 work with Struts2 -core-2.1.2 ?

2013-02-11 Thread Sreekanth S. Nair
the ognl release note but i'm not quite sure about whether i can use it with struts- 2.1.2. Thanks On Mon, Feb 11, 2013 at 1:43 PM, Lukasz Lenart lukaszlen...@apache.orgwrote: 2013/2/11 Sreekanth S. Nair sreekanth.n...@egovernments.org: Hi, Does OGNL 3.0.6 jar work with Struts2 -core-2.1.2

Does OGNL 3.0.6 work with Struts2 -core-2.1.2 ?

2013-02-10 Thread Sreekanth S. Nair
Hi, Does OGNL 3.0.6 jar work with Struts2 -core-2.1.2 without any issues? according to http://struts.apache.org/2.3.4.1/docs/Performance%20Tuning.html its says struts 2.3 have to use ognl-3.0.3 but i can see some more performance improvement fixes at ognl 3.0.6. regards

how can i pass an arraylist from jsp to action class

2006-06-05 Thread Sreekanth PK
Hi, how can i pass an arraylist from jsp to action class with out the help of session or application variable Am not able to use request.setAtrribute in jsp to do this why??

<    1   2