Re: struts2.5.22 + tiles3.0.8 + commons-beanutils to version 1.9.4

2019-12-10 Thread Emi
On 2019-12-10 8:23 a.m., Lukasz Lenart wrote: wt., 10 gru 2019 o 14:15 napisał(a): Why do you use "CompleteAutoloadTilesListener" ? And as far I see everything works in the Showcase app My application based on tiles3 + struts. As suggested by https://struts.apache.org/plugins/tiles-3/ ,

About "Parameter Validation Filter"

2018-02-28 Thread Emi
Hello, There is a topic about Parameter Validation Filter (TrimTextValidationRule, FailIfNotCanonicalizedValidationRule, FailIfContainsHTMLValidationRule) for servlet (https://www.owasp.org/index.php/Parameter_Validation_Filter). I just want to know that struts2.5.14.1 already have these

Re: newFixedThreadPool in struts2

2018-02-12 Thread Emi
[Try2] . Each user login session create one fixedPool . When user logout, fixedPool.shutdown() What about if users do not call logout action. Where and how the fixedPool to be shutdown? Is there a way to auto shutdown after period of time? You can write your own listener by implementing

Re: newFixedThreadPool in struts2

2018-02-12 Thread Emi
It's still accessible: public void sessionCreated(HttpSessionEvent hse) { final HttpSession session = hse.getSession(); logger.debug("session created"); session.setAttribute(KEY, new Clickstream()); } public void sessionDestroyed(HttpSessionEvent hse)

Re: newFixedThreadPool in struts2

2018-02-09 Thread Emi
Hello Yasser, You can write your own listener by implementing HttpSessionListener and call shutdown in it's `sessionDestroyed` method. Please see [1]. [1] http://www.myjavarecipes.com/tag/session-timeout-handling-in-java/ In HttpSessionListener, it seems that there are no session attributes

Re: newFixedThreadPool in struts2

2018-02-09 Thread Emi
Firstly you should decide what do you like about life-time of that thread pool without being worry about calling shutdown. All your examples have solutions to call shutdown which I described below... Please read below [Try1] . By springframe work setup ThreadPool . In action class, use

Re: newFixedThreadPool in struts2

2018-02-08 Thread Emi
Firstly you should decide what do you like about life-time of that thread pool without being worry about calling shutdown. All your examples have solutions to call shutdown which I described below... Please read below [Try1] . By springframe work setup ThreadPool . In action class, use

newFixedThreadPool in struts2

2018-02-08 Thread Emi
Hello, Can you suggest the best way to setup newFixedThreadPool in struts2 webapp please? [Try1] . By springframe work setup ThreadPool . In action class, use fixedPool Future f1 = fixedPool.submit(() -> { ...actions such as send email, etc }); So, there will be NO shutdown in action

Re: About error-code 404 is called for each struts action class

2018-01-08 Thread Emi
On 1/6/2018 12:04 AM, Emi wrote: 404.jsp is called by web.xml when going from one page to another. Maybe other requests like a missing favicon, css or javascript causes this. Yes. In one one css file, the following cods caused 404 error. body { font: 0.7em/1.5em "Trebuchet MS&quo

Re: About error-code 404 is called for each struts action class

2018-01-05 Thread Emi
Any clue why action classes are shown correctly, but 404.jsp still called? In 404.jsp only one line: System.out.println("test"); All struts action classes can be shown correctly, but 404.jsp is called by web.xml when going from one page to another. Thanks. Hello, In web.xml:

About error-code 404 is called for each struts action class

2018-01-05 Thread Emi
Hello, In web.xml: 404 /WEB-INF/pages/errorinfo/tiles_404.jsp For each struts2 action class shows/direct to correct page, but the above line is always called. Could someone let me know what may cause the above section called please? Thanks a lot! -- struts2.5.14.1,

Action bean cannot get correct utf-8 character

2017-12-18 Thread Emi
Hello, For struts2.5.14.1, I have an issue with utf-8 encoding (jsp submit to action class; bean get wrong character). (1) web.xml *.jsp UTF-8 set character encoding setCharacterEncodingFilter SetCharacterEncodingFilter encoding UTF-8

Re: [ANN] [APACHE STRUTS] Security Bulletin S2-055: impact increased to High (related to CVE-2017-7525 - JSON Jackson library)

2017-12-12 Thread Emi
Hello, vulnerability exists in a JSON Jackson library and it's registered under CVE-2017-7525. I think you mean the following jars right? (1) jackson-core-2.9.2.jar (2) jackson-annotations-2.9.0.jar (3) jackson-databind-2.9.2.jar Please read the bulletin [1] and apply possible solutions.

About Oracle Security Alert Advisory - CVE-2017-9805

2017-09-25 Thread Emi
Hello, Just want to double check, for struts2.5.13 and 2.3.34, the following issue has been covered and resolved, right? http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html Thanks a lot. -

Re: Struts 2.3 fix for s2-052?

2017-09-06 Thread Emi
Hello, I finally read your email where you gave the dist URL for the dev release. This is the release that I should use for 2.3 right? https://dist.apache.org/repos/dist/dev/struts/2.3.34/ Thanks. I tested against the struts2-rest-showcase app, a URL that was vulnerable in other versions. I

Re: [ANN] Apache Struts 2.5.13 GA with Security Fixes Release

2017-09-05 Thread Emi
Hello, 2017-09-05 15:17 GMT+02:00 Lukasz Lenart : - S2-052 Possible Remote Code Execution attack when using the Struts REST plugin with XStream handler to handle XML payloads http://struts.apache.org/docs/s2-050.html It's supposed to be

About Apache Struts 2.5.12 GA with Security Fixes Release

2017-07-13 Thread Emi
Hello, May I know do you release one update version for 2.3.x about this bug fix as well? Thanks. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

ajax for https in struts

2017-03-17 Thread Emi
Hello, Ajax methods work in http, but NOT https. Seems due to cross-origin HTTP request. May I know how to setup "Access-Control-Allow-Origin" in struts/jsp/servlet please? Have tried the following but did NOT work. (1) mainlayout.jsp response.addHeader("Access-Control-Allow-Origin",

Re: Request exceeded allowed size limit! Max size allowed is: 2,097,152

2017-03-13 Thread Emi
I'm not sure, but I think the tomcat configuration is case sensitive. Can you please try "maxPostSize" instead of "maxpostsize" in your connector config? Have updated to the following and succeeded this time (struts2: most recent version). (1) server.xml Change to maxPostSize (2)

Request exceeded allowed size limit! Max size allowed is: 2,097,152

2017-03-13 Thread Emi
Hello, Tried to upload file, and always got the following errors: Request exceeded allowed size limit! Max size allowed is: 2,097,152 but request was: 2,463,633! May I know where I missed the steps please? struts.xml extends="security-fix" strict-method-invocation="false">

no longer supports the directive in struts.xml

2017-02-06 Thread Emi
Hello, https://struts.apache.org/announce.html shows: - Struts 2.5.8 no longer supports the directive in struts.xml Used to have: "s1.xml, s2.xml, sN.xml". Struts.xml: . In version 2.5.10, do we need any changes to include s1.xml... sN.xml please? Thanks.

Re: struts 2.5.3 to 2.5.8

2017-01-11 Thread Emi
Changed asm3.x to 5.2 jars, and the warning message disappear. Hello, After updated struts jars from 2.5.3 to 2.5.8, for each action class, got the following warning message: java.lang.IncompatibleClassChangeError: class org.apache.struts2.convention.DefaultClassFinder$InfoBuildingVisitor

struts 2.5.3 to 2.5.8

2017-01-11 Thread Emi
Hello, After updated struts jars from 2.5.3 to 2.5.8, for each action class, got the following warning message: java.lang.IncompatibleClassChangeError: class org.apache.struts2.convention.DefaultClassFinder$InfoBuildingVisitor has interface org.objectweb.asm.ClassVisitor as super class

dojo jar for struts2.5.2

2016-07-21 Thread Emi
Hello, There is no struts-dojo jar in 2.5.2. May I know which new struts2.5.2 jar includes the following tags please? <%@ taglib prefix="sx" uri="/struts-dojo-tags" %>

Re: [ANN] Apache Struts 2.3.30 GA

2016-07-18 Thread Emi
try the bridge to log4j1 https://logging.apache.org/log4j/log4j-2.2/log4j-1.2-api/index.html Updated to: . log4j-api-2.6.2.jar . log4j-core-2.6.2.jar . log4j-web-2.6.2.jar . log4j-1.2-api-2.6.2.jar . commons-logging-1.2.jar . struts2.5.2. jars Didn't change web.xml and log4j.xml. But log

Re: [ANN] Apache Struts 2.3.30 GA

2016-07-18 Thread Emi
hi, is there any plan for the date of end of life for 2.3.x series? No exact date but you can only expect security fixes (if possible) that will ported into 2.3.x series. should consider migrating into 2.5.x series which isn't so hard. Will 2.5.x support log4j1.x? There are thousands of classes

Re: cannot download 2.3.30

2016-07-15 Thread Emi
Hello, http://struts.apache.org/download.html#struts-2330 Please use http://struts.apache.org/download.cgi#struts-2330 - where did you find the above link? From the email below. Forwarded Message Subject:[ANN] Apache Struts 2.3.30 GA Date: Fri, 15 Jul 2016

cannot download 2.3.30

2016-07-15 Thread Emi
Hello, http://struts.apache.org/download.html#struts-2330 click "Full Distribution:struts-2.3.30-all.zip" Got "Not Found The requested URL /struts-2.3.30-all.zip was not found on this server." Seems link http://struts.apache.org/struts-2.3.30-all.zip is empty.

Re: 2.3.28.1 to 2.5.1 - java.lang.NoSuchMethodError: ognl.SimpleNode.isOperation

2016-06-29 Thread Emi
Hello, Upgrade 2.3.28.1 to 2.5.1. Tried to start tomcat7.0.70, and got the following msg. Can someone let me know which jar(s) are missing/wrong version please? SEVERE: Exception starting filter struts2: java.lang.NoSuchMethodError: ognl.SimpleNode.isOperation(Lognl/OgnlContext;)Z at

2.3.28.1 to 2.5.1 - java.lang.NoSuchMethodError: ognl.SimpleNode.isOperation

2016-06-29 Thread Emi
Hello, Upgrade 2.3.28.1 to 2.5.1. Tried to start tomcat7.0.70, and got the following msg. Can someone let me know which jar(s) are missing/wrong version please? SEVERE: Exception starting filter struts2: java.lang.NoSuchMethodError: ognl.SimpleNode.isOperation(Lognl/OgnlContext;)Z at

Re: Struts 2.3.28 and Tiles issue

2016-04-21 Thread Emi
upgraded struts-core and all the dependencies to 2.3.28, along with that came new tiles libraries. I got the similar exception messages. Upgrade from tiles2.x to tiles3.x and no error messages anymore. And a problem: SEVERE: Servlet.service() for servlet jsp threw exception

tiles2.2.2 error for Struts 2.3.28 GA

2016-03-22 Thread Emi
Hello, - Tiles 2 Plugin was upgraded to latest available Tiles 2 version, see WW-4568 tiles3.x, everything success. For tiles2.2.2, after migrating from2.3.24.1 to 2.3.28, got the following error: org.apache.tiles.definition.NoSuchDefinitionException: login_page But "login_page" is in

Re: struts2.5 - Action class is not called

2015-11-17 Thread Emi
ProcessLoginAction is not called. Which setups are missing/wrong that may cause the failure please? I think it's already fixed but the fix is in 'master' branch, not released yet - see that discussion http://markmail.org/message/3xtprewypf3u7mxr Got it. After Beta period, stable version has

struts2.5 - Action class is not called

2015-11-16 Thread Emi
Hello, For struts2.5 beta version, can someone help what may cause action class is not called please? (1) web.xml struts2 org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter actionPackages project.action

Re: struts2.5 - Action class is not called

2015-11-16 Thread Emi
struts2.5: (2) index.jsp <% String context_path = request.getContextPath(); response.sendRedirect(context_path + "/Login/ProcessLoginAction.action"); %> (3) struts.xml class="project.action.ProcessLoginAction"> login_main_page If written

Re: struts2.5 - Action class is not called

2015-11-16 Thread Emi
using wild cards in action. If you don't want to switch between methods dynamically, Use switch methods dynamically. In action class: execute() as default method_name2() method_name3().. that is to call execute then you should remove the "*" from the name, remove method parameter,

com/opensymphony/xwork2/util/finder

2014-12-11 Thread Emi Lu
:1662) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1642) at java.lang.Thread.run(Thread.java:662) Thanks a lot! Emi - To unsubscribe, e-mail: user-unsubscr

Re: com/opensymphony/xwork2/util/finder

2014-12-11 Thread Emi Lu
-plugin-3.7.0-20131215.191645-3.jar If you think jquery caused it, could you tell me which version I should use? And I will download new version and try again. Thanks, Emi On Thu, Dec 11, 2014 at 9:56 AM, Emi Lu em...@encs.concordia.ca wrote: On 12/11/2014 09:51 AM, Dave Newton wrote

Re: com/opensymphony/xwork2/util/finder

2014-12-11 Thread Emi Lu
On 12/11/2014 10:13 AM, Lukasz Lenart wrote: 2014-12-11 16:07 GMT+01:00 Emi Lu em...@encs.concordia.ca: Jquery version: struts2-jquery-plugin-3.7.0-20131215.191645-3.jar If you think jquery caused it, could you tell me which version I should use? And I will download new version and try again

Where to download xwork-core-2.3.20-sources.jar

2014-12-09 Thread Emi Lu
Good morning, Can I know where to download xwork-core-2.3.20-sources.jar please? Thanks a lot! Emi On 12/08/2014 10:37 AM, Lukasz Lenart wrote: The Apache Struts group is pleased to announce that Apache Struts 2.3.20 is available as a General Availability release. The GA designation is our

Re: [ANN][SECURITY] Struts 1 - CVE-2014-0114 -Mitigation Advice Available, Possible RCE Impact

2014-05-01 Thread Emi Lu
Thank you very much ! Patched struts1 projects based on [2] successfully. On 05/01/2014 02:59 PM, Rene Gielen wrote: As confirmed in our last announcement, the Apache Struts 1 framework in all versions is affected by a ClassLoader manipulation vulnerability (CVE-2014-0114) similar to a recently

Re: [ANN] Struts 2 up to 2.3.16.1: Zero-Day Exploit Mitigation (security | critical)

2014-04-25 Thread Emi Lu
On 04/25/2014 10:23 AM, Lukasz Lenart wrote: You can create one abstract package and all other packages can inherit from it - the same as you inherit from tiles-default So, another way to do the change would be: package name=top extends=tiles-default . //Coding for [1] /package package

Re: [ANN] Struts 2 up to 2.3.16.1: Zero-Day Exploit Mitigation (security | critical)

2014-04-25 Thread Emi Lu
On 04/25/2014 10:56 AM, Lukasz Lenart wrote: You can create one abstract package and all other packages can inherit from it - the same as you inherit from tiles-default So, another way to do the change would be: package name=top extends=tiles-default . //Coding for [1] /package package

Re: Need help for 2.3.16

2014-01-07 Thread Emi Lu
/jgeppert/struts2/jquery/ Best Regards Johannes # web: http://www.jgeppert.com twitter: http://twitter.com/jogep 2013/12/20 Emi Lu em...@encs.concordia.ca mailto:em...@encs.concordia.ca Hello, Please try out Struts2 jQuery Plugin Version

Re: Need help for 2.3.16

2013-12-20 Thread Emi Lu
? Thanks a lot! # web: http://www.jgeppert.com twitter: http://twitter.com/jogep 2013/12/11 Emi Lu em...@encs.concordia.ca mailto:em...@encs.concordia.ca On 12/11/2013 10:29 AM, Lukasz Lenart wrote: Here you have more details

Need help for 2.3.16

2013-12-11 Thread Emi Lu
Good morning, Upgraded to 2.3.16, exception when start project from tomcat: = java.lang.ClassNotFoundException: org.apache.struts2.views.TagLibrary org.apache.catalina.core.StandardContext filterStart SEVERE: Exception

Re: Need help for 2.3.16

2013-12-11 Thread Emi Lu
On 12/11/2013 10:29 AM, Lukasz Lenart wrote: Here you have more details http://markmail.org/message/lvrdf7zdrhatklyh Got it. My projects depend on jquery, and I will use 2.3.15.3 for now until a new version with jquery merged is released. Thanks a lot! 2013/12/11 Emi Lu em

Re: Action failed for Struts 2.3.15.3 GA release

2013-10-30 Thread Emi Lu
, Lukasz Lenart lukaszlen...@apache.orgwrote: 2013/10/18 Emi Lu em...@encs.concordia.ca: Good morning, Tried the new version15.3, but failed: login() method is not called at all. (1) login.jsp s:submit value=Login theme=simple action=loginProcessLoginAction

Action failed for Struts 2.3.15.3 GA release

2013-10-18 Thread Emi Lu
.. /action . Can someone help why login() method is not called ? Thanks a lot! Emi antlr-2.7.7.jar hamcrest-core-1.3.jar slf4j-log4j12-1.7.5-sources.jar spring-jms-3.2.0.RELEASE-javadoc.jar struts2-dwr-plugin-2.3.15.3.jar aopalliance-1.0.jar hibernate-commons-annotations-4.0.1.Final.jar spring

Re: Action failed for Struts 2.3.15.3 GA release

2013-10-18 Thread Emi Lu
name=success type=tileslogin_main_page/result .. /action . Can someone help why login() method is not called ? Thanks a lot! Emi - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional

Re: Action failed for Struts 2.3.15.3 GA release

2013-10-18 Thread Emi Lu
On 10/18/2013 12:28 PM, Lukasz Lenart wrote: 2013/10/18 Emi Lu em...@encs.concordia.ca: Good morning, Tried the new version15.3, but failed: login() method is not called at all. (1) login.jsp s:submit value=Login theme=simple action

Re: [ANN] Struts 2.3.15.2 GA release available - security fix

2013-09-23 Thread Emi Lu
()); } return success; } The problem is that loginProcessLoginAction in jsp page is never be called. Could you help? Thanks, Emi On 09/21/2013 12:06 PM, Lukasz Lenart wrote: The Apache Struts group is pleased to announce that Struts 2.3.15.2 is available as a General

