SMI allowed methods not working for struts 2.5.17

2020-06-02 Thread Sailaja S
Hi, Currently I have an app sec issue with Struts Dynamic method invocation being set to true in my struts.xml file. We are using struts2.5. When I set Dynamic method invocation to false allowed methods is not working. Should allowed-methods work with SMI? How do I invoke multiple methods with

The Struts dispatcher cannot be found.

2018-10-09 Thread s-sbergg
Hello, Struts version 2.5.17 I am trying to setup struts 2 on tomcat, but there is coming up an error. The .jsp was opened directly. If there are more files needed to figure out what is wrong, feel free to ask. Error-message: HTTP Status 500 – Internal Server Error Type Exception Report Me

Re: Dynamically switching Tiles master layout

2016-11-04 Thread Sreekanth S. Nair
cool 👍 On Fri, Nov 4, 2016 at 2:09 PM, Lukasz Lenart wrote: > Thanks but I found this [1] and it works > > [1] https://coderanch.com/t/500781/framework/Struts-Tiles- > changing-layout-runtime#2257930 > > just used > > 2016-11-04 9:04 GMT+01:00 Sreekanth S. Nair org&g

Re: Dynamically switching Tiles master layout

2016-11-04 Thread Sreekanth S. Nair
.com/pub/sreekanth-s-nair/b/946/5a0/> <https://github.com/sreekanthsnair> On Fri, Nov 4, 2016 at 1:25 PM, Lukasz Lenart wrote: > Hi, > > Does someone has a solution how to dynamically change layout that > given Tiles ex

Re: How to disable devMode in prod

2016-10-12 Thread Sreekanth S. Nair
👍 thanks Lukasz.. On Wed, Oct 12, 2016 at 4:47 PM, Lukasz Lenart wrote: > 2016-10-12 12:43 GMT+02:00 Sreekanth S. Nair org>: > > Cool 👍 thanks Lukasz, when can we expect this release ? > > Somehow around end of this year, maybe early. > > > Regards > -- &g

Re: How to disable devMode in prod

2016-10-12 Thread Sreekanth S. Nair
Cool 👍 thanks Lukasz, when can we expect this release ? On Wed, Oct 12, 2016 at 3:02 PM, Lukasz Lenart wrote: > and docs > https://cwiki.apache.org/confluence/display/WW/Constant+Configuration# > ConstantConfiguration-Valuesubstitution > > 2016-10-12 11:24 GMT+02:00 Lukasz Lenart : > > Implemen

Re: Very confusing documentation

2016-09-20 Thread Sreekanth S. Nair
Hi Joseph, Would you like to understand the MVC architecture or to understand the Struts 1 framework. I would recommend, you can kindly go though the following link. http://www.raistudies.com/struts-1/architecture-of-struts-1-mvc-framework/ http://www.roseindia.net/struts/Struts-

Re: How to disable devMode in prod

2016-09-15 Thread Sreekanth S. Nair
Would be great to start with :-) -- Thanks & Regards Sreekanth Nair Java Developer On Thu, Sep 15, 2016 at 8:30 PM, Lukasz Lenart wrote: > Maybe the first step should be just simple, use ENV in > struts.xml/struts.properties > > > > wdyt? > > > Regards > -- > Łukasz > + 48 606 323 122 http:/

Re: How to disable devMode in prod

2016-09-15 Thread Sreekanth S. Nair
Adding one of my thought, it would be better if we can externalize the System ENV property key name (in Christoph code the key is "environment"), because the application may already having some key to set its environment to prod, staging or dev, etc. eg: if we are using spring its having *spring.pr

Re: How to disable devMode in prod

2016-09-15 Thread Sreekanth S. Nair
to add such feature directly to Struts Core? > > > > > > Yeah, that would surly make it simpler for quite a lot of people. > > How shall we call that property? > > struts.environment? > struts.staging? > struts.production? > > What value(s) shall we use

Re: Does struts 2.5.2 supports javaassist 3.18.1

