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

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

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

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

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

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

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

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

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

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

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

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

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

  1   2   3   >