Re: [ANN] Struts 2.3.15.2 GA release available - security fix

2013-09-23 Thread Emi Lu
On 09/23/2013 10:38 AM, Volker Krebs wrote: Am 23.09.2013 16:23, schrieb Emi Lu: Good morning, Upgraded from 2.3.15.1 to 15.2, but s:submit problem: (1) jsp: s:form name= loginForm namespace= /Login action = ProcessLoginAction method = post theme=simple

JSP read value from ActionForm

2013-07-04 Thread Emi Lu
Hello, May I know how to read a parameter value in JSP page for the following situation please? (1) Struts2Action.java ... String list_size = list.size(); ... getter/setter for list_size (2) result.jsp s:select ... size = %= list_size% / Is there a simple way to assign

FKerberos + struts2 + SpringMVC

2013-06-26 Thread Emi Lu
://www.local_network_webapp2.com ... https://www.local_network_webappN.com Users have already login in (1). So, instead of going to login page, all weblinks in (2) show main menu page directly. Thanks a lot! Emi - To unsubscribe, e-mail

Kerberos + struts2 + SpringMVC

2013-06-25 Thread Emi Lu
://www.local_network_webapp2.com ... https://www.local_network_webappN.com Users have already login in (1). So, instead of going to login page, all weblinks in (2) show main menu page directly. Thanks a lot! Emi - To unsubscribe, e-mail