2016-08-28 Thread Sreekanth S. Nair
Thanks Lukasz... yes we are using java 8... hope i can go head with 3.20.0-GA. On Sun, Aug 28, 2016 at 1:46 PM, Lukasz Lenart wrote: > It should be, in 3.19 support for Java 8 was added so if you are using > it you must use that version at least > > 2016-08-28 10:11 GMT+02:00 Sreek

Re: Does struts 2.5.2 supports javaassist 3.18.1

2016-08-28 Thread Sreekanth S. Nair
1:35 PM, Lukasz Lenart wrote: > 2016-08-26 10:54 GMT+02:00 Sreekanth S. Nair org>: > > Does ognl breaks if i exclude 3.20.0-GA javaassist library from > > struts-2.5.2 ? Hibernate version having dependency to javaassist > 3.18.1-GA > > so i'm expecting conflict bet

Does struts 2.5.2 supports javaassist 3.18.1

2016-08-26 Thread Sreekanth S. Nair
Does ognl breaks if i exclude 3.20.0-GA javaassist library from struts-2.5.2 ? Hibernate version having dependency to javaassist 3.18.1-GA so i'm expecting conflict between these two version.

Re: Issue in autowiring spring beans from parent context

2016-08-07 Thread Sreekanth S. Nair
I could shown little more patience :-) the problem solved, i was missing context:componentscan missing for my web applicationContext file. On Sun, Aug 7, 2016 at 1:32 PM, Sreekanth S. Nair < sreekanth.n...@egovernments.org> wrote: > Recently i tried to move so

Issue in autowiring spring beans from parent context

2016-08-07 Thread Sreekanth S. Nair
Recently i tried to move some of the services to spring parent context, we use spring's *parentContextKey* in web.xml to enable ContextLoaderListener to pick these services loaded globally. I have struts2 as well as Spring mvc modules inside an EAR, Spring mvc controller is properly getting injecte

Re: Struts 2.5.2 latest can be used with asm-all-5.1

2016-08-04 Thread Sreekanth S. Nair
Thanks Lukasz... for now i'll go with java8 plugin and once 2.5.3 is out then will use it :) -- Thanks & Regards Sreekanth Nair On Fri, Aug 5, 2016 at 11:37 AM, Lukasz Lenart wrote: > 2016-08-05 7:24 GMT+02:00 Sreekanth S. Nair org>: > > I want to upgrade cglib-

Struts 2.5.2 latest can be used with asm-all-5.1

2016-08-04 Thread Sreekanth S. Nair
I want to upgrade cglib-3.2.4, where as cglib dependency is asm-5.1, but Struts2 is also using asm libraries, does struts2 works with asm-5.1 ?

Re: Struts2 initial page loading time

2016-07-28 Thread Sreekanth S. Nair
PM, Lukasz Lenart wrote: > 2016-07-25 13:08 GMT+02:00 Sreekanth S. Nair < > sreekanth.n...@egovernments.org>: > > I've tried with both dev mode on and off but the problem still persist. > No > > i'm not using any java 8 plugin and also we are not using any

Re: Struts2 initial page loading time

2016-07-25 Thread Sreekanth S. Nair
16 at 4:31 PM, Lukasz Lenart wrote: > 2016-07-22 8:23 GMT+02:00 Sreekanth S. Nair < > sreekanth.n...@egovernments.org>: > > We are using JDK 8u92, yes i have disabled devmode, enabled back for > > debugging this issue. > > You should switch it off when debugging as in

Re: Struts2 initial page loading time

2016-07-21 Thread Sreekanth S. Nair
We are using JDK 8u92, yes i have disabled devmode, enabled back for debugging this issue. On Fri, Jul 22, 2016 at 11:48 AM, Lukasz Lenart wrote: > 2016-07-21 17:30 GMT+02:00 Sreekanth S. Nair < > sreekanth.n...@egovernments.org>: > > By investigating further on this

Re: Struts2 initial page loading time

2016-07-21 Thread Sreekanth S. Nair
); //LONG TIME* I didn't investigate further will update once done and if required On Thu, Jul 21, 2016 at 8:32 PM, Sreekanth S. Nair < sreekanth.n...@egovernments.org> wrote: > Hi Lukasz, > I have debugged through the code (version : 2.3.24.1) > and found

