com/opensymphony/xwork2/util/finder

2014-12-11 Thread Emi Lu
Good morning, After upgrade to 2.3.20, my logs says java.lang.IncompatibleClassChangeError: com/opensymphony/xwork2/util/finder. Could someone tell me which libs missing or version conflict please? ERROR util.finder.ClassFinder.error:42 - Unable to read class

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
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 / (2) ProcessLoginAction.java public class

Re: Action failed for Struts 2.3.15.3 GA release

2013-10-18 Thread Emi Lu
One more comment: = Tiles 3.0.1 is used in the new struts package, but it will cause java.lang.NoClassDefFoundError: org/apache/tiles/web/startup/TilesListener exception. So, I could only use 2.2.2.2. login() method is not called in the action class - this is the

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
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 s:submit value=Login theme=simple action=loginProcessLoginAction / ---

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
Hello, Could someone provide an example or online document about how struts2 + kerberos + tomcat7 + SpringFramework SSO login model works? E.g., == (1) User login to windows/unix within local network (2) Open: https://www.local_network_webapp1.com

Kerberos + struts2 + SpringMVC

2013-06-25 Thread Emi Lu
Hello, Could someone provide an example or online document about how struts2 + kerberos + tomcat7 + SpringFramework SSO login model works? E.g., == (1) User login to windows/unix within local network (2) Open: https://www.local_network_webapp1.com

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:

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

2013-04-30 Thread Emi Lu
...@gmail.com wrote: What's `display:column`? Dave On Tue, Apr 30, 2013 at 1:34 PM, Emi Lu em...@encs.concordia.ca mailto:em...@encs.concordia.ca wrote: Hello, May I know how to generate TD title=tipinfo here by using display:column please? Thanks a lot

Re: [ANN] Struts 2.3.12 GA release available

2013-03-15 Thread Emi Lu
Good morning list, To share with you the updates that I did for more than 300 jsp pages, in the new version, required=false has be removed. s:select name=search_info list=list_vlb listKey=bean_value listValue=bean_label multiple=true

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
Thank you Chris. Moreover, if I call jfreechart to generate reports through web applications, it will not be affected, I believe? As long as you do not use Applets to output JFreechart data you should be fine (saying: if you generate images with JFreechart) (1) My jsp: img

Re: Java security issue vs. struts?

2013-01-18 Thread Emi Lu
Subject: Re: Java security issue vs. struts? Date: Fri, 18 Jan 2013 12:00:31 -0500 From: Emi Lu em...@encs.concordia.ca Reply-To: em...@encs.concordia.ca To: Christian Grobmeier grobme...@gmail.com CC: Struts Users Mailing List user@struts.apache.org, Chris Pratt thechrispr...@gmail.com Thank

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:

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
$Http11ConnectionHandler.process(Http11Protocol.java:602) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) -- Emi Lu, ENCS, Concordia University, Montreal H3G 1M8 em...@encs.concordia.ca+1 514 848-2424 x5884

Re: struts2.3.1.2 exception

2012-01-24 Thread Emi Lu
/2012 03:08 PM, Dave Newton wrote: How did you upgrade? Looks like the wrong version of OGNL. On Tue, Jan 24, 2012 at 11:16 AM, Emi Lu em...@encs.concordia.ca mailto:em...@encs.concordia.ca wrote: Good morning, Upgraded to struts2.3.1.2, but got the following exception. Could someone

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

2011-11-17 Thread Emi Lu
://commons.apache.org/lang/article3_0.html Thanks again to all involved in the release, both Commons users and Commons developers. Hen on behalf of the Apache Commons community -- Emi Lu, ENCS, Concordia University, Montreal H3G 1M8 em...@encs.concordia.ca+1 514 848-2424 x5884

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
Why do I use Struts2/Tiles/openJPA? tiles: to work with layouts struts2: the action concept and the posibility to make mapping between html and the object in my action. Same for me. openJPA: to work with database entities I use mybatis for DB queries. Just curious to know, does

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

