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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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,

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

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

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

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

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

"Struts2 + Spring + ibatis" vs. "Struts2 + Spring + Hibernate"

2009-11-25 Thread Emi Lu
Good morning, Could someone has production comparison between (1) vs. (2)? (1) Struts2 + Spring + ibatis (2) Struts2 + Spring + Hibernate Thanks a lot! -- Lu Ying - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org F

Why did not show action message?

2009-12-11 Thread Emi Lu
Good afternoon, With struts2.1.81, in action class: addActionMessage("Success!"); in JSP, display . But the success message never show up? Any clues? Thanks a lot! -- Lu Ying - To unsubscribe, e-mail: user-unsubscr...@strut

Re: Why did not show action message?

2009-12-11 Thread Emi Lu
Hi Eduard, Did you send your success message from the action ? (1) In action1 (a1.java): addActionMessage("Success!"); (2) through tiles action1 -> action2 (a2.java) (3) from action2 -> final jsp if from (1) to (3) directly, it will be shown. But from (1) to (2) to (3), it doesn't

Struts2 + Spring + ibatis configuration set in applicationContext-ibatis.xml

2009-12-16 Thread Emi Lu
Hello list, Struts2 + Spring + ibatis, database connection configuration question: = (1) In applicationContext-ibatis.xml destroy-method="close"> class="org.springframework.orm.ibatis.SqlMapClientFact

Dispatch does not work ( Struts2 + tile)

2009-12-23 Thread Emi Lu
Hello all, I am using struts2.1.8.1 & tiles2.0.7. The following doc says that dispatch will work, but when I setup: http://www.vaannila.com/struts-2/struts-2-example/dispatchAction-in-struts-2-example-1.html My page goes to the correct URL, but the action class "ProcessTest" is not called at a

How struts2 supports "optgroup"?

2010-01-12 Thread Emi Lu
Good afternoon, Could someone tell me how struts2 support "optgroup" please? Thanks a lot! -- Lu Ying Sydney Melbourne Cromwell Queenstown - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional comm

Struts2.1.8.1, s:push does not return s:property value

2010-01-18 Thread Emi Lu
Good afternoon, Struts2.1.8.1, the following push example http://www.vaannila.com/struts-2/struts-2-example/struts-2-push-tag-example1.html Title returns, but "s:push" never returns attributes such as "name" under artist. Does someone tries and knows the reason? Album Title:

Re: Struts2.1.8.1, s:push does not return s:property value

2010-01-18 Thread Emi Lu
The pushed object will be on the stack while the tag is evaluated (in the tag body), and it will be popped after the end of the tag, so <--- will print 'not now john' <--will print whatever was in the top of the stack, before the "push" tag was invoked Thank you Musachy. If I am righ

Re: Struts2.1.8.1, s:push does not return s:property value

2010-01-18 Thread Emi Lu
Musachy Barroso wrote: The pushed object will be on the stack while the tag is evaluated (in the tag body), and it will be popped after the end of the tag, so <--- will print 'not now john' <--will print whatever was in the top of the stack, before the "push" tag was invoked Sorry th

s:iterator did not return result?

2010-01-19 Thread Emi Lu
Good morning, I have a problem of running the example: http://www.vaannila.com/struts-2/struts-2-example/struts-2-iterator-tag-example1.html JSP is: Title Genre true">oddeven"> View sources, only see: Title Genre Codes u

Re: s:iterator did not return result?

2010-01-19 Thread Emi Lu
I have a problem of running the example: http://www.vaannila.com/struts-2/struts-2-example/struts-2-iterator-tag-example1.html JSP is: Title Genre true">oddeven"> View sources, only see: Title Genre Codes under itera

getText() from login.properties but not packages.properties

2010-01-20 Thread Emi Lu
Good morning, I created login.properties that contains "username.required=Username cannot be empty." If I rename this file to packages.properties, the system always return the text message, but if the name is not that, the message never returned. May I know if I want struts2 read login.prop

Re: getText() from login.properties but not packages.properties

2010-01-20 Thread Emi Lu
Lukasz Lenart wrote: Please read documentation, everything is explained there. http://struts.apache.org/2.1.8.1/docs/localization.html http://struts.apache.org/2.1.8.1/docs/strutsproperties.html This did not answer my question :( Using package.properties works fine for me. The problem is how

Where to put bean.xml (spring configuration)?

2010-01-21 Thread Emi Lu
Good morning, Could someone tell me where to put bean.xml (spring configuration)? It is not shown in the following document http://www.vaannila.com/spring/spring-ioc-1.html Thanks a lot! -- Lu Ying bean.xml = 01. 02.http://www.springframework.org/schema/beans"; 03.xmlns:xsi

