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
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 [com.jgeppert.struts2.jquery.

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 h

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

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 (2) ProcessLoginAction.java public class ProcessLoginAction extends ActionSupport { private static final long serialVersionUID = -23344844

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
Good morning, Upgraded from 2.3.15.1 to 15.2, but "s:submit" problem: (1) jsp: action="loginProcessLoginAction" /> --- never call loginProcessLoginAction (2) struts.xml main_menu /WEB-INF/pages/errorinfo/ajax_error_check.jsp (3) ProcessLoginAction.java publi

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
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 https://www.local_network_web

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 https://www.local_network_we

Re: how to generate by display:column

2013-04-30 Thread Emi Lu
ote: What's ``? Dave On Tue, Apr 30, 2013 at 1:34 PM, Emi Lu mailto:em...@encs.concordia.ca>> wrote: > Hello, > > May I know how to generate by using > "display:column&quo

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
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. The highlighted red border is good. But it seems that required="false" and required="true" returns the same warning message now :-( All for now. E

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
l Message Subject: Re: Java security issue vs. struts? Date: Fri, 18 Jan 2013 12:00:31 -0500 From: Emi Lu Reply-To: em...@encs.concordia.ca To: Christian Grobmeier CC: Struts Users Mailing List , Chris Pratt Thank you Chris. Moreover, if I call jfreechart to generate reports through we

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: (2) struts.xml

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
01/24/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 mailto:em...@encs.concordia.ca>> wrote: Good morning, Upgraded to struts2.3.1.2, but got the following exception. Could someone tell me

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: 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
/lang/download_lang.cgi > > > > For advice on upgrading from 2.x to 3.x, see the following page: > > > > http://commons.apache.org/lang/article3_0.html > > > > Thanks again to all involved in the release, both Commons users and > > Commons d

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

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=1¶m2=2paramN=N I

Re:

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 acce

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 09/26/2011 01:40 PM, Chris Pratt wrote: Try removing the filename from the Content-Disposition header. "inline" doesn't support 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 mail

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"); res.s

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 C

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
..@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...@struts.apache.org

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 (2) Process.java ... public String change() { get Form values from a.jsp database actions ... ... return a.jsp; } I'd like to know: === When values changed in s

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 downlo

Re: how web.xml load several tile files?

2011-07-28 Thread Emi Lu
Struts Users Mailing List, em...@encs.concordia.ca Date: 07/28/2011 03:30 PM Subject:Re: how web.xml load several tile files? Did you try the tiles list? Dave On Jul 28, 2011 4:28 PM, "Emi Lu" wrote: Good afternoon, Tiles2.2.2 + s

Re: how web.xml load several tile files?

2011-07-28 Thread Emi Lu
Re: how web.xml load several tile files? Did you try the tiles list? Dave On Jul 28, 2011 4:28 PM, "Emi Lu" wrote: Good afternoon, Tiles2.2.2 + struts2.2.3. Web.xml = org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG /WEB-INF/tiles/t1.xml, /WEB-INF/til

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
Good afternoon, Tiles2.2.2 + struts2.2.3. Web.xml = org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG /WEB-INF/tiles/t1.xml, /WEB-INF/tiles/t2.xml Only t1.xml is found; but t2.xml cannot be found.

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
struts /* REQUEST INCLUDE Did you try to remove these dispatcher params ? Or add FORWARD ? I tried as well, but still got the following exceptions. The server did not die and it seems work fine. But each action returns such SEVERE exception. Why??? tomcat6 +

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

2011-07-25 Thread Emi Lu
.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) On 07/25/2011 04:15 PM, Emi Lu wrote: Hello, I always get the following exception, does

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/li

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 nee

"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

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
. 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 Newton wrote: On Tue, Jul 12, 2011 at 12:05 PM, Emi Lu wrote: Because it's a redirect, and things in the request go away when there&#x

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

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

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; Action2 /Action ---

Re: Documentation styles missing some classes?

2011-07-11 Thread Emi Lu
cs/localization.html - 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+

Re: Call execAndWait but got NullPointerException ?

2011-06-03 Thread Emi Lu
completed... 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 2000 500 /wait.jsp browse_action1 Tiles.xml == browse_action1 => point to browse.js

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 class="com.opensymphony.webwork.interceptor.ExecuteAndWaitInterceptor"/> 2000 500 /wait.jsp browse_action1 Tiles.xml == b

Re: Call execAndWait but got NullPointerException ?

2011-06-03 Thread Emi Lu
ion class has bean from spring . use tiles for "adm" result Thanks a lot! Emi -Dale On Jun 2, 2011, at 3:35 PM, Emi Lu wrote: 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 fo

Re: Call execAndWait but got NullPointerException ?

2011-06-02 Thread Emi Lu
t the same example. The differences . my action class has bean from spring . use tiles for "adm" result Thanks a lot! Emi -Dale On Jun 2, 2011, at 3:35 PM, Emi Lu wrote: Hello, One action class to send emails to 50 users. Before action is done, I'd like to show a waiting

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: 2000 500 /wait.jsp browse_action1 ... I got the following Error message returned. Could someone help what is

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

2011-05-30 Thread Emi Lu
ot;Dave Newton" wrote: On Mon, May 30, 2011 at 11:30 AM, Emi Lu wrote: But does not support src = "<%%>" Does normal EL work? Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For add

How to allow to accept dynamic src image file?

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

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

2011-05-27 Thread Emi Lu
%> <%@ taglib prefix="sx" uri="/struts-dojo-tags" %> Is dojo deprecated? Thank you, Emi Dave On Fri, May 27, 2011 at 10:03 AM, Emi Lu wrote: Good morning, Thank you very much for your inputs! To figure out which jar is missing, I downloaded the x

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

Re: Pagination using Struts library

2011-05-13 Thread Emi Lu
-- 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: Pagination using Struts library

2011-05-13 Thread Emi Lu
in struts which can be used to implement pagination. I suggested Display tag and Page Loader, but since they are not open source, not ssociated with Jakarta/Sun, user is not agreeging to it? Any suggestions would be appreciated? Thanks, Pankaj -- Regards Kushan Jayathilake -- Emi Lu

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 co

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

2011-05-06 Thread Emi Lu
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 - To unsubscribe, e-

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 e

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

2011-04-14 Thread Emi Lu
#x27;t really see why it'd be worth it. Dave - 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

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

2011-04-14 Thread Emi Lu
e hasErrors() or muck 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 sti

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

2011-04-14 Thread Emi Lu
ruts.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-mail: user-uns

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

2011-04-14 Thread Emi Lu
7;s just not a good habit, IMO. So, what is the reason? I did not put input :-( I am looking for the answer.. Emi On Wed, Apr 13, 2011 at 4:43 PM, Emi Lu wrote: Depends on where you added the addActionError() call, at the very least--an action error indicates a validation problem, so

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

2011-04-13 Thread Emi Lu
"addActionError(this.getText("at.least.one.rec.error"))", return successfully! Otherwise, "Page not found 404"returned! (6) struts.xml for Action2 Action1 I tried also the following, but it does not work either: browse_action1 Thanks a lot! Emi

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)" e

Re: Struts2 + spring3.05 + Quartz => IncompatibleClassChangeError

2011-04-13 Thread Emi Lu
heers, -- Haroon Rafique \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: === . qu

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 th

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 [org.springframework.scheduling.q

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, res.getOutputSt

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(); PdfWriter.getInstance(docum

Re: RE : jquery + struts2 => autocompleter example?

2011-03-10 Thread Emi Lu
u.m...@ensam.eu ____________ 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 + st

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 Y

jquery + struts2 + form validation

2011-03-04 Thread Emi Lu
Good morning, A question about struts2 + jquery form validation: in jsp: = ... ... lots of tags If check_action returns false, action1 will never be called! JAVA action private InputStream inputStream; check_action() { check tag1 against DB; //whether d

Re: "Struts2 + dojo + ajax" for "confirm button"

2011-02-16 Thread Emi Lu
Either via the jQuery plugin, or by simply using whatever JS library/framework you want. Thank you Dave! -- Lu Ying On Wed, Feb 16, 2011 at 3:37 PM, Emi Lu wrote: On 02/16/2011 03:13 PM, Dave Newton wrote: Please, please be aware that the S2 Dojo plugin is *deprecated*, for good

Re: "Struts2 + dojo + ajax" for "confirm button"

2011-02-16 Thread Emi Lu
, Feb 16, 2011 at 2:52 PM, Emi Lu wrote: 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 "Strut

"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! --

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

2011-02-10 Thread Emi Lu
cannt get through i get some exceptions everytime i add struts and hibernate with tiles capabilities in myeclipse. I think some libraries default in Myeclipse are conflicting each other . thanks -- Thanks and kind Regards, Abhishek jain -- Fail again. Fail better With Regards , Nuwan Ara

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

2011-02-01 Thread Emi Lu
> wrote: displaytag1.2 + struts2.2.1.1 + jfreechart. Can display graph, but when using displaytag to order by a specific column , the graph does not refresh automatically. Some clues? > If the i

  1   2   3   >