2011-10-18 Thread Emi Lu
Hello List, I know the question is not really related to struts, and I am asking just in case, people had similar problem and has the solution. I am using struts2 + displaytag. Under IE9, for CVS display output, when mouse over the link, it shows https://website?param1=1param2=2paramN=N

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

2011-10-11 Thread Emi Lu
On 10/08/2011 04:40 AM, Li Ying wrote: This page may help: http://www.ontola.com/en/javascript-onclick-return-false-does-not-work-in-i Thank you Ying! I fixed the problem. It seems that ajax firefox return str !='' but and a trim is needed. while IE it returns str ==''. But IE will not

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
Hello , I know its not really struts question. But maybe someone knows the answer. IE cannot open an excel file directly (IE8,9) res.reset(); res.setHeader(Cache-Control, private, must-revalidate); res.setHeader(Pragma,private); res.setContentType(application/vnd.ms-excel);

Re: IE open excel file directly but not save as

2011-09-26 Thread Emi Lu
this attribute and maybe IE is assuming you mean external because it's there. (*Chris*) On Mon, Sep 26, 2011 at 10:30 AM, Emi Lu em...@encs.concordia.ca mailto:em...@encs.concordia.ca wrote: Hello , I know its not really struts question. But maybe someone knows the answer. IE

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
Hello, To share struts2 + displaytag example: (1) Action1 to browse display all records - a.jsp (2) Button send-all in a.jsp (3) Click send-all If send-all action in Action1.java, displagtag next page will call send-all again So, send-all action should be put another Action Class. I

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
Good morning, In struts2.2.3, how to submit a form to a predefined action? For example, (1) a.jsp s:select onchange=changeProcess / (2) Process.java ... public String change() { get Form values from a.jsp database actions ... ... return a.jsp; } I'd like to know:

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 unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Emi Lu, ENCS, Concordia University, Montreal H3G 1M8 em...@encs.concordia.ca+1 514 848-2424 x5884

how web.xml load several tile files?

2011-07-28 Thread Emi Lu
Good afternoon, Tiles2.2.2 + struts2.2.3. Web.xml = context-param param-name org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG /param-name param-value /WEB-INF/tiles/t1.xml, /WEB-INF/tiles/t2.xml

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
- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Emi Lu, ENCS, Concordia University, Montreal H3G 1M8 em...@encs.concordia.ca+1 514 848-2424 x5884

Re: how web.xml load several tile files?