Re: Struts2 initial page loading time

2016-07-21 Thread Sreekanth S. Nair
SimpleAppConfiguration.class > }) > }) > > -- > _ > Adam Brin > Director of Technology, Digital Antiquity > 480.965.1278 > > > On Jul 21, 2016, at 8:02 AM, Sreekanth S. Nair < > sreekanth.n...@egovernments.org> wrote: > > > > Hi Lukasz, >

Re: Struts2 initial page loading time

2016-07-21 Thread Sreekanth S. Nair
* packageProviders.add(provider); } for the first time page loads. The same issue is there in 2.5.2 as well. Is it may be a default behavior to take time ? On Thu, Jul 21, 2016 at 12:10 PM, Sreekanth S. Nair < sreekanth.n...@egovernments.org> wrote: > Sure Lukasz... > > > On Thu,

Re: Struts2 initial page loading time

2016-07-20 Thread Sreekanth S. Nair
Sure Lukasz... On Thu, Jul 21, 2016 at 11:57 AM, Lukasz Lenart wrote: > 2016-07-21 8:22 GMT+02:00 Sreekanth S. Nair < > sreekanth.n...@egovernments.org>: > > May be... We are using strust2-spring-plugin. I'm not pretty sure about > > this plugin internal, need to

Re: Struts2 initial page loading time

2016-07-20 Thread Sreekanth S. Nair
May be... We are using strust2-spring-plugin. I'm not pretty sure about this plugin internal, need to investigate on this where its spending time. On Thu, Jul 21, 2016 at 11:45 AM, Lukasz Lenart wrote: > 2016-07-21 7:58 GMT+02:00 Sreekanth S. Nair < > sreekanth.n...@egovernment

Re: Struts2 initial page loading time

2016-07-20 Thread Sreekanth S. Nair
ddressing > it might depend on your own initialization sequence and perhaps setting up > your own Servlet init method > > > > On Jul 20, 2016, at 1:46 PM, Sreekanth S. Nair < > sreekanth.n...@egovernments.org> wrote: > > > > It seems like struts2 takes very

Struts2 initial page loading time

2016-07-20 Thread Sreekanth S. Nair
It seems like struts2 takes very long time while loading page for the first time within a webcontext, this will definitely save deployment time but result in less responsive for enduser for the first time. I guess this is struts's default behavior, is there anyway we can instruct struts2 to load in

Re: [ANN] Apache Struts 2.3.30 GA

2016-07-19 Thread Sreekanth S. Nair
as INFO [stdout] On Tue, Jul 19, 2016 at 3:31 PM, Lukasz Lenart wrote: > 2016-07-19 10:55 GMT+02:00 Sreekanth S. Nair < > sreekanth.n...@egovernments.org>: > > Hi Christoph, > >Thanks for your detailed explanation, even though > > its a huge c

Re: [ANN] Apache Struts 2.3.30 GA

2016-07-19 Thread Sreekanth S. Nair
Hi Christoph, Thanks for your detailed explanation, even though its a huge change for application to move from both slf4j and log4j1 to Log4j2, lets assume we moved all to Log4j2 but if the underlying application server eg: Jboss or wildfly have its own wrapper implementation

Re: [ANN] Apache Struts 2.3.30 GA

2016-07-18 Thread Sreekanth S. Nair
I'm not sure about bridging log4j1 to log4j2 gives us any benefit from enduser point of view, and most the people were using slf4j and log4j 1 for sure, with the addition of log4j2 the chain is getting complex for a simple logging. Why can't struts2 can make a log wrapper around it based on the ava

Re: [ANN] Apache Struts 2.3.30 GA

2016-07-18 Thread Sreekanth S. Nair
Absolutely that's what even i feel, server like Jboss (wildfly doesn't have support for it) so all logs coming after the following message is writing to stdout (is that the expected behavior). On Mon, Jul 18, 2016 at 6:43 PM, Emi wrote: > hi, is there any plan for the date of end of life for 2.

Re: Struts2 & Spring using child web application context

