Re: Re: Struts 2.5.x to 6.4.0

2025-01-28 Thread John Wilson
at 8:40 AM Lukasz Lenart wrote: > wt., 28 sty 2025 o 14:22 John Wilson napisał(a): > > I did go through the constants and update as required. We have the > > typeconverters defined application wide using the > > struts-conversion.properties. > > > > Although I’

Re: Re: Struts 2.5.x to 6.4.0

2025-01-28 Thread John Wilson
%20%3D%206.0.0 As to create the type converter it now goes through the renamed StrutsTypeConverterCreator. It seems to use the createConverter, instead of createBean? Thanks for your help, J On Tue, Jan 28, 2025 at 12:50 AM Lukasz Lenart wrote: > pon., 27 sty 2025 o 15:31 John Wilson napisa

RE: Re: Struts 2.5.x to 6.4.0

2025-01-27 Thread John Wilson
Yes. It should be using Spring to inject it as it did on 2.5.33. We have the struts2-spring-plugin which my understanding sets the object factory in the web.xml to spring. On 2025/01/26 06:29:29 Lukasz Lenart wrote: > czw., 23 sty 2025 o 17:51 jw1474674 napisał(a): > > Hi, I’m facing issues upg

Re: Struts 6.1.1. // Ok to migrate to JDK 17, Spring 6, Hibernate 6?

2023-03-01 Thread John
I believe Spring6 and Hibernate6 are the branches including the JDK17 javax to jakarta change. John On 3/1/2023 7:31 AM, Burton Rhodes wrote: Well that's a good start.  We may begin testing this to see what happens.  Lukasz - many thanks as always. -- Original Message --

Re: Jakarta EE 9

2023-02-15 Thread John
Scary answer to business users - thanks for the honesty On 2/12/2023 4:39 AM, Lukasz Lenart wrote: śr., 8 lut 2023 o 21:41 John napisał(a): I'm not finding any announcement on a struts2 release resolving the jakarta (two years ago) vs javax namespace problem. Is there a target date

Jakarta EE 9

2023-02-08 Thread John
I'm not finding any announcement on a struts2 release resolving the jakarta (two years ago) vs javax namespace problem. Is there a target date for a resolution? Thanks - To unsubscribe, e-mail: user-unsubscr...@struts.apache.

Re: OGNL in struts tag

2020-02-23 Thread John Bush
l the getter for formcolumnName. Code             Result Thanks - John Bush On 2/23/2020 5:57 AM, Lukasz Lenart wrote: pt., 21 lut 2020 o 04:05 M Huzaifah napisał(a): the jsp has error: Struts Problem Report Struts has detected an unhandled exception: Messages: /pages/

Re: convention plugin Issue

2019-12-19 Thread John Bush
able to specify a unique SCOPE when calling the action and get the result you need. John On 12/19/2019 12:52 AM, Zahid Rahman wrote: This is not overriding method. As you see when you declare the same functionality using the struts.xml Then only that explicitly declared method will be exe

Re: convention plugin Issue

2019-12-18 Thread John Bush
rstand the technology stack used including the order of classpaths searched at execution time. A framework is intended to help you do a job which implies you know what it's doing. John On 12/18/2019 9:48 AM, Lukasz Lenart wrote: Feel free to register a ticket in JIRA, but this is something low

Re: have plan to upgrade version of spring in struts 2 Spring plugin?

2019-12-15 Thread John Bush
Simon, Note that it also states that you can declare newer versions of Spring if you wish. I currently support a number of web applications using the plugin and Spring v5.1.9 without any problems. John On 12/14/2019 4:16 AM, Yasser Zamani wrote: Hi, Thank you so much! Yes we will upgrade

Re: Jboss 7.2 gives 404 after deployment

2019-02-24 Thread John W. Himpel
en produces (or my inputs to maven). I strongly suspect I will have more success moving this issue to the JBoss user forum mailing list than continue bothering all of you. Thanks for your help. John On Sun, 2019-02-24 at 16:48 +, Martin Gainty wrote: > never say the r word..better to say

Re: Jboss 7.2 gives 404 after deployment

2019-02-23 Thread John W. Himpel
is directory we include index.html which uses a > simple meta refresh to send the users browser to the ... > docs.wildfly.org > > > hth > > From: John W. Himpel > Sent: Saturday, February 23, 2019 2:52 PM > To: user@struts.apache.org >