2011-07-28 Thread Emi Lu
? 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 -- Emi Lu, ENCS, Concordia

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
filter-mapping filter-namestruts/filter-name url-pattern/*/url-pattern dispatcherREQUEST/dispatcher dispatcherINCLUDE/dispatcher /filter-mapping Did you try to remove these dispatcher params ? Or add FORWARD ? I tried as well, but still got the following

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
Hello, I always get the following exception, does someone know why? web.xml filter filter-namestruts/filter-name filter-classorg.apache.struts2.dispatcher.FilterDispatcher/filter-class init-param param-nameactionPackages/param-name

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

2011-07-25 Thread Emi Lu
(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:662) On 07/25/2011 04:15 PM, Emi Lu wrote: Hello, I always get the following exception, does someone know why? web.xml filter 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 -

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
Hello, Could someone tell me the differences between jstl.jar vs. jstl-api.jar? It seems that jstl-api.jar cannot find: %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % But from http://jstl.java.net/;, there is only jstl-api.jar. Can someone tell which jar should be used

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

2011-07-18 Thread Emi Lu
Hi Dave, One's an implementation, one's the api (I assume). http://jstl.java.net/ provides two jars: . jstl-api.jar . jstl-implementation.jar I thought jstl-api is the newer version of jstl.jar, no? Neither is related to Struts 2. Some app servers provide JSTL out-of-the-box, some you'll

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
...@struts.apache.org -- Emi Lu, ENCS, Concordia University, Montreal H3G 1M8 em...@encs.concordia.ca+1 514 848-2424 x5884 - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h

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

2011-07-12 Thread Emi Lu
. However, unless you were doing something OOTO, a request in Struts/2 lasts for one reqest/response trip. Peace, Scott On Tue, Jul 12, 2011 at 11:14 AM, Dave Newtondavelnew...@gmail.com wrote: On Tue, Jul 12, 2011 at 12:05 PM, Emi Lu wrote: Because it's a redirect, and things in the request go

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

2011-07-12 Thread Emi Lu
. 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 em...@encs.concordia.ca mailto:em...@encs.concordia.ca wrote: Thank you for all inputs! All right, I will have to change my codes. Emi On 07

Re: Documentation styles missing some classes?

2011-07-11 Thread Emi Lu
- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Emi Lu, ENCS, Concordia University, Montreal H3G 1M8 em...@encs.concordia.ca+1 514 848-2424 x5884

Re: Call execAndWait but got NullPointerException ?

2011-06-03 Thread Emi Lu
Good morning, your interceptor stack doesn't appear to be complete. By adding the following codes into struts.xml, no exception anymore. But the action page does *not* go to wait.jsp; but stays on the original action class page. interceptor name=execAndWait

Re: Call execAndWait but got NullPointerException ?

2011-06-03 Thread Emi Lu
Hello, The completeStack should be whatever your normal stack is, I think. struts.xml interceptor name=execAndWait class=com.opensymphony.webwork.interceptor.ExecuteAndWaitInterceptor/ action name=*ProcessAction method={1} class=ProcessAction interceptor-ref

Re: Call execAndWait but got NullPointerException ?

2011-06-03 Thread Emi Lu
... /B /font /marquee BR/ /s:if /div Emi On 06/03/2011 10:12 AM, Emi Lu wrote: Hello, The completeStack should be whatever your normal stack is, I think. struts.xml interceptor name=execAndWait class

Call execAndWait but got NullPointerException ?

2011-06-02 Thread Emi Lu
Hello, One action class to send emails to 50 users. Before action is done, I'd like to show a waiting page. When I added execAndWait shown as the following: action name=*ProcessAction method={1} class=ProcessAction interceptor-ref name=execAndWait param name=delay2000/param

Re: Call execAndWait but got NullPointerException ?

2011-06-02 Thread Emi Lu
For additional commands, e-mail: user-h...@struts.apache.org -- Emi Lu, ENCS, Concordia University, Montreal H3G 1M8 em...@encs.concordia.ca+1 514 848-2424 x5884 - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org

How to allow s:submit to accept dynamic src image file?

2011-05-30 Thread Emi Lu
Hello list, A question about s:submit in struts2.2.3 Icon is dynamic: % String pdf_icon= request.getContextPath() + /img/pdficon.png ; % s:submit type=image src=%= pdf_icon% action=preview_pdfProcessAction / But s:submit does not support src = %% Is there a way, can make s:submit accept

Re: How to allow s:submit to accept dynamic src image file?

2011-05-30 Thread Emi Lu
: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Emi Lu, ENCS, Concordia University, Montreal H3G 1M8 em...@encs.concordia.ca+1 514 848-2424 x5884 - To unsubscribe, e

Re: When start tomcat6 always got java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingVisitor Error!

2011-05-27 Thread Emi Lu
) - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Cordialement Mohamed -- Emi Lu, ENCS, Concordia University, Montreal H3G 1M8 em...@encs.concordia.ca+1 514 848

Re: When start tomcat6 always got java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/finder/ClassFinder$InfoBuildingVisitor Error!

2011-05-27 Thread Emi Lu
Are you really using all of those S2 plugins? You should not deploy plugins you are not using, as they may change fundamental S2 behavior. If nothing else it is almost certainly a bad idea to include both the codebehind (deprecated) and convention plugins. I use both struts1(history libs

Re: Pagination using Struts library

2011-05-13 Thread Emi Lu
-- Regards Kushan Jayathilake -- Emi Lu, ENCS, Concordia University, Montreal H3G 1M8 em...@encs.concordia.ca+1 514 848-2424 x5884 - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e

Re: Pagination using Struts library

2011-05-13 Thread Emi Lu
, Pankaj -- Regards Kushan Jayathilake -- Emi Lu, ENCS, Concordia University, Montreal H3G 1M8 em...@encs.concordia.ca+1 514 848-2424 x5884 - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org

Re: struts2 and tiles

2011-05-09 Thread Emi Lu
Hello, If I remember struts2.2.1 cannot only be with tiles2.0.7. Please try tiles*-2.0.7.jar I had the same problem when using struts2.2.x + tiles2.2 Regards, Emi Thank you for your answer. I would like to know if tiles work with struts2 in a portlet environment. This has been done

Re: [ANN] Struts2 jQuery Plugin Version 3.0.0 is available

2011-05-06 Thread Emi Lu
- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Emi Lu, ENCS, Concordia University, Montreal H3G 1M8 em...@encs.concordia.ca+1 514 848-2424 x5884

Re: addActionError() caused Page not found (404).

2011-04-14 Thread Emi Lu
) exception. Does anyone know what cause the problem? Thanks a lot! Emi -- result name=view type=redirectAction param name=actionNameProcessAction1/param param name=namespace/Action/param /result -- Emi Lu, ENCS, Concordia University, Montreal H3G 1M8 em...@encs.concordia.ca+1 514 848

Re: addActionError() caused Page not found (404).

2011-04-14 Thread Emi Lu
commands, e-mail: user-h...@struts.apache.org -- Emi Lu, ENCS, Concordia University, Montreal H3G 1M8 em...@encs.concordia.ca+1 514 848-2424 x5884 - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional

Re: addActionError() caused Page not found (404).

2011-04-14 Thread Emi Lu
with the interceptor config) this is takes more time; I may not pick this one. If I could not make (1) works, I will probably pick (2). Till now, I am already very satisfied with the answer! Thanks you very much! Emi On 04/14/2011 10:12 AM, Emi Lu wrote: I'm still guessing it's a validation thing--put

Re: addActionError() caused Page not found (404).

2011-04-14 Thread Emi Lu
- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Emi Lu, ENCS, Concordia University, Montreal H3G 1M8 em...@encs.concordia.ca+1 514 848-2424 x5884

Re: addActionError() caused Page not found (404).

2011-04-14 Thread Emi Lu
Hi Dave, On Thu, Apr 14, 2011 at 2:43 PM, Emi Lu wrote: Especially if there were no validation errors, only error messages added by the application code. By the way, I agree with this very much! So you're basically saying that you want to differentiate between two different types of errors

Re: Struts2 + spring3.05 + Quartz = IncompatibleClassChangeError

2011-04-13 Thread Emi Lu
, -- Haroon Rafiqueharoon.rafi...@utoronto.ca \Enterprise Apps Solutions Integration, University of Toronto On 2011-04-12, at 5:01 PM, Emi Lu wrote: I'd look for class loading issues. Maybe you have a couple jars with quartz? Maybe an incompatible version combination? Two jars

addActionError() caused Page not found (404).

2011-04-13 Thread Emi Lu
Hello, addActionError() caused Page not found (404) Error. (1) Action1.java browsing all records using displaytag (2) Action2.java if just say: return view; go to Action1 successfully if: addActionError(...); //then return view; Got an Page not found (404)

Re: addActionError() caused Page not found (404).

2011-04-13 Thread Emi Lu
Depends on where you added the addActionError() call, at the very least--an action error indicates a validation problem, so it may be trying to go to the input result. Not enough information to help. It seems that I may get my answer soon! More info comes: = (1)

Struts2 + spring3.05 + Quartz = IncompatibleClassChangeError

2011-04-12 Thread Emi Lu
Hello, Struts2 + spring3.05 + Quartz. Tomcat6 cannot be started showing the following exception message: == org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class

Re: Struts2 + spring3.05 + Quartz = IncompatibleClassChangeError

2011-04-12 Thread Emi Lu
I'd look for class loading issues. Maybe you have a couple jars with quartz? Maybe an incompatible version combination? Two jars: === . quartz-2.0.0.jar . org.springframework.context.support-3.0.5.RELEASE.jar But I cannot find other places contains the class. Still got

struts2 + itext5 + pdf generation

2011-03-23 Thread Emi Lu
Good morning list, A question about struts2 + PDF. Struts2 + itext5.x. In action class: == HttpServletResponse res = ServletActionContext.getResponse(); res.setContentType(application/pdf); Document document = new Document();

Re: struts2 + itext5 + pdf generation

2011-03-23 Thread Emi Lu
A question about struts2 + PDF. Struts2 + itext5.x. In action class: == HttpServletResponse res = ServletActionContext.getResponse(); res.setContentType(application/pdf); Document document = new Document(); PdfWriter.getInstance(document,

jquery + struts2 = autocompleter example?

2011-03-10 Thread Emi Lu
Good morning, Does someone know where I can find a good: jquery + struts2 = autocompleter example? Since dojo deprecated, I am thinking using jquery + struts2. Basically, autocompleter's value list needs to be calculated by struts2 action class to retrieve from Database. Thanks a lot! Lu

Re: RE : jquery + struts2 = autocompleter example?

2011-03-10 Thread Emi Lu
De : Emi Lu [em...@encs.concordia.ca] Date d'envoi : jeudi 10 mars 2011 15:13 À : user@struts.apache.org Objet : jquery + struts2 = autocompleter example? Good morning, Does someone know where I can find a good: jquery + struts2 = autocompleter example

jquery + struts2 + form validation

2011-03-04 Thread Emi Lu
Good morning, A question about struts2 + jquery form validation: in jsp: = form ... ... lots of tags s:submit action1 onclick=return check_action() s:submit action2 s:submit action3 /form If check_action returns false, action1 will never be called! JAVA action

Struts2 + dojo + ajax for confirm button

2011-02-16 Thread Emi Lu
Good afternoon, I found very good examples for ajax + asp: http://www.asp.net/ajax/ajaxcontroltoolkit/samples/ConfirmButton/ConfirmButton.aspx For example, confirm button May I know where I can find similar examples for Struts2 + dojo + ajax for confirm button please? Thanks a lot! -- Lu Ying

Re: Struts2 + dojo + ajax for confirm button

2011-02-16 Thread Emi Lu
+ ajax for confirm button please? Thanks a lot! -- Lu Ying - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Emi Lu, ENCS, Concordia University

Re: Struts2 + dojo + ajax for confirm button

2011-02-16 Thread Emi Lu
- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Emi Lu, ENCS, Concordia University, Montreal H3G 1M8 em...@encs.concordia.ca+1 514 848-2424 x5884 -- Emi Lu, ENCS, Concordia

Re: Decent tutorial or working example of Hibernate 3 + Struts 2 +Tiles 2 on myeclipse

2011-02-10 Thread Emi Lu
Regards, Abhishek jain -- Fail again. Fail better With Regards , Nuwan Arambage -- Emi Lu, ENCS, Concordia University, Montreal H3G 1M8 em...@encs.concordia.ca+1 514 848-2424 x5884 - To unsubscribe, e-mail

displaytag1.2 + struts2.2.1.1 + jfreechart. Graph did not update based on displaytag sortable column

2011-02-01 Thread Emi Lu
Good afternoon, displaytag1.2 + struts2.2.1.1 + jfreechart. img src=jfreechartReport.action Can display the graph, but when using displaytag to order by a specific column , the graph does not refresh automatically. Some clues? thanks a lot! -- Lu Ying GUI is like the following:

  1   2   3   >