2016-06-26 Thread Sreekanth S. Nair
How you are packaging these two web applications ? as an EAR ? or independent WAR running inside a we container ? On Sun, Jun 26, 2016 at 9:47 PM, Chris Cranford < chris.cranf...@setechusa.com> wrote: > Has anyone been able to leverage the struts2-spring-plugin and running it > within a child co

Re: synchronization problem

2016-04-09 Thread Sreekanth S. Nair
Struts2 won't make your custom class threadsafe unless your code is threadsafe, synchronized(this) or synchronized method can be used in your service implementation if you think your service class is not threadsafe. Usually Service or DAO layer should be written threadsafe, don't know about your DA

Re: CVE-2015-5209

2015-10-06 Thread Sreekanth S. Nair
Struts1 is completely safe to use since no OGNL involved, unfortunately people started misusing struts2 the way its easy to use, and its in a way to fix all the security holes found till now. -- Thanks & Regards Sreekanth S Nair Java Devel

Re: Problem reading package.properties value when deploying application via wildfly-deploy plugin

2015-08-05 Thread Sreekanth S. Nair
. On Wed, Jul 29, 2015 at 2:07 PM, Lukasz Lenart wrote: > 2015-07-29 10:30 GMT+02:00 Sreekanth S. Nair < > sreekanth.n...@egovernments.org>: > > package.properties file values are not getting displayed while we deploy > > our application in wildfly server using wildfly dep

Issue reading package.properties value

2015-07-30 Thread Sreekanth S. Nair
perfectly except label's are not coming only label key is coming in screens. -- Thanks & Regards Sreekanth S Nair

Problem reading package.properties value when deploying application via wildfly-deploy plugin

2015-07-29 Thread Sreekanth S. Nair
package.properties file values are not getting displayed while we deploy our application in wildfly server using wildfly deploy maven plugin, but at the same time properties values are getting displayed properly if we deploy from eclipse or manual deployment. The only difference between manual and

Re: Serialization Issue while using tokenInterceptor

2015-05-27 Thread Sreekanth S. Nair
Any kind updates ? is this an issue with struts2 TokenSessionStoreInterceptor ? On Mon, May 25, 2015 at 5:06 PM, Sreekanth S. Nair < sreekanth.n...@egovernments.org> wrote: > Once again i have tested afresh, but the same issue is coming. We have > also found when we are using

Re: Serialization Issue while using tokenInterceptor

2015-05-25 Thread Sreekanth S. Nair
error in HttpSession (because httpsession can accept nonserializable object where redis store can't)? On Mon, May 25, 2015 at 2:28 PM, Lukasz Lenart wrote: > 2015-05-25 10:29 GMT+02:00 Sreekanth S. Nair < > sreekanth.n...@egovernments.org>: > > Hi Lukasz, > >

Re: Serialization Issue while using tokenInterceptor

2015-05-25 Thread Sreekanth S. Nair
Hi Lukasz, Based on your comment on WW-4028 issue, struts2 should not try to store ActionInvocation in session, from the log i have attached points that its getting stored into session which basically breaks your point. FYI we are using redis and spring session to manage HttpSessi

Re: Serialization Issue while using tokenInterceptor

2015-05-23 Thread Sreekanth S. Nair
Sorry that stacktrace took when i was testing it with struts2.3.24 (but the error is same :) ) -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation <http://www.egovernments.org> Ph :

Re: Serialization Issue while using tokenInterceptor

2015-05-23 Thread Sreekanth S. Nair
No WEB-INF/lib does not contain any jar, its all in Wildfly(JBoss)/standalone/deployment/myear.ear/lib/ folder -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation <http://www.egovernments.org> Ph :

Re: Serialization Issue while using tokenInterceptor

2015-05-23 Thread Sreekanth S. Nair
Even i have tried replacing asm lib for struts2 by downgrading asm-*5.0.3.jar to asm-*3.3.1.jar. On Sat, May 23, 2015 at 12:31 PM, Sreekanth S. Nair < sreekanth.n...@egovernments.org> wrote: > asm-5.0.3.jar > asm-commons-5.0.2.jar > asm-tree-5.0.2.jar > -- Thanks & Reg