Jboss 7.2 gives 404 after deployment

2019-02-23 Thread John W. Himpel
Greetings, I have a very small Struts web app that I developed under Red Hat Developer Studio. I am using Struts 2.5.20, Jboss 7.2.0. Right-click in on the project name in Red Hat Developer Studio, select properties->Web Project Settings and the Context root: shows a "learning". After deploymen

Re: Question

2018-11-14 Thread John Bush
. If you don't find that's possible I have had success dropping in newer versions of commons-fileupload to replace the older. I haven't attempted it to a Struts 1 application though. John B On 11/14/2018 12:41 PM, Eric Reed wrote: Struts 2. -Original Message- From: Deb

struts2 freemarker.template.TemplateNotFoundException

2018-04-15 Thread john lee
Please help I use struts2 to handle file upload, i already configured the following a. /WEB-INF/lib    contains     commons-fileupload-1.3.2.jar    commons-io-2.2.jar      b. /WEB-INF/classes/struts.xml            c. /var/apache-tomcat-7.0.34/webapps/mytest/WEB-INF/classes/dream     mytest    app

Re: struts2 +rest service problem

2017-07-19 Thread john lee
I did add conventions plug-in,  From: Ken McWilliams To: Struts Users Mailing List ; john lee Sent: Wednesday, July 19, 2017 4:52 PM Subject: Re: struts2 +rest service problem As mentioned in the other thread have you added the conventions plug-in? The indicated error indicates

Re: struts2 with rest service

2017-07-19 Thread john lee
after i append, the problem is gone, but when i did test, have error message generated. please see the thread. thanks in advance. john From: Ken McWilliams To: Struts Users Mailing List ; john lee Sent: Wednesday, July 19, 2017 4:11 PM Subject: Re: struts2 with rest service

struts2 +rest service problem

2017-07-19 Thread john lee
Please help for the struts2 + rest service  http://beta-dev/ecommerce/employee.xml return the following error report Struts Problem Report Struts has detected an unhandled exception: | Messages: | - com.thoughtworks.xstream.XStream - com/thoughtworks/xstream/XStream - java.lang.

struts2 with rest service

2017-07-19 Thread john lee
/struts.xml (add the following line with red font)                   after start application, but in catalina.out see the following error, i did copy struts-plugin.xml into WEB-INF/classes/. thanks in advance john *** SEVERE

RE: problem Migrating from Struts 2.3 to 2.5

2016-12-22 Thread John Aylward
g the wildcard matching was because I didn't want to have to type out every method in the configuration. STI makes me have to type out every method in the configuration again. -- John -Original Message- From: Lukasz Lenart [mailto:lukaszlen...@apache.org] Sent: Thursday, December 22,

RE: problem Migrating from Struts 2.3 to 2.5

2016-12-22 Thread John Aylward
wildcard actions to work again. I'm not sure if the regex was needed or not, but I'm leaving it for now since it's working. -- John J. Aylward -Original Message- From: John Aylward [mailto:john.aylw...@sagenet.com] Sent: Thursday, December 22, 2016 10:20 AM To: Struts Use

RE: problem Migrating from Struts 2.3 to 2.5

2016-12-22 Thread John Aylward
ssage when an action was configured, but in 2.5.x I don't appear to get any such messages. -- John -Original Message- From: Lukasz Lenart [mailto:lukaszlen...@apache.org] Sent: Thursday, December 22, 2016 1:33 AM To: Struts Users Mailing List Subject: Re: problem Migrating from

problem Migrating from Struts 2.3 to 2.5

2016-12-21 Thread John Aylward
r error messages output. Do I need to do something different in 2.5 to get my actions loading? My action definitions look something like this: http://struts.apache.org/dtds/struts-2.3.dtd";> Any help would be greatly appreciated! Thanks -- John

unsubscribe me

2016-01-06 Thread john feng
unsubscribe

struts2 json return to front

2014-10-28 Thread john lee
  After click the button,     the value of partid is passed to action class, and see the output '123' from the console.    the assigned value of dummymesg is displayed on the console as well.  but the dummymesg never return to front javascript.    looks like success or error function call never

Re: [struts-user] Re: struts2 json return null if involve hibernate or spring