how to generate TD title=tipinfo by display:column

2013-04-30 Thread Emi Lu
Hello, May I know how to generate TD title=tipinfo here by using display:column please? Thanks a lot! Emi - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h

Re: how to generate TD title=tipinfo by display:column

2013-04-30 Thread Emi Lu
I believe so. I guess dislaytag is the simplest way to do struts2 pagination, is it right? Or there is a better way for struts2 pagination? E.g., http://www.simplecodestuffs.com/pagination-example-in-struts-2/ Thanks a lot, Emi On 04/30/2013 02:19 PM, Chris Pratt wrote: I think you're

Re: [ANN] Struts 2.3.12 GA release available

2013-03-15 Thread Emi Lu
=false -need to be removed!!! theme=simple size=6 cssStyle=color:#6677AA;font-weight:bold; / The highlighted red border is good. But it seems that required=false and required=true returns the same warning message now :-( All for now. Emi On 03/15/2013 04

struts1 struts2 used in the same web application.

2013-02-13 Thread Emi Lu
Hello list, May I know is it possible that struts1 + struts2 can be configured and run in the same web application please? If allowed, could someone suggest/provide struts.xml + web.xml + spring-configure.xml examples please? Thanks a lot! Emi

Re: Java security issue vs. struts?

2013-01-18 Thread Emi Lu
/result /action (3) My struts java action class (server side): do: ChartFactory.createBarChart3D(){... ...} As a result, due to (1) ~(3) I am safe I believe. Thanks a lot for all your comments! Emi - To unsubscribe, e-mail