Re: Serialization Issue while using tokenInterceptor

2015-05-23 Thread Sreekanth S. Nair
xstream-1.4.2.jar -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation <http://www.egovernments.org> Ph : 9980078913 --- <http://in.linkedin.com/pub/sreekanth-s-nair/b/946

Re: Serialization Issue while using tokenInterceptor

2015-05-22 Thread Sreekanth S. Nair
org.springframework.core.serializer.support. SerializingConverter.convert(SerializingConverter.java:62) [spring-core-4.1.4.RELEASE.jar:4.1.4.RELEASE] ... 43 more -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation <http://www.egovernments.

Serialization Issue while using tokenInterceptor

2015-05-22 Thread Sreekanth S. Nair
I'm getting Serialization Exception when we use tokenInterceptor, which is same as https://issues.apache.org/jira/browse/WW-4028 issue. I'm trying with struts2 2.3.20 and even tried with 2.3.24.

Re: Struts 2.3.15 and Tiles 3 Plugin

2015-01-13 Thread Sreekanth S. Nair
stener to initialize the tiles 3.I have followed all > instruction in plugin page. > On Jan 13, 2015 11:39 PM, "Sreekanth S. Nair" < > sreekanth.n...@egovernments.org> wrote: > > > The following could be the root cause of the problem > >

Re: Struts 2.3.15 and Tiles 3 Plugin

2015-01-13 Thread Sreekanth S. Nair
The following could be the root cause of the problem Caused by: java.lang.ClassNotFoundException: org.apache.tiles.startup.TilesInitializer have you added all the necessary jar's of tiles ? On Wed, Jan 14, 2015 at 9:50 AM, Kiran Badi wrote: > Caused by: java.lang.ClassNotFoundException: > o

Re: replace Java scriptlets in JSP page

2014-12-29 Thread Sreekanth S. Nair
ards Sreekanth S Nair Java Developer --- eGovernments Foundation <http://www.egovernments.org> Ph : 9980078913 --- <http://in.linkedin.com/pub/sreekanth-s-nair/b/946/5a0/> <https://github

Re: validation problem

2014-12-26 Thread Sreekanth S. Nair
what. Thank u for all your help. > > *Thanks and Regards,* > Muralidhar Yaragalla. > > *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* > > On Fri, Dec 26, 2014 at 12:24 PM, Sreekanth S. Nair < > sreekanth.n...@egovernments.org> wrote: > > &

Re: validation problem

2014-12-25 Thread Sreekanth S. Nair
ink > > > https://drive.google.com/file/d/0B59LVhKQaKQYamZqbnc4NGtOQm8/view?usp=sharing > > > i am using tomcat 7. > > *Thanks and Regards,* > Muralidhar Yaragalla. > > *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* > > On Fri

Re: validation problem

2014-12-25 Thread Sreekanth S. Nair
Can you share a sample project which is not working, and just let me know which server you are trying..? -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation <http://www.egovernments.org> Ph :

Re: validation problem

2014-12-25 Thread Sreekanth S. Nair
t;>>> >> happen > >>>>>> >> > is it? if i dont use simple theme view components are > generating > >>>>>> their > >>>>>> >> own > >>>>>> >> > decoration. Our custom alignme

Re: Struts2 Migration issue

2014-12-18 Thread Sreekanth S. Nair
Hmmm, may be a stupid question have you remove servlet-mapping as well ? that error is very specific to jetty server, is it possible for you to run the same in tomcat ? -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation &

Re: Struts2 Migration issue

2014-12-17 Thread Sreekanth S. Nair
As i said earlier you need to check your jetty server config.. http://wiki.eclipse.org/Jetty/Howto/Configure_JSP Hope you have tried what is on below link http://javaresolutions.blogspot.in/2014/04/pwc6345-there-is-error-in-invoking.html -- Thanks & Regards Sreekanth S Nair Java Devel

Re: Struts 2 'redirectAction' changes protocol from HTTPS to HTTP

2014-12-16 Thread Sreekanth S. Nair
). -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation <http://www.egovernments.org> Ph : 9980078913 --- <http://in.linkedin.com/pub/sreekanth-s-nair/b/946/5a0/> <