2014-10-27 Thread john lee
ubject: RE: [struts-user] Re: struts2 json return null if involve hibernate or spring > -Original Message- > From: john lee > Sent: Monday, October 27, 2014 9:06 > > the delete itself has no problem if called it directly.  (please try not to top post) >      From: Lukasz

Re: struts2 json return null if involve hibernate or spring

2014-10-27 Thread john lee
the delete itself has no problem if called it directly.  From: Lukasz Lenart To: Struts Users Mailing List Sent: Monday, October 27, 2014 2:46 AM Subject: Re: struts2 json return null if involve hibernate or spring 2014-10-27 3:55 GMT+01:00 john lee : >  is hibernate

struts2 json return null if involve hibernate or spring

2014-10-26 Thread john lee
is hibernate dao manipulation could affect struts 2 json return? or spring framework could affect struts2 json return? my program's struts2 json execution is success if not involve dao or spring call. but if involve hibernate/spring/dao manipulation, then json return is null and not returned. st

Re: FYI: Email Field Validator Always Fails in iOS 7 Safari Browser

2014-10-13 Thread John Boyer
validation service and it’s available at https://github.com/johnboyer/mailgun-manager John Boyer rodaxsoft.com On Oct 12, 2014, at 9:57 AM, Lukasz Lenart wrote: > 2014-10-11 4:20 GMT+02:00 John Boyer : >> Hi All: >> >> We’re using the latest version of Struts 2 in production and

FYI: Email Field Validator Always Fails in iOS 7 Safari Browser

2014-10-10 Thread John Boyer
. true Email address is invalid Incidentally, the XML email validator works fine in Safari for Mac OS X. Have a nice weekend. Regards, John Boyer rodaxsoft.com

Re: s:textfield jquery can not change placeholder

2014-07-25 Thread john lee
Thanks Chris.   It is solved after apply ID     On Friday, July 25, 2014 3:04 PM, Chris Pratt wrote: Make sure you set the "id" attribute on the s:textfield if you're going to refer to it that way using jQuery.   (*Chris*) On Fri, Jul 25, 2014 at 12:30 PM, john lee wr

s:textfield jquery can not change placeholder

2014-07-25 Thread john lee
;).val('XXX');     and $('#partid').text('XXX');   s:textfield's placeholder impossible for jquery to change, is struts2 limition or bugs?   thanks in advance   john *    <%@ taglib prefix="

Re: How to implement multi tenancy with separate database in struts and hibernate?

2014-07-08 Thread john feng
Oracle 12c should fit your needs. Unless you want to recreate this feature by your self. On Tue, Jul 8, 2014 at 5:36 AM, Kevin Peterson wrote: > Hi, > > We have an application wherein we want to keep separate database for each > client. We want to achieve this using multi tenancy approach. A wo

Re: struts2 s:url call action method

2014-06-27 Thread john lee
Hi Dave, How to verify ? thanks in advance John On Friday, June 27, 2014 4:04 PM, Dave Newton wrote: Do you have dynamic method invocation turned on? On Fri, Jun 27, 2014 at 4:34 PM, john lee wrote: > > > I try to use s:url to call action's method, but not works,

struts2 s:url call action method

2014-06-27 Thread john lee
n!add?partid=1508, shows no resource is available so, what is the correct way/syntax to use s:url tag to call action's method ? thanks in advnce john *** 3 files  (  CartAction.java, Cart.jsp, Struts.xml )

Re: Struts2 namespace confusion

2014-05-24 Thread John Patrick
Not seen this happen myself, what struts jar's do you have as it might be something like the convention plugin... If your using maven then it might be useful for others to include what specific maven dependencies your including so potentially someone else can try using the exact same jars.

Unable to Find FreeMarker Template in Struts 2.3.16.2

2014-05-01 Thread John Boyer
elow, if that helps. Thank you for your time in advance. Regards, John Boyer <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<&l

Re: How to Prevent Double Submits After Upgrading to Struts 2.3.16.2

2014-04-30 Thread John Boyer
I can confirm that setting devMode to `false` suppresses the token error. I should have looked more closely at the error message because it contained the solution. Thank you, John Boyer On Apr 29, 2014, at 10:02 PM, Lukasz Lenart wrote: > Switch off devMode and check again. > > 201

Re: How to Prevent Double Submits After Upgrading to Struts 2.3.16.2

