Re: HELP : Exception report ??
have u done any chnages in configuration file of the server... mostly .conf file... if so uncomment those changes or recover file from backup and try again cheers kets - Original Message - From: Damien VIEL [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, May 10, 2002 2:53 PM Subject: HELP : Exception report ?? Hi, When I'm submitting my form, I've got this error and I can't find the solution !! Help-me :) Thanks All Dams -- -- --- type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: BeanUtils.populate at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:774) at org.apache.struts.action.ActionServlet.processPopulate(ActionServlet.java:20 61) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1564) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1012) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107 ) at java.lang.Thread.run(Thread.java:536) root cause java.lang.IllegalArgumentException: java.lang.ClassCastException@ff2e1b at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.struts.util.PropertyUtils.setSimpleProperty(PropertyUtils.java:98 8) at org.apache.struts.util.PropertyUtils.setNestedProperty(PropertyUtils.java:90 4) at org.apache.struts.util.PropertyUtils.setProperty(PropertyUtils.java:932) at org.apache.struts.util.BeanUtils.populate(BeanUtils.java:509) at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:772) at org.apache.struts.action.ActionServlet.processPopulate(ActionServlet.java:20 61) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1564) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at
Re: HELP : Exception report ??
explain what u have done... to recover to help all of us... share u experience cheers kest - Original Message - From: Damien VIEL [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, May 10, 2002 5:18 PM Subject: Re: HELP : Exception report ?? It's working now :) I've made a mistake ;) Dams - Original Message - From: Ketan Malekar [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, May 10, 1999 1:28 AM Subject: Re: HELP : Exception report ?? have u done any chnages in configuration file of the server... mostly .conf file... if so uncomment those changes or recover file from backup and try again cheers kets - Original Message - From: Damien VIEL [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, May 10, 2002 2:53 PM Subject: HELP : Exception report ?? Hi, When I'm submitting my form, I've got this error and I can't find the solution !! Help-me :) Thanks All Dams -- -- --- type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: BeanUtils.populate at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:774) at org.apache.struts.action.ActionServlet.processPopulate(ActionServlet.java:20 61) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1564) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1012) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107 ) at java.lang.Thread.run(Thread.java:536) root cause java.lang.IllegalArgumentException: java.lang.ClassCastException@ff2e1b at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324
Re: The Struts-way Problem......
hi, try to pass random value with the link to jsp... like http://myserver:8080/myJsp.do?rand=3n3432njrejk34... u can create this with javascript u can create random number using Math.rand() function... hope this will work cheers Kets - Original Message - From: Spencer Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 03, 2002 12:00 AM Subject: The Struts-way Problem.. I was just thinking about how the Struts-way is to have everything go through an Action class first and then redirect to a jsp. If you do this, then the following problem could occur: If you are on Page A which contains a list of users and one of the columns is Gender for example, and you leave the page to another to change the gender of user X, and then use the Browser's back button to go back back to the list page. If you then hit refresh, the user list will still show the old Gender for user X. This is because the Action is not called at this point, only the jsp is refreshed. Does anyone know of a Struts-way to fix this? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: problem in refreshing
open ur second jsp in a separate window and make it child of first window in the close event of child refresh frame of first window hope this will work if needed pls feel free to ask code.. cheers kets - Original Message - From: Narasimha Rao [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 06, 2002 8:02 PM Subject: problem in refreshing hi, i have stuck with a problem,The scenario goes like this. 1)I have a jsp page(first jsp) which shows partly details of some user information.when user clicks on register button then he will move to another jsp where there he will be entering some details,in that jsp(second jsp)if he presses the save ,the page directs to another jsp where it will show the details of the saved information.in that page the if the user clicks on the close button,he will be directed to first page .The problem is when he clicks on the close button the data in the first page has to be refreshed.The first page has one controller and the second,third have another controller.so how to refresh the data in one controller from other controller or how to submit two different actions for the button,one after the other9depending on validations).hope u understood the problem.please try to help me out regards narasimha -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: *** URGENT Help needed ****
hi Reid, Why do u need java? to download gif's? I didnt get what exactly u want to do... Well, if u want to download gif's from java application and want to call java application from VB then this can be done if ur requirement is like this, just let me know and If the task is only to download gif's then that can be done in VB also. repost ur queries with details cheers Ketan - Original Message - From: Reid Tardy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 03, 2002 4:59 PM Subject: *** URGENT Help needed Dearest Struts Gurus, My name is Reid Tardy. This may be a bit off topic but I need all of you all to drop what you are doing and help me right now. I am trying to modify the Struts example to run on a machine with VB instead of Java. I also want to be able to download gif files into Lotus Notes. I have never used Java before but since I hold an AA in make-up application, an AS in auto mechanics, an AS in massage therapy, a BA in history, an MA in 20th-Century Bulgarian Literature with a minor in sword fighting, a PHD in Political Science from a college somewhere in Newfoundland and numerous continuing ed certificates. I have spent the better part of ten minutes trying to get it to work but it doesn't. My browser don't shows anything ... it don't even show an exception. I haven't bothered to look at the documentation. One last question, do I need some thing like TomCat? What is a TomCat anyway? Could you tell me how to install one if I need it? Please help immediately but not too fast because I am going for beers soon. Many thanks and kind regards, Reid P.S. By the way, James and Mark you both suck more than Micael because you haven't answered my question before I posted it. _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Question !!
hi Reshma, add hidden field in every row which will contain unique id to identify the row. and in submit of delete action pass the unique row number to ur bean which will accept a parameter and will delete the record from the database. u need small javascript too for this... thanx Ketan Malekar - Original Message - From: reshma deshpande To: [EMAIL PROTECTED] Sent: Saturday, May 04, 2002 1:42 AM Subject: Question !! hi all .. plz see the attached file (gif) for my Question .. that is what i am basically doing for this usecase there are 2 text boxes (where u can add in values) and later delete them if you wish to. B#1 and B#2 are the add and delete buttons. the add part is fine with me... wherein i am getting the values of A and B using the ActionForm getters and then adding those to the ValueObject using one of its methods such as addToVo(val A, val B) this is possible since i am able to get the values to be added (ie- values of A and B from the text box directly). However, this is not possible in case of delete... i dont understand how to pass in the corresponding values of A and B to be deleted when the user clicks in a delete button... The solution might involve a hashtable, index etc etc ... but plz explain it to me in as much details possible .. (and, simpler the solution better it is :-) ) ... this is my first usecase in struts !! Thanks! Reshma -- Do You Yahoo!? Yahoo! Health - your guide to health and wellness -- -- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Help this newbie......
hi All, I want to use struts framework in my upcoming project. I ve gone thr' the documentation and it looks very impressive.. Ive downloaded examples given and are working fine on Tomcat with JBuilder. But frankly I didnt understand the flow... like whos calling whom. How link of registration.do redirects to registration.jsp? Can anbody please exaplain me the flow. I would really apreciate if u reply. please help this newbie. Cheers Ketan _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Help this newbie......
hi didnt understand ur reply? Please repost it... From: James Mitchell [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Help this newbie.. Date: Tue, 30 Apr 2002 09:27:22 -0400 Where ya at Mark? -Original Message- From: Ketan Malekar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 9:21 AM To: [EMAIL PROTECTED] Subject: Help this newbie.. hi All, I want to use struts framework in my upcoming project. I ve gone thr' the documentation and it looks very impressive.. Ive downloaded examples given and are working fine on Tomcat with JBuilder. But frankly I didnt understand the flow... like whos calling whom. How link of registration.do redirects to registration.jsp? Can anbody please exaplain me the flow. I would really apreciate if u reply. please help this newbie. Cheers Ketan _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Struts with JBuilder6.0 and Tomcat
hello friends, Im using JBuilder 6.0 and have downloaded Struts Wizard for JBuilder6.0 (JBuilderStrutsWizard.jar). And included in the lib directory. Now I can successfully JSP and corresponding beans through wizard but after deploying it gives following error message: --- javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459) at f_00025rm._0002fform_0002fregions_0002ejspregions_jsp_0._jspService(_0002fform_0002fregions_0002ejspregions_jsp_0.java:187) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130) Has anybody encountered the same problem? Or something Im forgetting to do? Please guide me for the same. Thanx in advance Ketan Malekar
javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection
hi All, I am new to Struts. Im getting this error. Im using JBuilder 6 and Tomcat: javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459) at f_00025rm._0002fform_0002fregions_0002ejspregions_jsp_0._jspService(_0002fform_0002fregions_0002ejspregions_jsp_0.java:187) -- what this error exactly is? Please help thanx in advance cheers Ketan