Re: Where to put bean.xml (spring configuration)?

2010-01-21 Thread Emi Lu
Rafał Krupiński wrote: On 21.01.2010 16:40, Emi Lu wrote: Good morning, Could someone tell me where to put bean.xml (spring configuration)? It is not shown in the following document http://www.vaannila.com/spring/spring-ioc-1.html Thanks a lot! The proper place for spring beans declaration

Tiles2.2.1, Struts2.1.8.1, Spring2.5.6 ===> "UnresolvingLocaleDefinitionsFactory.java:102" ???

2010-01-28 Thread Emi Lu
Good afternoon, Tiles2.2.1, Struts 2.1.8.1, Spring 2.5.6, tried simple example, but always got the following error: === java.lang.NullPointerException org.apache.tiles.definition.UnresolvingLocaleDefinitionsFactory.getDefinition(UnresolvingLocaleDefiniti

Re: Tiles2.2.1, Struts2.1.8.1, Spring2.5.6 ===> "UnresolvingLocaleDefinitionsFactory.java:102" ???

2010-01-28 Thread Emi Lu
Thank you Chris! As far as I know the Struts-Tiles plugin supplied with Struts 2.1.8.1 does not support Tiles 2.2 (or 2.1 for that matter). This is exactly the reason! I think both struts2 & Tiles2' official websites should highlight this in a very prominent position! Lowered the version t

How to retrieve all action messages in java code

2010-04-09 Thread Emi Lu
Good afternoon, I'd like to know (1) how to get all action messages in java code (2) How to remove some action message from ActionMessages Something like (1) returns ActionMessage("key1") ActionMessage("key2") ... ActionMessage("keyN") (2) removes key1...key9 Thanks a lot! -- Lu Ying

how to set default focus field in ?

2010-05-10 Thread Emi Lu
Good afternoon, Struts1, I use For *struts2.1.8.1*, may I know the grammar of setting focus value for "s:form" please? does not work. Thanks a lot! -- Lu Ying - To unsubscribe, e-mail: user-unsubscr...@struts.apache.

Re: how to set default focus field in ?

2010-05-11 Thread Emi Lu
ot support this? Thank you, -- Lu Ying Hi Lu, does this help http://struts.apache.org/2.1.8.1/docs/form.html ? Search for focusElement in this text. Best greetings, Paweł Wielgus. 2010/5/10 Emi Lu: Good afternoon, Struts1, I use d

Re: how to set default focus field in ?

2010-05-12 Thread Emi Lu
Struts1, I use does not work. I just use e.g; Username "/> I would prefer that s:form supports focus. By using tiles, is in global_layout.jsp page, for decedent pages, I will not be able to set body onload. Why does not support focus? This is strange :-(

If theme info could be added to http://struts.apache.org/2.1.8.1/docs/datetimepicker.html

2010-05-12 Thread Emi Lu
Hello, Can someone have the permission update this document http://struts.apache.org/2.1.8.1/docs/datetimepicker.html By adding: Also need to be set up theme Otherwise, the datatimepicker will not work; it will be more clear. Thanks, -- Lu Ying ---

Re: how to set default focus field in ?

2010-05-12 Thread Emi Lu
By using tiles, is in global_layout.jsp page, for decedent pages, I will not be able to set body onload. Admittedly I don't know tiles, but Sitemesh will copy the body onLoad and unload functions to the decorating page and I would be suprised if Tiles didn't support this as well. For the g

cause

2010-05-14 Thread Emi Lu
Good morning, Struts2.1.8.1, when using , , method1 is never triggered? But if is removed, method1 in ProcessAction.java is called successfully. Does someone know why? (1) struts.xml update_menu update_menu main_menu (2) ProcessAction.java public String execute() throws Exc

Re: cause does not work

2010-05-14 Thread Emi Lu
ing called! Thanks alot! -- Lu Ying On 05/14/2010 09:21 AM, Emi Lu wrote: Good morning, Struts2.1.8.1, when using , , method1 is never triggered? But if is removed, method1 in ProcessAction.java is called successfully. Does someone know why? (1) struts.xml update_menu updat

Re: cause does not work

2010-05-14 Thread Emi Lu
Figure it out finally! (-MM-DD) date_example has to be String but cannot be type Date. Otherwise, Will not dispatch to method()! -- Lu Ying On 05/14/2010 11:27 AM, Emi Lu wrote: Good morning, This struts-dojo-tags causes s:submit does work anymore. Whenever is added, none

"java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable"

2010-05-17 Thread Emi Lu
Good morning List, Using struts2.1.8.1, when I reinstall my application, I always got the following errors "java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable" But in struts.jar does contain this class. Could someone help and tell me what cause the problem? Tha

Re: "java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable"

2010-05-17 Thread Emi Lu
e? Thanks a lot! -- Lu Ying - Original Message ---- From: Emi Lu To: user@struts.apache.org Sent: Mon, May 17, 2010 10:48:38 AM Subject: "java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable" Good morning List, Using struts2.1.8.1, when I reinst

Re: "java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable"

2010-05-17 Thread Emi Lu
The most similar question I could find is: https://issues.apache.org/jira/browse/WW-2921 But did not find any solutions? Someone knows the solution? Thanks a lot! -- Lu Ying On 05/17/2010 02:50 PM, Emi Lu wrote: Hi Rebecca, Martin, Could you be having something going crazy with your

Re: "java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable"

2010-05-17 Thread Emi Lu
on, May 17, 2010 at 4:16 PM, Emi Lu wrote: The most similar question I could find is: https://issues.apache.org/jira/browse/WW-2921 But did not find any solutions? Someone knows the solution? Thanks a lot! -- Lu Ying On 05/17/2010 02:50 PM, Emi Lu wrote: Hi Rebecca, Martin, Could you

Re: "java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable"

2010-05-17 Thread Emi Lu
.6.2. Could this cause some potential problems? How come restart > tomcat, errors are gone? > > Thanks a lot! > -- > Lu Ying > > > > > > > > > - Original Message > > From: Emi Lu > > To: user@struts.apache.org > > Se

Re: "java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable"

2010-05-18 Thread Emi Lu
ot;${tomcat_password}" path="${tomcat_path}" /> password="${tomcat_password}" path="${tomcat_path}" config="ta_hiring.xml" /> Moreover, login in build.xml . undeploy . compile . copy (from, to) . permission . deploy Viola! Finally it works! Thank

How JSP page retrieves ActionForm.bean value?

2010-06-02 Thread Emi Lu
Good morning List, Could someone tell me how to read actionForm's bean value please? (1) Bean.java String name; ... ... (2) Action class public class ProcessAction extends ActionSupport { Bean bean1 = new Bean(); ... ... } (3) JSP file Here is my question! <% String name = bean1.

Re: How JSP page retrieves ActionForm.bean value?

2010-06-02 Thread Emi Lu
Could someone tell me how to read actionForm's bean value please? (1) Bean.java String name; ... ... You have a getName and setName methods right? (2) Action class public class ProcessAction extends ActionSupport { Bean bean1 = new Bean(); ... ... } You have a getBean and se

Re: tag attributes evaluation

2010-06-14 Thread Emi Lu
On 06/14/2010 09:59 AM, Dale Newfield wrote: On 6/13/10 2:02 PM, Oleg Mikheev wrote: I really think that this notation must be documented specifically on this page: http://struts.apache.org/2.1.8.1/docs/ognl.html It's a wiki. Please feel free to offer the modifications you think are appropriat

lost URL parameters with tag

2010-07-20 Thread Emi Lu
Good morning, It seems that "s:param" does not work well when more than one s:param is assigned. The second "help_text_name" is never called. How come? Found one line bug report "lost URL parameters with tag (bug 1938)" at http://readlist.com/lists/struts.apache.org/user/9/47016

Re: lost URL parameters with tag

2010-07-20 Thread Emi Lu
On 07/20/2010 11:48 AM, Emi Lu wrote: Good morning, It seems that "s:param" does not work well when more than one s:param is assigned. The second "help_text_name" is never called. How come? Found one line bug report "lost URL parameters with tag (bug 1938)"

Re: lost URL parameters with tag

2010-07-20 Thread Emi Lu
On 07/20/2010 01:39 PM, Dale Newfield wrote: On 7/20/10 11:48 AM, Emi Lu wrote: It seems that "s:param" does not work well when more than one s:param is assigned. I use multiple param tags inside url tags all over the place. It does work. I would suggest running your applicatio

Re: lost URL parameters with tag

2010-07-20 Thread Emi Lu
ou for all your help! Very helpful! -- Lu Ying On Tue, Jul 20, 2010 at 12:20 PM, Emi Lu wrote: On 07/20/2010 01:39 PM, Dale Newfield wrote: On 7/20/10 11:48 AM, Emi Lu wrote: It seems that "s:param" does not work well when more than one s:param is assigned. I use multiple param

ibatis is not maintained by apache. So what other db processing plugins combined great with struts2 for db operations

2010-08-12 Thread Emi Lu
Good afternoon, http://ibatis.apache.org/index.html shows that "2010/06/16 - Apache iBATIS has been retired". Can you suggest other db processing plugins combined great with struts2 please? Personally, I like ibatis a lot; it's a pith that apache does not support it anymore. Thanks a lot

Re: ibatis is not maintained by apache. So what other db processing plugins combined great with struts2 for db operations

2010-08-12 Thread Emi Lu
On 08/12/2010 02:39 PM, Wendy Smoak wrote: On Thu, Aug 12, 2010 at 2:24 PM, Emi Lu wrote: http://ibatis.apache.org/index.html shows that "2010/06/16 - Apache iBATIS has been retired". Can you suggest other db processing plugins combined great with struts2 please? Personally, I lik

Does Spring3 support mybatis3.x?

2010-08-12 Thread Emi Lu
Hello, Does anyone know whether spring3 supports mybatis3.x? http://www.apacheserver.net/No-MyBatis-support-in-Spring-3-x-at204449.htm thank you, -- Lu Ying - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For ad

Re: [ANN] Struts 2.2.1 GA release available

2010-08-16 Thread Emi Lu
On 08/16/2010 02:09 PM, Rene Gielen wrote: The Apache Struts group is pleased to announce that Struts 2.2.1 is available as a "General Availability" release. The GA designation is our highest quality grade. Apache Struts 2 is an elegant, extensible framework for creating enterprise-ready Java we

Re: [ANN] Struts 2.2.1 GA release available

2010-08-16 Thread Emi Lu
On 08/16/2010 03:12 PM, Lukasz Lenart wrote: 2010/8/16 Emi Lu: Cannot find the file: http://apache.parentinginformed.com/struts/binaries/struts-2.2.1-all.zip Not Found The requested URL /struts/binaries/struts-2.2.1-all.zip was not found on this server. A tiny mistake, should be http

Re: Spring 3 Upgrade

2010-12-03 Thread Emi Lu
I am using spring3.0 5, jdk1.6, tomcat6, mybatis3. It seems fine for now. Lu Ying I had no trouble with it. On Thu, Dec 2, 2010 at 5:08 PM, Zoran Avtarovskiwrote: I just wanted to check if there were any issues with upgrading spring to version 3 with struts 2.2.1? I notice the complete dow

If logic to dynamic decide whether to display a column

2011-01-21 Thread Emi Lu
Good afternoon, Need help about using "if logic" to determine whether to display a column under display:table For example: Need sth like: == if %{#attr.row_rec.show_col1} Otherwise, do not display "col1". What is the grammer of "if %{#attr.row_rec.sh

Re: If logic to dynamic decide whether to display a column

2011-01-21 Thread Emi Lu
Thank you Vitor. I believe it will satisfy my requirement. -- Lu Ying On 01/21/2011 03:59 PM, Vitor De Mario wrote: As far as I know, , the Struts tag, works in this scenario. I believe I've used it before. On Fri, Jan 21, 2011 at 6:35 PM, Emi Lu mailto:em...@encs.concordia.ca>

struts2 + JfreeChart

2011-01-27 Thread Emi Lu
Good afternoon list, Could someone tell me where I can see a real online struts2.21 + jfreechart example? The following should be possible with struts2 + jfreechart, right? = | | contents | . | .gif chart result | ... | button1 After click button1: contents and

s:submit to display results in a new window ?

2011-01-27 Thread Emi Lu
Good afternoon, Could someone tell me how to use s:submit to open result in a new window? struts2.2.1.1 Thank you, -- Lu Ying - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user

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

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

2011-02-01 Thread Emi Lu
Dave, 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 image is on the page why would it refresh unless the page refreshes? By clicki

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

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

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

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

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

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

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

struts2 + itext5 + pdf generation

2011-03-23 Thread Emi Lu
he default PDF file name? Thanks a lot! Emi - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: struts2 + itext5 + pdf generation

2011-03-23 Thread Emi Lu
ader("Content-disposition","attachment; filename=\"" + reportName + ".pdf\"" ); Is there a way to fix it and is there any good online doc about how struts2 + itext pdf file generation? I'd like to get some good online docs about struts2 + jsperrepo

Struts2 + spring3.05 + Quartz => IncompatibleClassChangeError

2011-04-12 Thread Emi Lu
.JobDetailBean has interface org.quartz.JobDetail as super class = Does someone know what may cause this exception? Thanks a lot! Emi - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional co

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

2011-04-12 Thread Emi Lu
l got the error :-( Emi org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.springframework.scheduling.quartz.JobDetailBean] nested exception is java.lang.IncompatibleClassChangeError: class org.springframework.scheduling.quartz.JobDetailBean has inte

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

2011-04-13 Thread Emi Lu
Good morning all, Thank you very much for the information! I tried the following, and it works now: === (1) Use quartz-1.8.5.jar instead 2.0 (2) Added slf4j-api-1.6.1.jar Emi On 04/12/2011 09:24 PM, Haroon Rafique wrote: Disclaimer, I didn't

  1   2   3   >