2014-04-29 Thread John Boyer
on 'token' with value ['1GO4EYXDWVOD8UQYOBQT3KU0H7SRZED', ] I changed my configuration to be consistent with the examples; however, that didn't seem to make a difference. What am I missing here? Am I supposed to add a token

How to Prevent Double Submits After Upgrading to Struts 2.3.16.2

2014-04-29 Thread John Boyer
EB-INF/jsp/input.jsp http://example.com ... --- Thank you for your time. John Boyer - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For

How to Resolve excludeParams Restriction when Upgrading to Struts 2.3.16.2

2014-04-28 Thread John Boyer
ow can I fix this problem? --- /WEB-INF/jsp/success.jsp --- Thanks for your time. John Boyer - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Why do I get this XHTML validation errors?

2014-03-06 Thread John Patrick
try pastebin.com or gist.github.com as they do syntax highlighting and saves people having the whole xml blob in an email, also line numbers can be commented upon correctly as it might be different depending what your viewing it in. On 6 March 2014 13:04, Fredrik Andersson wrote: > Yes you are

StrutsTestCase issues with basic jsp via convention plugin

2014-02-23 Thread John Patrick
ectly, i.e. $ mvn clean install ; $ mvn jetty:run ; $ curl http://localhost:8080/hello-world Any ideas, or is this a potential issue/bug with struts2-junit-plugin? Cheers, John

struts2 jquery sj:tabbedpanel remoteurl

2013-11-19 Thread john lee
I use sturs2 jquery  sj:tabbedpanel with remoteurl feature, it works fine. But, the remote url is called when did initiala load, how can I disable initial load for remote url? i just want to load(tab1 with remote URL) when i click it. thanks in advance John *                      

Struts 2, session, s:iterator s:if not working, please help (this is revised)

