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/ , Comple

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 kin

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 HttpS

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 any

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 fi

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 fixe

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 c

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

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, tiles3.0.8,

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. This

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 http://struts.apache.org/docs/s2-052.html Just wan

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) struts.xm

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 h

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 a

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 file

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 c

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 08:38:15

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 c

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 java.lang.ClassCas

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 tiles

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 alr

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, a

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 executeProce

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 AuthenticatedF

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 : 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. Looks like, can you

Re: com/opensymphony/xwork2/util/finder

2014-12-11 Thread Emi Lu
on: 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. Thanks, Emi > On Thu, Dec 11, 2014 at 9:56 AM, Emi Lu wrote: > > On 12/11/2014 09:51 AM, Dave Newton w

com/opensymphony/xwork2/util/finder

2014-12-11 Thread Emi Lu
.java: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...@struts.

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 designat

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: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: . //Coding for [1] .. Is it correct? This is the preferred appro

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: . //Coding for [1] .. Is it correct? Or, if I keep "extends=tile

Re: Need help for 2.3.16

2014-01-07 Thread Emi Lu
## web: http://www.jgeppert.com twitter: http://twitter.com/jogep 2013/12/20 Emi Lu mailto:em...@encs.concordia.ca>> Hello, > Please try out Struts2 jQuery Plugin Version 3.7.0-SNAPSHOT. This Version is compatible with Struts 2.3.16. The latest is shown as 3.6.1

Re: Need help for 2.3.16

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

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

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 startin

Re: Action failed for Struts 2.3.15.3 GA release

2013-10-30 Thread Emi Lu
, Lukasz Lenart wrote: 2013/10/18 Emi Lu : Good morning, Tried the new version15.3, but failed: login() method is not called at all. (1) login.jsp Struts 2.3.15.3 disables support for action: prefix by default [1], to enable it you must set struts.mapper.action.prefix.enabled

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 : Good morning, Tried the new version15.3, but failed: login() method is not called at all. (1) login.jsp Struts 2.3.15.3 disables support for action: prefix by default [1], to enable it you must set

Re: Action failed for Struts 2.3.15.3 GA release

2013-10-18 Thread Emi Lu
esListener (4) libs used shown in the attached libs.txt file === (5) struts.xml === login_main_page .. . Can someone help why login() method is not called ? Thanks

Action failed for Struts 2.3.15.3 GA release

2013-10-18 Thread Emi Lu
=== (5) struts.xml === class="org.apache.struts2.views.tiles.TilesResult" /> class="ProcessLoginAction"> login_main_page .. . Can someone help why login() method is not called ? Thanks a lot! Emi antlr-2

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: --- never call loginProcessLoginAction (2) struts.xml main_menu /WEB-INF/pages/errorinfo/ajax_error

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 &

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 /> Is there a simple way to assign Struts2Action.list_size to s:select.size filed in the

FKerberos + struts2 + SpringMVC

2013-06-26 Thread Emi Lu
https://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 unsubscri

Kerberos + struts2 + SpringMVC

2013-06-25 Thread Emi Lu
https://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 unsu

Re: how to generate 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&#x

how to generate by display:column

2013-04-30 Thread Emi Lu
Hello, May I know how to generate 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...@struts.apache.org

Re: [ANN] Struts 2.3.12 GA release available

2013-03-15 Thread Emi Lu
message now :-( All for now. Emi On 03/15/2013 04:16 AM, Lukasz Lenart wrote: The Apache Struts group is pleased to announce that Struts 2.3.12 is available as a "General Availability" release. The GA designation is our highest quality grade. Apache Struts 2 is an elegant, exte

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

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 (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 On 01/16/2013

Re: Java security issue vs. struts?

2013-01-18 Thread Emi Lu
chart 1000 500 (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

Re: Java security issue vs. struts?

2013-01-16 Thread Emi Lu
affected, I believe? Emi On Wed, Jan 16, 2013 at 1:54 PM, Emi Lu 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-2013-0422-1896849.

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

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

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: In action java class: private ArrayListarraylist1 ; 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: In action java class: private ArrayListarraylist1 ; So that abean.arraylist1 could be retrieved by action java class. Thanks a lot! Emi

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

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

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

2011-11-15 Thread Emi Lu
now, does 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
ine when only param1... param5 , 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:

2011-10-11 Thread Emi Lu
;. But IE 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

user@struts.apache.org

2011-10-07 Thread Emi Lu
Hello, 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

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,

Re: IE open excel file directly but not save as

2011-09-26 Thread Emi Lu
on/vnd.ms-excel"); res.setHeader("Content-Disposition", "inline"); res.setContentLength(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

IE open excel file directly but not save as

2011-09-26 Thread Emi Lu
e as a file, open it, excel shows: "Office File Validation detected a problem while trying to open this file. Opening it may be dangerous" 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

Share my "Struts2 + displaytag" note

2011-09-23 Thread Emi Lu
o, send-all action should be put another Action Class. I 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

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
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 action? For example, (1) a.jsp (2) Process.java ... public String change() { get Form va

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
ed 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...@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

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

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 Newton To: Struts Users Mailing List, em...@encs.concordia.ca Date: 07/28/2011 03:30 PM Subject:

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" mailto:em...@encs.concordia.ca>> wrote: > Good afternoon, > > Tiles2.2.2 + s

how web.xml load several tile files?

2011-07-28 Thread Emi Lu
. 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...@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-27 Thread Emi Lu
On 07/27/2011 01:55 AM, Łukasz Lenart wrote: 2011/7/26 Emi Lu: 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 similar question

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

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

2011-07-26 Thread Emi Lu
(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) --- Thanks a lot! Emi

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 struts2 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter actionPackages action

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

2011-07-25 Thread Emi Lu
Hello, I always get the following exception, does someone know why? web.xml struts org.apache.struts2.dispatcher.FilterDispatcher actionPackages action struts /* REQUEST INCLUDE Thanks a lot! Emi

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
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 mailto:em...@encs.concordia.ca>> wrote: Probably because of what the exception says; try removi

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" mailto:em...@encs.concordia.ca>> wrote: > Hello List, > > I got the following exception, could someone tell me what cause it

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" mailto:em...@encs.concordia.ca>> wrote: > Hello List, > > I got the following exception, could someone tell me what cause it

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: "jstl.jar vs. jstl-api.jar" for struts2.2.3

2011-07-18 Thread Emi Lu
ome you'll 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&qu

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

2011-07-18 Thread Emi Lu
here is only "jstl-api.jar". Can someone tell which jar should be used 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: addActionMessage does not show message after redirect (struts2.2.3)

2011-07-12 Thread Emi Lu
and forwarded them to you. Users had provided reasons why addActionMessage words and why addActionError did not return the message. Emi On Jul 12, 2011 1:17 PM, "Emi Lu" mailto:em...@encs.concordia.ca>> wrote: > Thank you for all inputs! All right, I will have to change my c

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

2011-07-12 Thread Emi Lu
Thank you for all inputs! All right, I will have to change my codes. Emi On 07/12/2011 12:57 PM, stanl...@gmail.com wrote: Dave is right Emi. I have been working with other frameworks recently, and what Struts/2 needs is a simple FlashScope that allows a request to last two life-cycles

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

2011-07-12 Thread Emi Lu
t, do you know why? Emi On Tue, Jul 12, 2011 at 11:39 AM, Emi Lu 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("UPDATE.SUC

  1   2   3   >