Re: Java security issue vs. struts?

2013-01-18 Thread Emi Lu
Hello Martin, I did not find bug report under struts JIRA related to jfreechart. More details about how I use jfreechart: (1) jsp img src=.action (2) JAVA Action class, generated jsp (3) struts.xml specify img size Hope this info will help others have the same concern :-) Bon week-end! Emi

Java security issue vs. struts?

2013-01-16 Thread Emi Lu
Hello, Does someone know how this java security issue related to struts framework? http://www.oracle.com/technetwork/topics/security/alert-cve-2013-0422-1896849.html Thanks a lot! Emi - To unsubscribe, e-mail: user-unsubscr

Re: Java security issue vs. struts?

2013-01-16 Thread Emi Lu
On 01/16/2013 04:54 PM, Emi Lu wrote: Hello, Does someone know how this java security issue related to struts framework? http://www.oracle.com/technetwork/topics/security/alert-cve-2013-0422-1896849.html One more link: http://nakedsecurity.sophos.com/2013/01/15/disable-java-browsers-homeland

Re: Java security issue vs. struts?

2013-01-16 Thread Emi Lu
, it will not be affected, I believe? Emi On Wed, Jan 16, 2013 at 1:54 PM, Emi Lu em...@encs.concordia.ca mailto:em...@encs.concordia.ca wrote: Hello, Does someone know how this java security issue related to struts framework? http://www.oracle.com/__technetwork/topics/security/__alert-cve