2013-11-18 Thread john lee
from the following output,    we can tell sell_price=36.97, display_price=1 why    none of test statement works ? please advise, thanks in advance john   Class Part { float sell_price;     int display_price;     ./*..get set here

s:if iterator session problem

2013-11-18 Thread john lee
  from the following output,    we can tell sell_price=36.97, display_price=1   why    none of test statement works ?     please advise, thanks in advance   john       Class Part { float sell_price;     int display_price;     ./*..get set here

Re: sj:tabbedpanel javascript

2013-08-09 Thread john lee
the attribute selectedTab of sj:tabbedpanel's attrubte "selectedTab", but not working.   >        >        >        >        Accessories here >        Replacement Parts here >        Cross Reference here >    Please advise   thanks again   john     

Re: sj:tabbedpanel javascript

2013-08-09 Thread john lee
thanks for reply,   i did view source before ask question here, but sj:tabbedpanel convert into jquery, even view source, still not match.   john From: Chris Pratt To: Struts Users Mailing List ; john lee Sent: Friday, August 9, 2013 12:43 PM Subject: Re

sj:tabbedpanel javascript

2013-08-09 Thread john lee
  try to using javascript to set sj:tabbedpanel's attribute, but not working   what is the correct format for access attribute sj:tabbedpanel's atrtribute in javascript?   thanks in advance   John         function setpartmoreinfo(id) {     $("#Cross").tabs( "optio

Re: [struts 2] java.io.FileNotFoundException: http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd

2013-08-07 Thread John Boyer
Hi Srikanth: That fixed it. Thank you! John On Aug 7, 2013, at 10:41 AM, Sreekanth S. Nair wrote: > use this > >"-//Apache Struts//XWork Validator 1.0.2//EN" > "http://struts.apache.org/dtds/xwork-validator-1.0.2.dtd";> >

Re: [struts 2] java.io.FileNotFoundException: http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd

2013-08-07 Thread John Boyer
Hi Martin: Okay, but my validation XML is pointing to http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd, which is no longer available. What should it point to now? Thanks, John --- http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd

[struts 2] java.io.FileNotFoundException: http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd

2013-08-07 Thread John Boyer
Hi: Suddenly, in-production, we're getting file-not-found errors for the xwork-validator-1.0.2.dtd at http://www.opensymphony.com/xwork. How can resolve this problem? We're running Struts 2 v2.3.4.1 Thanks, John - 10:01:18 ERROR h

Re: sj:a json return result question

2013-08-06 Thread john lee
Dave,   Thanks your very much, it works very well   brw, the book you wrote/published, i had it.   john     From: Dave Newton To: Struts Users Mailing List ; john lee Sent: Tuesday, August 6, 2013 11:26 AM Subject: Re: sj:a json return result question

sj:a json return result question

2013-08-06 Thread john lee
the render return result/display is the following      TOTAL # PARTS  {"JSON":"success","sum":310}     I only expect result of 310 get returned, why heading info also get returned? obvioulsy, even did not working.   how can i just display 310 only?   thanks in advance   john

s:select detail question for preselected

2013-08-02 Thread john lee
rayList();       why="Temperature";       return success;     }   public String getJSON()  throws Exception  {    return execute();  }   please advise,   thanks in advance   john

sj:select default value not load

2013-08-02 Thread john lee
y" to value="%{why}", but still not working,   the setting inside  KeywordcategoryAction is the following    ...     public String getWhy(String why) { return why; }     public void setWhy(String why) { this.why=why; }     why="Temperature";     return success;     please advise, thanks in advance   john

Re: s:property display INTERGER

2013-07-29 Thread john lee
SSCCE ? what u refer to? From: Dave Newton To: john lee Cc: Struts Users Mailing List Sent: Monday, July 29, 2013 10:04 PM Subject: Re: s:property display INTERGER Please put an SSCCE on github/equivalent; I'm very skeptical. On Mon, Jul 29,

Re: s:property display INTERGER

2013-07-29 Thread john lee
No, inside the action, before the return, I do      detailpart.getQty().intValue(), return is 1, /* have value inside */   thanks for reply, any other thoughts?   john From: Dave Newton To: Struts Users Mailing List ; john lee Sent: Monday, July 29, 2013 9

s:property display INTERGER

2013-07-29 Thread john lee
, but nothing either       so, how to display/convert  object inside value ?   thanks in advance   john

struts2 action return to invoker jsp, but jsp value not change

2013-07-27 Thread john lee
ck to same page,    qty is null   do not understand at all. if I redirect to different page, and qty can retrieve for no problem at all.   does struts can not postback after reset the same variable ?   thanks in advance   john

s:interator s:div not working

2013-07-21 Thread john lee
ot; href=javascript:toggle("")>SHOW                the purpose for using s:div inside s:iterator is hide/show "detail"     please help   thanks in advance   john

Re: s:url pass arraylist object possible?

2013-07-19 Thread john lee
x27;d need to use the same indexed format as form fields-all you can send from the browser are strings. On Jul 19, 2013 5:11 PM, "john lee" wrote: > > > I have no problem to iterator the arrarylist > > > >  < > > > but if i want to pass ar

s:url pass arraylist object possible?

2013-07-19 Thread john lee
I have no problem to iterator the arrarylist  < but if i want to pass arraylist parts back to action, can i do following?                                                 Keyword Process thanks in advance john

struts2 jquery plugin

2013-07-12 Thread john lee
ontents of 'Section 1" ? i just try to use string "Section 1, google" to replace "Section 1", but render result only display text, but not link. please advise thanks in advance john

Re: struts s:property

2013-07-10 Thread john lee
thanks, it works the format is  From: Dave Newton To: Struts Users Mailing List Sent: Wednesday, July 10, 2013 10:17 PM Subject: Re: struts s:property Escape it. Check out the tag Docs. On Jul 10, 2013 11:16 PM, "john lee" wrote: >

struts s:property

2013-07-10 Thread john lee
in my application, the following newline charactor never happen.   how to let above take effect? thanks john

struts2 jquery s:div resize feature

2013-07-09 Thread john lee
It return/display garbage char  from image, really have no idea why this happen, because regular call  http://localhost/ecommerce/ImageAction?imageId=darksouls.jpg works perfect.      any trick to use s:j:div resize feature? thanks in advance john

Re: class has set member, how s:iterator to access it?

2013-07-02 Thread john lee
I use Lucas's suggestion, but still can not get value out please advise how to get list member of an class from stack. thanks in advance john                                     From: john lee To: struts support Sent: Friday, June 28, 2013 11:

class has set member, how s:iterator to access it?

2013-06-28 Thread john lee
 {component(subset) } of parts,  failed.                                                                                                                                                                            Please advise how to make  set member (partxref) of Part  works, thanks in advance john

how to acess sublist of list from s:iterator

2013-06-28 Thread john lee
to make section works, thanks in advance john

OGNL s:interator index problem

2013-06-26 Thread john lee
struts2's OGNL looks like more complicate. please advise thanks in advance john

Re: multiple form s:fielderror mesg cross over, how to solve?

2013-06-19 Thread john lee
Thanks Chester,     the  fieldName attribute is good remind,  that is what i am looking for. From: Chester Twomey To: Struts Users Mailing List ; john lee Sent: Wednesday, June 19, 2013 9:02 AM Subject: Re: multiple form s:fielderror mesg cross over, how to

multiple form s:fielderror mesg cross over, how to solve?

2013-06-18 Thread john lee
lds  place,  how to solve it? or that is struts 2 bug? please help thanks in advance john

multiple s:form cause validation not working, pls help

2013-06-14 Thread john lee
 i need to have multiple on single web page, when  any single form's validation triggered, then and displayed at multiple form's textfields  place,  how to solve it? or that is struts 2 bug? please help thanks in advance john

1 page multiple form's fields validation problem

2013-06-14 Thread john lee
      can not associate with its embed form, how to solve that?   is that struts2 bug? tks in advance john * source code                                                                                                      f

Re: how interceptor knowing invoke's class name?

2013-06-09 Thread john lee
tks chris, that is what i want to know From: Chris Pratt To: Struts Users Mailing List ; john lee Sent: Sunday, June 9, 2013 9:55 PM Subject: Re: how interceptor knowing invoke's class name? The interceptor is called by Struts, not by the Action.

how interceptor knowing invoke's class name?

2013-06-09 Thread john lee
in struts2 , defined an interceptor, it triggered by Action, my question is   inside the interceptor class, what is the function call that can tell caller's name, because that interceptor could be triggered by different Action, we need to log the caller's name, but how? thanks  john

struts2 s:button

2013-05-28 Thread john lee
pache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:199)         at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1215) i check the reference, s:button is valid, if so, why not receive the error at above please advise  john

