S2 - custom tag with Spring

2013-12-03 Thread Steven Yang
Hi I am writing some custom tags. I want to access some resource from Spring. Is there a clean way of doing it, instead of getting the ApplicationContext in the Components? Will @Inject work for non-Struts values? Or @Autowire will work as well? I am using the spring plugin. Thanks

Re: ERROR Dispatcher:27 - Could not find action or result No result defined for action com.xinghen.view.action.GoodAction and result input

2013-12-03 Thread Lukasz Lenart
I don't understand what you're talking about ... Missing label shouldn't be a problem 2013/12/3 xinghen : > i used bean.attrName in the jsp instead of modelDriven , but i'm > confused about if i don't define some struts lable that define in the bean > , the web work can't work ... > > > 201

Re: ERROR Dispatcher:27 - Could not find action or result No result defined for action com.xinghen.view.action.GoodAction and result input

2013-12-03 Thread xinghen
i used bean.attrName in the jsp instead of modelDriven , but i'm confused about if i don't define some struts lable that define in the bean , the web work can't work ... 2013/12/3 Lukasz Lenart [via Struts] < ml-node+s1045723n5714838...@n5.nabble.com> > 2013/12/3 xinghen <[hidden > email]

Re: ERROR Dispatcher:27 - Could not find action or result No result defined for action com.xinghen.view.action.GoodAction and result input

2013-12-03 Thread Lukasz Lenart
It shouldn't be a problem - this depends on how have you set up validation 2013/12/3 xinghen : > i think my problems is use the modelDriven , Whether the attribute Bean > inside the must and form one one?i define some attribute in Bean ,but > not in form , is this the problem ? > > > > --

Re: ERROR Dispatcher:27 - Could not find action or result No result defined for action com.xinghen.view.action.GoodAction and result input

2013-12-03 Thread xinghen
i think my problems is use the modelDriven , Whether the attribute Bean inside the must and form one one?i define some attribute in Bean ,but not in form , is this the problem ? -- View this message in context: http://struts.1045723.n5.nabble.com/struts2-action-error-tp5714825p5714834.h

Re: ERROR Dispatcher:27 - Could not find action or result No result defined for action com.xinghen.view.action.GoodAction and result input

2013-12-03 Thread xinghen
i think my problems is use the modelDriven , Whether the attribute Bean inside the must and form one one?i define some attribute in Bean ,but not in form , is this the problem ? 2013/12/3 xinghen [via Struts] > this is the listener : > > > > org.springframework.web.context.ContextLoade

Re: ERROR Dispatcher:27 - Could not find action or result No result defined for action com.xinghen.view.action.GoodAction and result input

2013-12-03 Thread Lukasz Lenart
2013/12/3 xinghen : > i have meet a problem, when commit the form appear the error : ERROR > Dispatcher:27 - Could not find action or result No result defined for action > com.xinghen.view.action.GoodAction and result input I have missed out result name => input means that there was some vali

Re: ERROR Dispatcher:27 - Could not find action or result No result defined for action com.xinghen.view.action.GoodAction and result input

2013-12-03 Thread Lukasz Lenart
2013/12/3 xinghen : > i have meet a problem, when commit the form appear the error : ERROR > Dispatcher:27 - Could not find action or result No result defined for action > com.xinghen.view.action.GoodAction and result input > > this is my struts.xml > > > name="sa

Re: ERROR Dispatcher:27 - Could not find action or result No result defined for action com.xinghen.view.action.GoodAction and result input

2013-12-03 Thread xinghen
this is the listener : org.springframework.web.context.ContextLoaderListener contextConfigLocation classpath:applicationContext*.xml struts2 org.apache.struts2.dispatcher.ng.filter.StrutsPrepar

Re: ERROR Dispatcher:27 - Could not find action or result No result defined for action com.xinghen.view.action.GoodAction and result input

2013-12-03 Thread Lukasz Lenart
Can you post web.xml? Struts version? 2013/12/3 xinghen : > i have meet a problem, when commit the form appear the error : ERROR > Dispatcher:27 - Could not find action or result No result defined for action > com.xinghen.view.action.GoodAction and result input > > this is my struts.xml >

ERROR Dispatcher:27 - Could not find action or result No result defined for action com.xinghen.view.action.GoodAction and result input

2013-12-03 Thread xinghen
i have meet a problem, when commit the form appear the error : ERROR Dispatcher:27 - Could not find action or result No result defined for action com.xinghen.view.action.GoodAction and result input this is my struts.xml /WEB-INF/jsp/usedGoodsAction/addUsedGood.

Re: security impact after enabling back the "action:" prefix in Struts 2.3.15.3

2013-12-03 Thread semog12
Hi, I have the same question. I have one form with two submit tags and if setting the constant 'struts.mapper.action.prefix.enabled' can bring security issues what is the possible solution? Thanks, André Gomes -- View this message in context: http://struts.1045723.n5.nabble.com/security-im

Re: Struts2 with extended achii character problem

2013-12-03 Thread Arpan
Hi Lukasz, Many thanks for pointing out the link. Putting <%@ page pageEncoding="utf-8" %> solves the problem. On Tue, Dec 3, 2013 at 12:24 PM, Lukasz Lenart wrote: > Have you used pageEncoding directive in JSPs? > > http://stackoverflow.com/questions/3596213/page-encoding-in-jsp > > > Regards