Re: Solution for java.lang.RuntimeException: Invalid action class configuration that references an unknown class named
Hi Chris, Thanks for your reply. I am using xml configurations. This is my jsp file http://old.nabble.com/file/p27302779/pandavDatPa_create.jsp pandavDatPa_create.jsp . This is my action class http://old.nabble.com/file/p27302779/PandavDatPaActions.java PandavDatPaActions.java This is my action file which has been included in struts.xml http://old.nabble.com/file/p27302779/pandavActions.xml pandavActions.xml This is applicationcontext for this module http://old.nabble.com/file/p27302779/applicationContext-pandav.xml applicationContext-pandav.xml . I have checked this file loading properly when application starts. Chris Mawata wrote: > > You will need to give more information than just that it is the fourth > method! For starters, how is > your action configured (annotations? XML?). Show some code. Also, does > your action class > really start with a lower case p? > Chris > > nani2ratna wrote: >> Hi, >> >> I am keep getting the error >> java.lang.RuntimeException: Invalid action class configuration that >> references an unknown class named [pandavDatPaAction]. >> >> I have 4 methods in this action class. >> I am calling different methods for different actions. >> But for 4th one i am getting this error. >> I dont know why its getting error for fourth one. Fiirst 3 actions are >> runninh properly without any hassles of the same class. >> >> Can anybody have solution for it. >> >> Thanks and Regards >> RS >> >> >> >> > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://old.nabble.com/Solution-for-java.lang.RuntimeException%3A-Invalid-action-class-configuration-that-references-an-unknown-class-named-tp27300245p27302779.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Passing 2 objects of same class to jsp
Hi Chris, Thank you very much. You are absolutely correct, it is reffered to another object. I dont know how i forgot this. Thanks once again. Thanks and regards RS Chris Mawata wrote: > > Check the logic to see that you really have two objects (or two > identifiers holding references to > the same object). Do you actually create a copy of the object or just > create a new identifier? > > nani2ratna wrote: >> Hi, >> >> I am using struts 2.1.8.1 and spring 2.5.6 with Ibatis and oracle as db. >> I have 114 properties in my java bean(ProdmDatPm.java) and i need to show >> all of them in jsp page as editable fields. >> i got property ProdmDatPm class object in Action class. >> >> I need to track which fields got changed in jsp. >> Before going to editable jsp page i am putting this object in session >> with >> different property name. >> So after edit action i can get from session and compare the properties of >> these 2 objects(one in session and another from after edit). >> >> But both are showing the value after edit. >> IN jsp i am using like this >> > key="pminfo.item_secondary_name"/> >> > key="prodmDatPm.item_secondary_name" >> id="prodmDatPm.item_secondary_name" size="60"/> >> >> So prodmDatPm is the object name of class ProdmDatPm.java in action >> class. >> >> Now when i check after edit action, the object in session also showing >> the >> values after the properties getting changed. >> >> Why is this happening. >> Can anybody explain. >> >> Thanks and Regards >> RS >> >> >> > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://old.nabble.com/Passing-2-objects-of-same-class-to-jsp-tp27292773p27302704.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 / Spring not working a a WAR in Weblogic9.1
Hi All, I am new to struts2+spring and i am just trying to learn. I have added following in web.xml. struts2 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter struts2 /* org.springframework.web.context.ContextLoaderListener org.apache.struts2.tiles.StrutsTilesListener org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG /WEB-INF/tiles.xml In struts.xml, http://struts.apache.org/dtds/struts-2.0.dtd";> /jsp/Login.jsp /jsp/Home.jsp /jsp/Home.jsp /jsp/Login.jsp /jsp/Login.jsp /jsp/Home.jsp In Login.jsp, After deplying this application, if i access localhost:8080/appname/ It goes to login page and after entering the credential, if i click Login button, the corresponding action class gets called after looking into spring's applicationCotext.xml. But if i access the loging page agin and hits the Login button, i am getting the following error. HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception java.lang.RuntimeException: Invalid action class configuration that references an unknown class named [loginAction] org.apache.struts2.convention.ConventionsServiceImpl.determineResultPath(ConventionsServiceImpl.java:100) org.apache.struts2.convention.ConventionUnknownHandler.determinePath(ConventionUnknownHandler.java:385) org.apache.struts2.convention.ConventionUnknownHandler.handleUnknownResult(ConventionUnknownHandler.java:274) com.opensymphony.xwork2.DefaultUnknownHandlerManager.handleUnknownResult(DefaultUnknownHandlerManager.java:76) com.opensymphony.xwork2.DefaultActionInvocation.createResult(DefaultActionInvocation.java:215) com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:356) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:266) com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:252) org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:179) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:235) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:89) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:130) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:126) com.opensymphony.xwork2.Default
Re: Solution for java.lang.RuntimeException: Invalid action class configuration that references an unknown class named
You will need to give more information than just that it is the fourth method! For starters, how is your action configured (annotations? XML?). Show some code. Also, does your action class really start with a lower case p? Chris nani2ratna wrote: Hi, I am keep getting the error java.lang.RuntimeException: Invalid action class configuration that references an unknown class named [pandavDatPaAction]. I have 4 methods in this action class. I am calling different methods for different actions. But for 4th one i am getting this error. I dont know why its getting error for fourth one. Fiirst 3 actions are runninh properly without any hassles of the same class. Can anybody have solution for it. Thanks and Regards RS - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Solution for java.lang.RuntimeException: Invalid action class configuration that references an unknown class named
Hi, I am keep getting the error java.lang.RuntimeException: Invalid action class configuration that references an unknown class named [pandavDatPaAction]. I have 4 methods in this action class. I am calling different methods for different actions. But for 4th one i am getting this error. I dont know why its getting error for fourth one. Fiirst 3 actions are runninh properly without any hassles of the same class. Can anybody have solution for it. Thanks and Regards RS -- View this message in context: http://old.nabble.com/Solution-for-java.lang.RuntimeException%3A-Invalid-action-class-configuration-that-references-an-unknown-class-named-tp27300245p27300245.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Passing 2 objects of same class to jsp
Check the logic to see that you really have two objects (or two identifiers holding references to the same object). Do you actually create a copy of the object or just create a new identifier? nani2ratna wrote: Hi, I am using struts 2.1.8.1 and spring 2.5.6 with Ibatis and oracle as db. I have 114 properties in my java bean(ProdmDatPm.java) and i need to show all of them in jsp page as editable fields. i got property ProdmDatPm class object in Action class. I need to track which fields got changed in jsp. Before going to editable jsp page i am putting this object in session with different property name. So after edit action i can get from session and compare the properties of these 2 objects(one in session and another from after edit). But both are showing the value after edit. IN jsp i am using like this So prodmDatPm is the object name of class ProdmDatPm.java in action class. Now when i check after edit action, the object in session also showing the values after the properties getting changed. Why is this happening. Can anybody explain. Thanks and Regards RS - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: How to remove layout of tags in form
Thank a lot. It works. 2010/1/24 Gustavo Felisberto > Add theme="simple" to the s:form tag. > > Sent from my iPhone > > > On 2010/01/24, at 07:14, Vu Hong Thuan wrote: > > Hi all. >> I want to custom the layout of my form which use struts tags. >> I insertet html tags into form as the following code. But when I view the >> result final. All html tags is pulled out of the form. >> How i can insert html code inside a struts form? >> Thanks. >> >> >> >> >> >> >> > >> id="formuleColorHid0"> >> >> xin chao >> >> >> >> >> >> >> >> - >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> >> > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >
Re: How to remove layout of tags in form
Add theme="simple" to the s:form tag. Sent from my iPhone On 2010/01/24, at 07:14, Vu Hong Thuan wrote: Hi all. I want to custom the layout of my form which use struts tags. I insertet html tags into form as the following code. But when I view the result final. All html tags is pulled out of the form. How i can insert html code inside a struts form? Thanks. name="formuleExp0"/> id="formuleColorHid0">s:hidden> xin chao name="formuleExp1"/> - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org