Re: 2.3.20 Bug with s:action or s:select tag

2014-12-16 Thread Sreekanth S. Nair
Hi Lukasz, Could it be the same problem what i was facing about rest plugin ? Hi Roger, Don't know if you are using rest plugin, if so can remove that plugin and try again ? -- Thanks & Regards Sreekanth S Nair Java

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-14 Thread Sreekanth S. Nair
Thanks a lot Lukasz... appreciate all your help on fixing this up. WARN :) -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation <http://www.egovernments.org> Ph : 9980078913 ---

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-14 Thread Sreekanth S. Nair
s you suggested in the earlier mail. Anything similar changes ? -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation <http://www.egovernments.org> Ph : 9980078913 --- <http://i

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-14 Thread Sreekanth S. Nair
Yeah i checked out the url and set up the rest as well. thanks for the link. -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation <http://www.egovernments.org> Ph : 9980078913 ---

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-14 Thread Sreekanth S. Nair
:) , all i meant by WARN is to give some clue :), because i was really out of clue why 404 without any ERROR or something. -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation <http://www.egovernments.org> Ph :

Re: Struts2 Migration issue

2014-12-14 Thread Sreekanth S. Nair
c6345-there-is-error-in-invoking.html On Mon, Dec 15, 2014 at 2:45 AM, Arpan wrote: > > PWC6345 -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation <http://www.egovernments.or

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-14 Thread Sreekanth S. Nair
I was able to setup, with rest plugin as well. after adding in struts.xml -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation <http://www.egovernments.org> Ph : 9980078913 ---

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-14 Thread Sreekanth S. Nair
hed) to make it better. -- Thanks & Regards Sreekanth S Nair On Mon, Dec 15, 2014 at 12:07 AM, Lukasz Lenart wrote: > > Looks like you HomepageAction was processed and it should be available at > /homepage and /common/homepage - see the log exercise below. What happens > i

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-14 Thread Sreekanth S. Nair
one i have attached to avoid confusion) that required to be kept in some specific order in the interceptor stack. -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation <http://www.egovernments.org

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-13 Thread Sreekanth S. Nair
Hi Lukasz, Anything you can give as a hint about it, if you can tell me what are the components changed after 2.3.16.3 release, i can narrow down to find the exact cause. I'm attaching my custom struts.xml file -- Thanks & Regards Sreekanth S Nair Java

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-13 Thread Sreekanth S. Nair
Hi Lukasz, I have tried with the struts2 version 2.3.16.3, its working perfectly. -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation <http://www.egovernments.org> Ph :

Re: Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-12 Thread Sreekanth S. Nair
Sure Lukasz, let me try and let you know. -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation <http://www.egovernments.org> Ph : 9980078913 --- <http://in.linkedin.com/pu

Struts2 Not Working After Migrating from 2.3.15.1 to 2.3.20 in Wildfly server

2014-12-12 Thread Sreekanth S. Nair
Hi, Am facing a weird issue after upgrading strust2 from 2.3.15.1 to 2.3.20 in Wildfly server. Its not giving any debug or any kind of trace about what is happening, its just going to 404 page. I switched debug mode in both struts config as well as in my server log but couldn't get a single c

Re: Upgrading from Struts 2.0 to 2.3.16

2014-07-15 Thread Sreekanth S. Nair
> Caused by: java.lang.NoSuchMethodError: > org.apache.tiles.jsp.taglib.InsertAttributeTag.doFinally() > Must be tiles not compatible -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation <http://www.egov

Re: FileUploadBase$UnknownSizeException: the request was rejected because its size is unknown

2014-07-15 Thread Sreekanth S. Nair
Have you checked the controller configuration in struts-config.xml http://struts.apache.org/release/1.3.x/userGuide/configuration.html -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation <http://www.egovernments.

Re: Fix security vulnerability

2014-07-10 Thread Sreekanth S. Nair
http://struts.apache.org/struts1eol-announcement.html -- Thanks & Regards Sreekanth S Nair Java Developer --- eGovernments Foundation <http://www.egovernments.org> : 9980078913 --- <http://in.lin