put ArrayList to s:hidden in jsp?

2012-10-18 Thread Emi Lu
Good morning, Is there a way to put hidden ArrayList in JSP please? For example in a.jsp: s:hidden name=abean.arraylist1 / In action java class: private ArrayListBean2arraylist1 ; So that abean.arraylist1 could be retrieved by action java class. Thanks a lot! Emi

put ArrayList to s:hidden in jsp?

2012-10-18 Thread Emi Lu
Good morning, Is there a way to put hidden ArrayList in JSP please? For example in a.jsp: s:hidden name=abean.arraylist1 / In action java class: private ArrayListBean2arraylist1 ; So that abean.arraylist1 could be retrieved by action java class. Thanks a lot! Emi

struts2.3.1.2 exception

2012-01-24 Thread Emi Lu
Good morning, Upgraded to struts2.3.1.2, but got the following exception. Could someone tell me which jar I missed please? thanks a lot! Emi java.lang.NoSuchMethodError: ognl.SimpleNode.isEvalChain(Lognl/OgnlContext;)Z at com.opensymphony.xwork2.ognl.OgnlUtil.isEvalExpression

Re: struts2.3.1.2 exception

2012-01-24 Thread Emi Lu
have ognl3.0.4, but remove other versions . user@struts.apache.org is very slow! I already got the author's replay but my question has not been shown in the mailing list yet! - still a very helpful list and i got almost got 100% answer for each my question :-) Happy new year all! Emi On 01/24