Re: struts2 Intercepter Actioncontext

2013-05-24 Thread john lee
efore proceeding too much further-it'll save some time in the long run. Also note that it's often faster to just try something. Dave On May 24, 2013 3:17 PM, "john lee" wrote: > > > In an cutomized Struts2 Intercepter class, > >    public class SecurityVerifySessionI

struts2 Intercepter Actioncontext

2013-05-24 Thread john lee
extends AbstractInterceptor for use interceptor, certainly i can not extends ActionSupport any more.     then how can i access ServletActionContext in the interceptor?     without extends Actionsupport, can i get ServletActionContext from ActionContext? how to convert? please advise john

Re: struts 2 Intercepter ServletRequestAware

2013-05-23 Thread john lee
in the interceptor,  in order to access ServletActionContext, in the interceptor class, which interface should be implement? tks in advance john From: Chris Pratt To: Struts Users Mailing List ; john lee Sent: Thursday, May 23, 2013 6:25 PM Subject: Re

Re: struts 2 Intercepter ServletRequestAware

2013-05-23 Thread john lee
because if cookie exist, then interceptor can catch it and assign the session object if user open the new webpage. From: "jlm...@gmail.com" To: Struts Users Mailing List ; john lee Sent: Thursday, May 23, 2013 6:25 PM Subject: Re: struts 2 I

Re: struts 2 Intercepter ServletRequestAware

2013-05-23 Thread john lee
thanks, so, how can I access Cookie in the interceptor? as my knowledge, to access cookie, i have to get Servlet first, then get Request object, then access Cookie.. please advise  john From: Chris Pratt To: Struts Users Mailing List ; john lee Sent

Re: struts 2 Intercepter ServletRequestAware

2013-05-23 Thread john lee
, not interceptors. On May 23, 2013 5:51 PM, "john lee" wrote: > it is interceptor, the following is struts.xml, (i just not include last > time) > > >  > >        >              class

Re: struts 2 Intercepter ServletRequestAware

2013-05-23 Thread john lee
                            From: Dave Newton To: Struts Users Mailing List Sent: Thursday, May 23, 2013 4:31 PM Subject: Re: struts 2 Intercepter ServletRequestAware That interface is for actions, not interceptors. On May 23, 2013 5:30 PM, "john lee" wrote:

struts 2 Intercepter ServletRequestAware