Re: Please help me in resolving the problem(dojo + struts 2)

2014-07-07 Thread Sreekanth S. Nair
in order to develop ajax based application... Which > plugin is more suitable and popular at this point of time.. ? > Is it jquery plugin ? Please help me in choosing the right plugin.. > > Thanks once again > > > > > On Mon, Jul 7, 2014 at 4:49 PM, Sreekanth S. Nair

Re: Please help me in resolving the problem(dojo + struts 2)

2014-07-07 Thread Sreekanth S. Nair
Have you tried using jquery plugin, dojo is outdated plugin for strust2 latest. Fyi : https://cwiki.apache.org/confluence/display/S2PLUGINS/jQuery+plugin+-+Easy+AJAX+and+Widget+Integration -- Thanks & Regards Srikanth Software Developer eGovernments Foundations ww

Re: Error setting expression with Value

2014-06-16 Thread Sreekanth S. Nair
rename your setter & getter method of mAnswerid from setmAnswerid to setMAnswerid and getmAnswerid to getMAnswerid. And same thing is applicable to mQuestionid variable as well. -- Thanks & Regards Srikanth Software Developer eGovernments Foundations www.egovernm

Re: Running two different version of struts2 web app in a EAR

2013-10-17 Thread Sreekanth S. Nair
put all the dependencies - it's safer > > 2013/10/17 Sreekanth S. Nair : > > hmmm, thanks lukazs. If we want to package jars inside WEB-INF/lib/ > which r > > the jars needs to be in WEB-INF/lib to resolve this conflict? only > struts2 > > libs or all dependencie

Re: Running two different version of struts2 web app in a EAR

2013-10-17 Thread Sreekanth S. Nair
ions www.egovernments.org Mob : 9980078913 On Thu, Oct 17, 2013 at 3:46 PM, Lukasz Lenart wrote: > 2013/10/17 Sreekanth S. Nair : > > Hi, > > > > I have an .ear project which contains multiple wars, among this i want to > > run one war using

Running two different version of struts2 web app in a EAR

2013-10-17 Thread Sreekanth S. Nair
Hi, I have an .ear project which contains multiple wars, among this i want to run one war using latest struts2 and others with older version of struts2. In my .ear/lib/ i have older version which used to run older web apps and i'm packaging strust2 latest and its dependency jar in WEB-INF/lib for

Re: Steps Involved in counter measurement for security issues

2013-10-16 Thread Sreekanth S. Nair
at all those .jar files you > > included and run on your server with high level permissions. Those too > > can be full of exploits and most of those libs are just downloaded from > > the net by amateur developers. > > > > Eric Reed > > New York State Department of

Re: Steps Involved in counter measurement for security issues

2013-10-16 Thread Sreekanth S. Nair
980078913 On Wed, Oct 16, 2013 at 4:30 PM, Lukasz Lenart wrote: > 2013/10/16 Sreekanth S. Nair : > > Test Case to test the security vulnerability (major ones) in > > struts2-core-2.1.2. > > Everything you can find is in Struts repository, it's Open Source not

Re: Steps Involved in counter measurement for security issues

2013-10-16 Thread Sreekanth S. Nair
nsuming than going through each and every vulnerability and applying > fixes for them. > > > On Wed, Oct 16, 2013 at 4:17 PM, Sreekanth S. Nair < > sreekanth.n...@egovernments.org> wrote: > > > Test Case to test the security vulnerability (major ones) in > > struts2-co

Re: Steps Involved in counter measurement for security issues

2013-10-16 Thread Sreekanth S. Nair
5 PM, Lukasz Lenart wrote: > 2013/10/16 Sreekanth S. Nair : > > One more doubt, does this security vulnerability is able to bring down > the > > server :-) ? If we authorize ourselves to apache, is it possible for > struts > > team to give us test case to check the vulnerabi

Re: Steps Involved in counter measurement for security issues