Will xwork-core-2.2.3.1.jar works for commons-lang3-3.1.jar

2011-11-17 Thread Emi Lu
Hello, I remembered that xwork2.2.3 does not support commons-lang3-3.0.1.jar, so use commons-lang-2.6.jar. Apache just published a new version lang jar. Does someone know for this newer version, will xwork-core-2.2.3.1.jar + common_lang_3.1 work together? Thanks a lot! Emi On 11/15/2011 04

Re: Will xwork-core-2.2.3.1.jar works for commons-lang3-3.1.jar

2011-11-17 Thread Emi Lu
On 11/17/2011 03:04 PM, Emi Lu wrote: Hello, I remembered that xwork2.2.3 does not support commons-lang3-3.0.1.jar, so use commons-lang-2.6.jar. Just want to remind the reason: depend on “org/apache/commons/lang/StringUtils”; while the new jar shows “org/apache/commons/lang3/StringUtils

Re: s:textfield / Beginner question

2011-11-15 Thread Emi Lu
someone know the performance between mybatis, openJPA, etc DB process tools? Emi - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

displaytag CSV output throw Internet Explorer cannot display webpage Exception under IE9

2011-10-18 Thread Emi Lu
, but IE does not accept too many parameters!!! Thanks a lot! Emi - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: s:submit onclick=return false still call the action in IE 9!

2011-10-11 Thread Emi Lu
will not accept str.trim; but have to add a trim function. Thanks a lot! Emi - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

s:submit onclick=return false still call the action in IE 9!

2011-10-07 Thread Emi Lu
Hello, s:submit onclick=return check_func(); action=ProcessAction/ Firefox, when check_func() returns false, the action will not be called. But in IE9, although check_func() returns false, the action is still be called! Does someone know how to fix this issue? Thanks a lot! Emi

IE open excel file directly but not save as

2011-09-26 Thread Emi Lu
Then I have to click open to open it. Does someone know how to open excel file directly but not have to save as under IE please? thanks a lot! Emi - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional

Re: IE open excel file directly but not save as