2013-05-23 Thread john lee
object can not be implemented? if can, why i get null?  thanks in advance john  public class SecurityVerifySessionIntercepter extends AbstractInterceptor implements ServletResponseAware, ServletRequestAware {          protected HttpServletResponse servletResponse;     public void

Re: Cookie in struts2

2013-05-15 Thread john lee
thanks, in my program, after i import it, the compile error is gone. From: Chris Pratt To: Struts Users Mailing List Cc: john lee Sent: Wednesday, May 15, 2013 4:54 PM Subject: Re: Cookie in struts2 Ah, my bad, you are correct, Dave. John, like Dave

return Action.LoginAction;

2013-05-15 Thread john lee
;   which library i should include to use the global variable of Action ? thanks in advance john import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import com.opensymphony.xwork2.ActionContext; import com.opensymph

Cookie in struts2

2013-05-15 Thread john lee
-static method getCookies() cannot be referenced from a static context   Cookie cookieList[]=HttpServletRequest.getCookies(); please advise thanks in advance john

Re: struts 2 ajax choice

2013-05-13 Thread john lee
Dave, so, as your experience, which one u recommend to use? JSON or S2Jquery? thanks in advance john  From: Dave Newton To: Struts Users Mailing List Cc: john lee Sent: Monday, May 13, 2013 5:03 PM Subject: Re: struts 2 ajax choice On Mon

Re: struts 2 ajax choice

2013-05-13 Thread john lee
So, JSON is the only choice ? thanks john From: Paul Benedict To: Struts Users Mailing List ; john lee Sent: Monday, May 13, 2013 4:43 PM Subject: Re: struts 2 ajax choice Please note the Dojo plugin is deprecated. On Mon, May 13, 2013 at 4:42 PM

struts 2 ajax choice

2013-05-13 Thread john lee
from the document, Struts 2 support both DoJo plugin and JSON plugin, which one is easy to plugin and use? which one is more powerful? thanks in advance john

struts 2 / sitemesh/

2013-05-09 Thread john lee
  alpha:/var/apache-tomcat-7.0.34/webapps/ecommerce # cat partsearchinput.jsp <%@ taglib prefix="s" uri="/struts-tags"%> the above code works, and verified by http://localhost/ecommerce/partsearchinput.jsp but, after i start to use sitemesh, it has the problem as the following The Strut

struts 2 session question

2013-05-08 Thread john lee
the difference b/w session.put and session.setAttribute?   thanks in advance   john

struts 2 presentation layer

2013-03-11 Thread john lee
struts 2 presentation layer support JSP, freemaker  as i know. does it support PHP? what is the presentation layer it support? thanks john From: Martin Gainty To: Struts Users Mailing List Sent: Monday, March 11, 2013 5:33 AM Subject: RE: struts 2

struts 2 start problem struts2-gxp-plugin-2.3.7.jar

2013-03-10 Thread john lee
i try to start tomcat, but giving the following error Unable to load configuration... struts2-gxp-plugin-2.3.7.jar... in the CLASSPTH, i even did not load struts2-gxp-plugin-2.3.7.jar at all, why this happen? please advise thanks in advance john SEVERE: Dispatcher initialization failed

struts 2 session share

2013-03-10 Thread john lee
other words,we need to save sth(such as the accessary parts)  in his shopping cart.. any example? thanks in advance john 

Re: struts 2 validation if use with spring

2013-03-08 Thread john lee
? is this the only way to lett struts2/spring validation works? thanks so much in advance john From: Lukasz Lenart To: Struts Users Mailing List ; john lee Sent: Friday, March 8, 2013 7:27 AM Subject: Re: struts 2 validation if use with spring 2013/3/

Re: struts 2 validation if use with spring

2013-03-08 Thread john lee
Lukasz, thanks for your help, i just tried, but still not works any other suggestion? thanks in advance john From: Lukasz Lenart To: Struts Users Mailing List Sent: Friday, March 8, 2013 12:01 AM Subject: Re: struts 2 validation if use with spring

struts 2 validation if use with spring

2013-03-07 Thread john lee
XXXvalidation.xml for both matched psesuo action class name and actually class name, but looks like no one works. Is XXXvalidation.xml only works for struts2 actual class name only? But not works if used in struts2/spring proxy action forward? Pelase   advise.   john     alpha:/var/apache-tomcat

  1   2   3   4   5   6   7   >