2013-10-16 Thread Sreekanth S. Nair
oper eGovernments Foundations www.egovernments.org Mob : 9980078913 On Wed, Oct 16, 2013 at 3:34 PM, Sreekanth S. Nair < sreekanth.n...@egovernments.org> wrote: > Hi, > Thanks Lukazs, but that's too much of task to compare rather i can > migrate ;-).

Re: Steps Involved in counter measurement for security issues

2013-10-16 Thread Sreekanth S. Nair
es affect you and follow the instructions to resolve > them. > > > > On 16 October 2013 10:48, Sreekanth S. Nair < > sreekanth.n...@egovernments.org > > wrote: > > > Hi, > > Due to time and other internal constraints, we are unable to upgrade > > st

Steps Involved in counter measurement for security issues

2013-10-16 Thread Sreekanth S. Nair
Hi, Due to time and other internal constraints, we are unable to upgrade strust2 to the latest version. So i would like to know if we use old strust2 distro (in my case : struts2-core-2.1.2), what are the counter measurement need to taken care? Regards

Re: No Configuration Error Struts2

2013-10-16 Thread Srimuralidharan S
my struts 2 version is 2.0.11 On 10/16/2013 12:51 PM, Lukasz Lenart wrote: Struts 2 version? 2013/10/16 Srimuralidharan S: Hi to all, I'm using struts 2 framework with the following configuration i received the following warning and my application doesn't works

No Configuration Error Struts2

2013-10-16 Thread Srimuralidharan S
Hi to all, I'm using struts 2 framework with the following configuration i received the following warning and my application doesn't works [Form] No configuration found for the specified action: '/' in namespace: ''. Form action defaulting to 'action' attribute's literal value.

how jsp form text field values are copied to action class instance fields

2013-10-11 Thread Srimuralidharan S
Hi, I have a form with two text fields rollnumber and name and also a submit button. My action class also contain two private instance fields rollnumber and name. I wondered how text field values are copied to the instance fields of action class. Please help me in understanding the proces

Re: Struts2 Invalid Request Page is not showing up

2013-08-12 Thread Sreekanth S. Nair
display the same response* * * that the original, valid action invocation would have displayed if no multiple requests were submitted in the first* * * place.* * * If double submission took place then i'm getting a* blank page* -- Thanks & Regards Srikanth On Mon, Aug 12, 2013 at 1:56 PM, Sr

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. /error/accessDenied.jsp

Re: Struts Javascript error

2013-08-12 Thread Sreekanth S. Nair
Javscript error got resolved by adding between html tag. but still i'm unable to see the field error message which i have added using addFieldError() method. Sreekanth S. Nair wrote: > Hi, > Getting the following error in javascript console, happening with latest > struts

Struts Javascript error

2013-08-12 Thread Sreekanth S. Nair
Hi, Getting the following error in javascript console, happening with latest struts2 distribution 1. Uncaught ReferenceError: StrutsUtils is not defined validation.js:161

Re: struts 1 to struts2 migration.

2013-08-08 Thread Sreekanth S. Nair
But what about this problem : > Such as > > In struts 1 JSP I have used name="FormName" /> > In JSP scriplet there are many places we used <% String s = x.getName(); %> > > In struts 2 we can write > > Now how can I use the "x" object in scriplet

Re: struts 1 to struts2 migration.

2013-08-08 Thread Sreekanth S. Nair
gt; any suggestion or solution for the problems I mentioned. > > Thank you.. > > > On Thu, Aug 8, 2013 at 11:30 AM, Sreekanth S. Nair < > sreekanth.n...@egovernments.org> wrote: > > > Hi Arpan, > >We too did a struts1 to strust2 migration in recent

Re: struts 1 to struts2 migration.

2013-08-07 Thread Sreekanth S. Nair
name="FormName" /> > In scriplet there are many places we used <% String s = x.getName(); %> > > In struts 2 we can write > > Now how can I use the "x" object in scriplet. As there are many references > of "x" already written, I don't want

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 www.egover

Re: Annotation Support for bypassing prepare

2013-08-07 Thread Sreekanth S. Nair
dict 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 applic

Re: Annotation Support for bypassing prepare

2013-08-07 Thread Sreekanth S. Nair
ray of prepares, 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

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: 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 --

  1   2   3   4   5   >