2011-09-26 Thread Emi Lu
(fileData.length); res.setHeader(Content-Transfer-Encoding, binary); IE 9 works, but IE8 still did not open the file :( Do you know how to fix the problem for IE8. Emi On 09/26/2011 01:40 PM, Chris Pratt wrote: Try removing the filename from the Content-Disposition header. inline doesn't support

Re: IE open excel file directly but not save as

2011-09-26 Thread Emi Lu
All right, after so many testing with diff IE versions, here comes the trick: res.setHeader(Content-Disposition, attachment;filename=\+ test.xls + \;); inline - attachment. Emi On 09/26/2011 02:05 PM, Emi Lu wrote: Hi Chris, thanks a lot! I updated to : res.setHeader(Cache-Control

Share my Struts2 + displaytag note

2011-09-23 Thread Emi Lu
paid for this pain :( My users get 7 mails because of this. Emi - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Could struts2 use commons-lang3-3.0.1.jar ?

2011-08-11 Thread Emi Lu
Hello, Could someone update struts*.jars to use org/apache/commons/lang3/StringUtils in commons-lang3-3.0.1.jar please? Please see https://commons.apache.org/lang/article3_0.html For struts2.2.3, if with the new lang jar, I got the following exception. Thanks a lot! Emi -- After I

how to make onchange in s:select to submit a form and call a specific method in one action class

2011-08-11 Thread Emi Lu
: === When values changed in s:select, how to submit the form and call change() method in Process.java Thanks lot! Emi - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h

Re: how to make onchange in s:select to submit a form and call a specific method in one action class

2011-08-11 Thread Emi Lu
/ (2) sj:select name=region onchange=to_change_city / (3) sj:select name=coutry / Actually, I prefer not to use complex javascript code to do change select1, select2 is updated, change select2, and select3 is updated. Thanks a lot! Emi In struts2.2.3, how to submit a form to a predefined

how web.xml load several tile files?

2011-07-28 Thread Emi Lu
-value /context-param Only t1.xml is found; but t2.xml cannot be found. Can someone tell why? If this way does not work, how to load several tile files? Thanks a lot! Emi - To unsubscribe, e-mail: user-unsubscr

Re: how web.xml load several tile files?

2011-07-28 Thread Emi Lu
Hi Dave, Could you give an example? Emi On 07/28/2011 04:30 PM, Dave Newton wrote: Did you try the tiles list? Dave On Jul 28, 2011 4:28 PM, Emi Lu em...@encs.concordia.ca mailto:em...@encs.concordia.ca wrote: Good afternoon, Tiles2.2.2 + struts2.2.3. Web.xml

Re: how web.xml load several tile files?

2011-07-28 Thread Emi Lu
On 07/28/2011 04:36 PM, mmcken...@wernervas.com wrote: Try removing the return after t1.xml, No. That does not work! Still cannot find t2.xml! How! Emi From: Dave Newtondavelnew...@gmail.com To: Struts Users Mailing Listuser@struts.apache.org, em...@encs.concordia.ca Date: 07

Re: how web.xml load several tile files?

2011-07-28 Thread Emi Lu
On 07/28/2011 04:36 PM, mmcken...@wernervas.com wrote: Try removing the return after t1.xml, Ok, it works. Sorry about the previous email. Hope it fix the whole thing. Thanks a lot! Strange, tile2.0.7 enter works. Anyhow, it works. Great! Emi From: Dave Newtondavelnew...@gmail.com

Re: SEVERE: Servlet.service() for servlet default threw exception, java.lang.IllegalStateException

2011-07-27 Thread Emi Lu
On 07/27/2011 01:55 AM, Łukasz Lenart wrote: 2011/7/26 Emi Luem...@encs.concordia.ca: Did you try to call check_search_oprProcessAction.action directly ? And maybe it's better to JSON plugin instead of home made protocol ? I was thinking about JSON result plus jQuery. For people have

Re: SEVERE: Servlet.service() for servlet default threw exception, java.lang.IllegalStateException

2011-07-26 Thread Emi Lu
(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) --- Thanks a lot! Emi - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: SEVERE: Servlet.service() for servlet default threw exception, java.lang.IllegalStateException

2011-07-26 Thread Emi Lu
Hello, W dniu 26 lipca 2011 16:13 użytkownik Emi Luem...@encs.concordia.ca napisał: It seems that I found the problem. When I commented out ajax section onclick=return ajax_check_search_table('check_search_opr'), the error is gone. But I need ajax check support. Did you try to call

SEVERE: Servlet.service() for servlet default threw exception, java.lang.IllegalStateException

2011-07-25 Thread Emi Lu
-valueaction/param-value /init-param /filter filter-mapping filter-namestruts/filter-name url-pattern/*/url-pattern dispatcherREQUEST/dispatcher dispatcherINCLUDE/dispatcher /filter-mapping Thanks a lot! Emi -- SEVERE: Servlet.service() for servlet default threw

Re: SEVERE: Servlet.service() for servlet default threw exception, java.lang.IllegalStateException

2011-07-25 Thread Emi Lu
Hello, I tried dispatcher.ng.filter.StrutsPrepareAndExecuteFilter as well, but still got the following error. Could someone help? Thank you, Emi filter filter-namestruts2/filter-name filter-classorg.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter/filter

Unable to load configuration. - bean - jar:file:/WEB-INF/lib/struts2-jquery-plugin-3.1.0.jar!/struts-plugin.xml:27:125 Exception

2011-07-19 Thread Emi Lu
Hello List, I got the following exception, could someone tell me what cause it? I am using struts2.2.3 + tiles2.2.2 + springframework3.05 + ognl3.0.2 + freemarker2.3.18 Thanks alot! Emi -- SEVERE: Exception starting filter struts2 Unable to load configuration. - bean - jar:file:/WEB-INF

Re: Unable to load configuration. - bean - jar:file:/WEB-INF/lib/struts2-jquery-plugin-3.1.0.jar!/struts-plugin.xml:27:125 Exception

2011-07-19 Thread Emi Lu
successfully. Normally, loaded both the .jar and the source jar should not be a problem, shouldn't it? Emi On Jul 19, 2011 12:12 PM, Emi Lu em...@encs.concordia.ca mailto:em...@encs.concordia.ca wrote: Hello List, I got the following exception, could someone tell me what cause it? I am

Re: Unable to load configuration. - bean - jar:file:/WEB-INF/lib/struts2-jquery-plugin-3.1.0.jar!/struts-plugin.xml:27:125 Exception

2011-07-19 Thread Emi Lu
successfully. Normally, loaded both the .jar and the source jar should not be a problem, shouldn't it? Emi On Jul 19, 2011 12:12 PM, Emi Lu em...@encs.concordia.ca mailto:em...@encs.concordia.ca wrote: Hello List, I got the following exception, could someone tell me what cause it? I am

Re: Unable to load configuration. - bean - jar:file:/WEB-INF/lib/struts2-jquery-plugin-3.1.0.jar!/struts-plugin.xml:27:125 Exception

2011-07-19 Thread Emi Lu
and for simplification, I just loaded both jars into eclipse. I will probably pointing to my local source jars in eclipse. Thank you, Emi On Tue, Jul 19, 2011 at 10:57 AM, Emi Lu em...@encs.concordia.ca mailto:em...@encs.concordia.ca wrote: Probably because of what the exception says

jstl.jar vs. jstl-api.jar for struts2.2.3

2011-07-18 Thread Emi Lu
please? Thanks a lot! Emi - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: jstl.jar vs. jstl-api.jar for struts2.2.3

2011-07-18 Thread Emi Lu
need to deploy, you shouldn't need to deploy the API jar, just the implementation. (There's also standard.jar, but I can never remember which impl that's for.) %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % standard.jar decides it! Thanks a lot! Emi

addActionMessage does not show message after redirect (struts2.2.3)

2011-07-12 Thread Emi Lu
Hello List, Struts2.2.3, it seems that addActionMessage does not show message after redirect. Someone knows why? Thank you, Emi Action.java this.addActionMessage(this.getText(UPDATE.SUCCESS)); return forward_str; action name=*Action method={1} class=Action

Re: addActionMessage does not show message after redirect (struts2.2.3)

2011-07-12 Thread Emi Lu
It works for 2.2.1, but the message does not shown for 2.2.3 anymore! Is it a bug? I have a lots classes depend on it. Thanks a lot! Emi On 07/12/2011 11:39 AM, Emi Lu wrote: Hello List, Struts2.2.3, it seems that addActionMessage does not show message after redirect. Someone knows why

Re: addActionMessage does not show message after redirect (struts2.2.3)

2011-07-12 Thread Emi Lu
know why? Emi On Tue, Jul 12, 2011 at 11:39 AM, Emi Luem...@encs.concordia.ca wrote: Hello List, Struts2.2.3, it seems that addActionMessage does not show message after redirect. Someone knows why? Thank you, Emi Action.java this.addActionMessage(this.getText

  1   2   3   >