RE: New to struts, having an issue
Nevermind. LOL I forgot to remove the throw exception.. DUHH -Original Message- From: Bret Kumler [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 2:10 PM To: Struts Users Mailing List Subject: New to struts, having an issue Guys. I'm using JBOSS 3.2.3, struts 1.1. When I try to execute my action I get the following on my server stdout. I thought this was depricated and to use execute() java.lang.UnsupportedOperationException: Method perform() not yet implemented. at com.faid.qa.actions.viewDataAction.execute(viewDataAction.java:19) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces sor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 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:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrR ealm.java:220) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStat sValve.java:76) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoci ationValve.java:65) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:549) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:677) at java.lang.Thread.run(Thread.java:536)
Re: New to struts, having an issue
Bret, I'm using execute in all of my actions. You are implementing the execute action properly in your viewDataAction action class correct? Also you are properly extending Action? Posting some source code might help. -David - Original Message - From: Bret Kumler [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 3:09 PM Subject: New to struts, having an issue Guys. I'm using JBOSS 3.2.3, struts 1.1. When I try to execute my action I get the following on my server stdout. I thought this was depricated and to use execute() java.lang.UnsupportedOperationException: Method perform() not yet implemented. at com.faid.qa.actions.viewDataAction.execute(viewDataAction.java:19) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces sor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 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:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrR ealm.java:220) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStat sValve.java:76) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoci ationValve.java:65) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:197) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
RE: New to struts, having an issue
Conclusion: Your execute method is getting called... it is the one throwing the exception. (Or the exception gets thrown when it executes a helper object). See... com.faid.qa.actions.viewDataAction.execute(viewDataAction.java:19) Send the above line of code with surrounding code. Thought process Check the signature of you execute method. Perhaps the default execute method is getting called. Hmm. I looked line 484 of the RequestProcessor (from the stack trace that you sent). protected ActionForward processActionPerform(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ActionMapping mapping) throws IOException, ServletException { try { return (action.execute(mapping, form, request, response)); //484 } catch (Exception e) { return (processException(request, response, e, form, mapping)); } } It seems like it is trying to do the right thing. H.. The default impl of the execute method is as follows: public ActionForward execute(ActionMapping mapping, ActionForm form, ServletRequest request, ServletResponse response) throws Exception { // Call the deprecated method for backwards compatibility return (perform(mapping, form, request, response)); } As you can see it just calls the perform method. The perform method(s) are no ops. I searched the entire code base for the words... Method perform() not yet implemented. Nothing! Are you sure you are not subclassing a custom Action class? Wait... I see... dag nabbit a closer inspection of the stack trace reveals. Conclusion: Your execute method is getting called... it is the one throwing the exception. com.faid.qa.actions.viewDataAction.execute(viewDataAction.java:19) Send the above line of code with surrounding code. Rick Hightower Developer Struts/J2EE training -- http://www.arc-mind.com/strutsCourse.htm Struts/J2EE consulting -- http://www.arc-mind.com/consulting.htm#StrutsMentoring -Original Message- From: Bret Kumler [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 3:10 PM To: Struts Users Mailing List Subject: New to struts, having an issue Guys. I'm using JBOSS 3.2.3, struts 1.1. When I try to execute my action I get the following on my server stdout. I thought this was depricated and to use execute() java.lang.UnsupportedOperationException: Method perform() not yet implemented. at com.faid.qa.actions.viewDataAction.execute(viewDataAction.java:19) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces sor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 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:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrR ealm.java:220) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStat sValve.java:76) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
RE: New to struts, having an issue
I just saw your LOL. too funny I can't say I have never done anything like that. Let's both get some sleep, we need it. -Original Message- From: Richard Hightower [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 3:34 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: New to struts, having an issue Conclusion: Your execute method is getting called... it is the one throwing the exception. (Or the exception gets thrown when it executes a helper object). See... com.faid.qa.actions.viewDataAction.execute(viewDataAction.java:19) Send the above line of code with surrounding code. Thought process Check the signature of you execute method. Perhaps the default execute method is getting called. Hmm. I looked line 484 of the RequestProcessor (from the stack trace that you sent). protected ActionForward processActionPerform(HttpServletRequest request, HttpServletResponse response, Action action, ActionForm form, ActionMapping mapping) throws IOException, ServletException { try { return (action.execute(mapping, form, request, response)); //484 } catch (Exception e) { return (processException(request, response, e, form, mapping)); } } It seems like it is trying to do the right thing. H.. The default impl of the execute method is as follows: public ActionForward execute(ActionMapping mapping, ActionForm form, ServletRequest request, ServletResponse response) throws Exception { // Call the deprecated method for backwards compatibility return (perform(mapping, form, request, response)); } As you can see it just calls the perform method. The perform method(s) are no ops. I searched the entire code base for the words... Method perform() not yet implemented. Nothing! Are you sure you are not subclassing a custom Action class? Wait... I see... dag nabbit a closer inspection of the stack trace reveals. Conclusion: Your execute method is getting called... it is the one throwing the exception. com.faid.qa.actions.viewDataAction.execute(viewDataAction.java:19) Send the above line of code with surrounding code. Rick Hightower Developer Struts/J2EE training -- http://www.arc-mind.com/strutsCourse.htm Struts/J2EE consulting -- http://www.arc-mind.com/consulting.htm#StrutsMentoring -Original Message- From: Bret Kumler [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 3:10 PM To: Struts Users Mailing List Subject: New to struts, having an issue Guys. I'm using JBOSS 3.2.3, struts 1.1. When I try to execute my action I get the following on my server stdout. I thought this was depricated and to use execute() java.lang.UnsupportedOperationException: Method perform() not yet implemented. at com.faid.qa.actions.viewDataAction.execute(viewDataAction.java:19) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces sor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 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:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrR ealm.java:220) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.jboss.web.tomcat.tc4
Re: New to Struts !
you have to build a action-mapping in struts-config.xml, take a look at http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd to validate the struts-config.xml form to insert action-mapping just like: action type=com.struts.action.tiles.xxxAction validate=false scope=request path=/moduleListAction / i hope it can help you. :) - Original Message - From: Rama, Shreekantha (K.) [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, November 27, 2003 12:34 AM Subject: New to Struts ! Hi All, I am new to struts. I have the following lines of code in my jsp. logic:notEqual name=createForm property=baseXXXVO.method value=maintain % FORMTITLE=foms.create.title; % /logic:notEqual In struts-config.xml the entry is form-bean name=createForm type=com.xxx.action.createForm/ I am getting the error as Error 500: Cannot find bean createForm in any scope Any help ?? Regards Shree - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: new to struts
http://jakarta.apache.org/struts/learning.html is a good place to start. Sumit -Original Message- From: sanjay paithankar [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 2:47 PM To: [EMAIL PROTECTED] Subject: new to struts Hello can any one point the basic document regarding Struts which has given small examples. thnx -cs.. __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: new to struts
Programming Jakarta Struts By Chuck Cavaness -O'Reilly publication is a good book to start. SaravanaKumar -Original Message- From: Sumit S. [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 3:07 PM To: Struts Users Mailing List Subject: RE: new to struts http://jakarta.apache.org/struts/learning.html is a good place to start. Sumit -Original Message- From: sanjay paithankar [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 2:47 PM To: [EMAIL PROTECTED] Subject: new to struts Hello can any one point the basic document regarding Struts which has given small examples. thnx -cs.. __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: new to struts
can any one point the basic document regarding Struts which has given small examples. There's this amazing new search engine, called Google, which you can access at www.google.com. If you enter the words Struts Tutorial and click Search it will bring up a huge list of Struts related websites. Seriously though, you can find a raft of Struts tutorials here http://jakarta.apache.org/struts/resources/articles.html cheers Pratik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: new to struts
Good evening... -Original Message- From: Saravanakumar P [mailto:[EMAIL PROTECTED] Sent: November 11, 2003 4:38 AM To: Struts Users Mailing List Subject: RE: new to struts Programming Jakarta Struts By Chuck Cavaness -O'Reilly publication is a good book to start. that's the book i bought after reading (quickly) through Struts in Action (which we have two of at the office). The sales guy said Programming Jakarta Struts was the more advanced of the two (and Kickstart was the least advanced) but I have to say i found Struts in Action more informative; and now that i'm away from the office i'm kind of regretting not buying it instead. Schultz. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: new to struts
bye mastering struts . good book for basics as well as masters. try out.. abhijeet - Original Message - From: sanjay paithankar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 2:47 PM Subject: new to struts Hello can any one point the basic document regarding Struts which has given small examples. thnx -cs.. __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New to Struts
I love DynaForms. But you don't _need_ DynaForms to use Validation. But, I like being able to declare all my forms, and _not_ creating an ActionForm class for each form I create. -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 11:23 AM To: [EMAIL PROTECTED] Subject: New to Struts Hi all, I'm relatively new to struts, have used Forms before and am thinking of switching to use DynamicActions instead of normal Actions to get the use of the Validator package. Can people tell me if this is a worthwhile endevour and also, is there a good resource on how to make this change. cheers, Brian Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New to Struts
I would like to use DynaForms. Do you have any tutorial or article about? Thanks, JP -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 2 de Abril de 2003 10:29 To: [EMAIL PROTECTED] Subject: RE: New to Struts I love DynaForms. But you don't _need_ DynaForms to use Validation. But, I like being able to declare all my forms, and _not_ creating an ActionForm class for each form I create. -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 11:23 AM To: [EMAIL PROTECTED] Subject: New to Struts Hi all, I'm relatively new to struts, have used Forms before and am thinking of switching to use DynamicActions instead of normal Actions to get the use of the Validator package. Can people tell me if this is a worthwhile endevour and also, is there a good resource on how to make this change. cheers, Brian Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New to Struts
The How-to guide on the struts web site is OK, you can also find some articles on www.onjava.com, and the source code of struts has many examples in the struts-config.xml files. -Original Message- From: Joao Batistella [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 11:46 AM To: Struts Users Mailing List Subject: RE: New to Struts I would like to use DynaForms. Do you have any tutorial or article about? Thanks, JP -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 2 de Abril de 2003 10:29 To: [EMAIL PROTECTED] Subject: RE: New to Struts I love DynaForms. But you don't _need_ DynaForms to use Validation. But, I like being able to declare all my forms, and _not_ creating an ActionForm class for each form I create. -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 11:23 AM To: [EMAIL PROTECTED] Subject: New to Struts Hi all, I'm relatively new to struts, have used Forms before and am thinking of switching to use DynamicActions instead of normal Actions to get the use of the Validator package. Can people tell me if this is a worthwhile endevour and also, is there a good resource on how to make this change. cheers, Brian Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New to Struts
Ah, thanks Mick, So is the DynaForm the one which allows you not to create Forms declaratively using xml? Currently I write a form for each action and implement a validate method in the form. I was under the impression that there's a way to validate declaritively too. Is this possible and if so, with what component? thanks, brian - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 10:29 AM Subject: RE: New to Struts I love DynaForms. But you don't _need_ DynaForms to use Validation. But, I like being able to declare all my forms, and _not_ creating an ActionForm class for each form I create. -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 11:23 AM To: [EMAIL PROTECTED] Subject: New to Struts Hi all, I'm relatively new to struts, have used Forms before and am thinking of switching to use DynamicActions instead of normal Actions to get the use of the Validator package. Can people tell me if this is a worthwhile endevour and also, is there a good resource on how to make this change. cheers, Brian Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New to Struts
Yes. Basically you create a form in struts-config.xml. Then you reference that form in your action instead of the ActionForm you coded. The issue is keeping the JSP form and your declared DynaForm in SYNCH. But it is not that big of a deal. I do not use ActionFOrms at all in my application. I do not really need to. You can also validate against DynaForms, and there are heaps of postings in the archives to see about validation issues with DynaForms. But try them out first, and see how it goes. The source code examples in the stuts_src.tar worked very well for me. Was not too difficult to understand. -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 11:52 AM To: Struts Users Mailing List Subject: Re: New to Struts Ah, thanks Mick, So is the DynaForm the one which allows you not to create Forms declaratively using xml? Currently I write a form for each action and implement a validate method in the form. I was under the impression that there's a way to validate declaritively too. Is this possible and if so, with what component? thanks, brian - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 10:29 AM Subject: RE: New to Struts I love DynaForms. But you don't _need_ DynaForms to use Validation. But, I like being able to declare all my forms, and _not_ creating an ActionForm class for each form I create. -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 11:23 AM To: [EMAIL PROTECTED] Subject: New to Struts Hi all, I'm relatively new to struts, have used Forms before and am thinking of switching to use DynamicActions instead of normal Actions to get the use of the Validator package. Can people tell me if this is a worthwhile endevour and also, is there a good resource on how to make this change. cheers, Brian Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New to Struts
appreciate it, cheers, Brian - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 11:00 AM Subject: RE: New to Struts Yes. Basically you create a form in struts-config.xml. Then you reference that form in your action instead of the ActionForm you coded. The issue is keeping the JSP form and your declared DynaForm in SYNCH. But it is not that big of a deal. I do not use ActionFOrms at all in my application. I do not really need to. You can also validate against DynaForms, and there are heaps of postings in the archives to see about validation issues with DynaForms. But try them out first, and see how it goes. The source code examples in the stuts_src.tar worked very well for me. Was not too difficult to understand. -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 11:52 AM To: Struts Users Mailing List Subject: Re: New to Struts Ah, thanks Mick, So is the DynaForm the one which allows you not to create Forms declaratively using xml? Currently I write a form for each action and implement a validate method in the form. I was under the impression that there's a way to validate declaritively too. Is this possible and if so, with what component? thanks, brian - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 10:29 AM Subject: RE: New to Struts I love DynaForms. But you don't _need_ DynaForms to use Validation. But, I like being able to declare all my forms, and _not_ creating an ActionForm class for each form I create. -Original Message- From: Brian McSweeney [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 11:23 AM To: [EMAIL PROTECTED] Subject: New to Struts Hi all, I'm relatively new to struts, have used Forms before and am thinking of switching to use DynamicActions instead of normal Actions to get the use of the Validator package. Can people tell me if this is a worthwhile endevour and also, is there a good resource on how to make this change. cheers, Brian Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New to Struts
But ... why are dynaforms better than BaseMap Form's? i'm using BaseMap Form and i think that is a good choice, and if i have to do something in the reset method, i only inherit from the BaseMap, in dynaform you can't do a specific reset am i wrong? Ruben. - Yahoo! Messenger Nueva versioacute;n: Super Webcam, voz, caritas animadas, y maacute;s #161;Gratis!
Re: Re: [New To Struts]
Hello Maya, a little bit outdatet but... http://www-106.ibm.com/developerworks/library/j-struts/index.html http://www7.software.ibm.com/vad.nsf/Data/Document2557?OpenDocumentp=1BCT=66 and (registration required): https://www6.software.ibm.com/developerworks/education/x-iextreme19/? The focus of this tutorial is Struts development using Application Developer. Greetings mattes -- Mattes Balser | [EMAIL PROTECTED] High-End Services GmbH | www.h-e-s.de the Nervmich.net Company | http://www.nervmich.net Tel.: +49 (0) 6033 890921 | Fax: +49 (0) 6033 890911 -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Re: Re: [New To Struts]
Thanks Mattes [EMAIL PROTECTED] wrote:Hello Maya, a little bit outdatet but... http://www-106.ibm.com/developerworks/library/j-struts/index.html http://www7.software.ibm.com/vad.nsf/Data/Document2557?OpenDocumentp=1BCT=66 and (registration required): https://www6.software.ibm.com/developerworks/education/x-iextreme19/? The focus of this tutorial is Struts development using Application Developer. Greetings mattes -- Mattes Balser | [EMAIL PROTECTED] High-End Services GmbH | www.h-e-s.de the Nervmich.net Company | http://www.nervmich.net Tel.: +49 (0) 6033 890921 | Fax: +49 (0) 6033 890911 -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? HotJobs - Search new jobs daily now
RE: New to Struts , need some answeres to start new development
Read the book: http://www.theserverside.com/resources/strutsreview.jsp Mark -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 12:19 PM 1. If i have to do some validation regarding the input from the user on input fields i was using javascript, and onSubmit method of form, but with struts i think i cannot use javascript, so how can i do it before sumbitting the data to action class where i will be calling perform to do the business logic. (Can anyone supply some code) 2. if i have to send some parameters to jsp, i was appending them as query string, but these parameters are build on fly, how can i do it with sturts. 3. I had a header jsp which checked it the user had valid session, and if not forward it to logon page, how can i modify this jsp with struts -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: New to Struts , need some answeres to start new development
(see inserted comments) Galbreath, Mark wrote: Read the book: http://www.theserverside.com/resources/strutsreview.jsp Very good book - highly recommended. It's available for ordering on Amazon now too! Mark (the lesser-known struts-user FEATURE!) -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 12:19 PM 1. If i have to do some validation regarding the input from the user on input fields i was using javascript, and onSubmit method of form, but with struts i think i cannot use javascript, so how can i do it before sumbitting the data to action class where i will be calling perform to do the business logic. (Can anyone supply some code) See the chapter on the Validator Frameowrk. 2. if i have to send some parameters to jsp, i was appending them as query string, but these parameters are build on fly, how can i do it with sturts. Have a close look at javax.servlet.http.HttpServletRequest.setAttribute() and ...HttpServletRequest.getAttribute(). It doesn't occur to me right off if Chuck talks about this in his book, but it's really more of a JSP/Servlet question than a Struts-specific question. If I understand your question, those should help you out. If I don't understand, it's conceivable you may want to look into the Dyna-forms too (DynaForm/DynaValidatorForm/DynaValidatorActionForm). There are many ways to do just about anything you could imagine to be done. Struts can simplify many of them. 3. I had a header jsp which checked it the user had valid session, and if not forward it to logon page, how can i modify this jsp with struts Look at extending org.apache.struts.action.Action. Before you do, make sure you understand the role that action classes play in the overall Struts framework. You could add this functionality to a class extending Action, and derive all of your actual actions from that action (so they all have that functionality implicitly). Another solution is CMA (Container-managed authentication). Yet another approach is JAAS - many folks are looking to this nowadays because of perceived limitations of CMA. Personally, I'd rather let someone else write my authentication - even if it means I have to use some trickery to make it behave the way I want. You can find many threads about security and container-managed authentication in the archives. Try a search. I don't have the URL for the archive right off, but there is a link to it on the same page where you subscribed to the mailing list. HTH, Eddie -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: New to Struts
I've been using Forte CE w/ struts 1.0. Works OK, but I haven't gotten the debugger going yet. And I have the .java .class files in the same directories. I know you can set up to compile to different directories, but I haven't taken the time to figure it out yet. -Original Message- From: Vincent Stoessel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 11:08 AM To: Struts Users Subject: New to Struts Hello, I have been using forte CE as my main IDE for developing my java and jsp applications. The concept behind struts sounds great as I want to move toward a more standand templates/framework for my web based applications. My taglib experience has been very small and my EJB experience is still in the book reading phase. Does forte CE work well with struts or am I better off just using xemecs/jde to edit files by hand. Thanks. -- Vincent Stoessel Linux Systems Developer vincent xaymaca.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]
Re: New to Struts
Forte CE and NetBeans are good tools for working with Struts. Currently the Struts Console plugs into both of the IDEs. Struts Console: http://www.jamesholmes.com/struts/ I'm working with some folks at Sun to bring better Struts support into both of these IDEs. This should add alot of needed development support tools. -james [EMAIL PROTECTED] --- Vincent Stoessel [EMAIL PROTECTED] wrote: Hello, I have been using forte CE as my main IDE for developing my java and jsp applications. The concept behind struts sounds great as I want to move toward a more standand templates/framework for my web based applications. My taglib experience has been very small and my EJB experience is still in the book reading phase. Does forte CE work well with struts or am I better off just using xemecs/jde to edit files by hand. Thanks. -- Vincent Stoessel Linux Systems Developer vincent xaymaca.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: New to Struts
The functionality should be available to both Forte and NetBeans since both are built on the same foundation. Basically we are working on a Struts Support module that has tighter integration of Struts Console into the IDEs as well as other functionality. Once things are working you'll be able to get the module and updates for it through the Update Center functionality built into both IDEs. I'm not sure what the time frame is at this point as that is dictated by Sun. -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- [EMAIL PROTECTED] wrote: I'm working with some folks at Sun to bring better Struts support into both of these IDEs. This should add alot of needed development support tools. Just curious about this... I assume that this would available as a plugin as well? long shot How soon would we see this type of thing for Forte? Thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: New to Struts
Thanks James, maybe I will throw this question on the Forte List... just for fun. :) James Holmes [EMAIL PROTECTED] on 05/29/2002 12:15:55 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject: Re: New to Struts The functionality should be available to both Forte and NetBeans since both are built on the same foundation. Basically we are working on a Struts Support module that has tighter integration of Struts Console into the IDEs as well as other functionality. Once things are working you'll be able to get the module and updates for it through the Update Center functionality built into both IDEs. I'm not sure what the time frame is at this point as that is dictated by Sun. -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- [EMAIL PROTECTED] wrote: I'm working with some folks at Sun to bring better Struts support into both of these IDEs. This should add alot of needed development support tools. Just curious about this... I assume that this would available as a plugin as well? long shot How soon would we see this type of thing for Forte? Thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.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]
Re: New to Struts
Truly cool, it's running sweet in forte 3.0 CE. OK, time for the slow part, reading the struts docs. :) Thank You James Holmes wrote: Forte CE and NetBeans are good tools for working with Struts. Currently the Struts Console plugs into both of the IDEs. Struts Console: http://www.jamesholmes.com/struts/ I'm working with some folks at Sun to bring better Struts support into both of these IDEs. This should add alot of needed development support tools. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Vincent Stoessel Linux Systems Developer vincent xaymaca.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: New to Struts and stuck already...
welcome to struts, I'd need more info - more of the error stack trace. Also maybe the struts-config entry for the action class involved. If this is from your jsp maybe it refers to the form bean but you've started the jsp directly (localhost:8080/myapp/myJsp.jsp) rather than through the action mapping (localhost:8080/myapp/myJsp.do) Keith. PS struts is a wee bit painful at 1st but you'll soon get the hang of it --- Kevin J. Turner [EMAIL PROTECTED] wrote: I am trying to build a simple Struts app to play around with it and i'm stuck on the following error message: javax.servlet.ServletException: No bean found under attribute key registrationForm I have the following in my struts-config.xml file: struts-config ... form-beans form-bean name=registrationForm type=com.codemonkey.struts.RegistrationForm/ /form-beans ... struts-config Any suggestions anyone? Kevin J Turner __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: New to Struts and stuck already...
Kevin, first of all, please take into account I am new to Struts too... Your mail doesn't include enough information, hence I don't know whether the issues not mentioned in your mail are absent just in your mail or absent in your application... For instance, in the struts-config.xml file depicted, there is no action tag, which should be there if you want to use a form bean. Furthermore, that tag should include several attributes, i.e., name, path, scope, etc.. And take care they match the features of the form bean, and to use the right scope: as far as I understand it, it is the one assigned to the form bean. Hope this helps Luis - Original Message - From: Keith Bacon [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, January 09, 2002 11:38 AM Subject: Re: New to Struts and stuck already... welcome to struts, I'd need more info - more of the error stack trace. Also maybe the struts-config entry for the action class involved. If this is from your jsp maybe it refers to the form bean but you've started the jsp directly (localhost:8080/myapp/myJsp.jsp) rather than through the action mapping (localhost:8080/myapp/myJsp.do) Keith. PS struts is a wee bit painful at 1st but you'll soon get the hang of it --- Kevin J. Turner [EMAIL PROTECTED] wrote: I am trying to build a simple Struts app to play around with it and i'm stuck on the following error message: javax.servlet.ServletException: No bean found under attribute key registrationForm I have the following in my struts-config.xml file: struts-config ... form-beans form-bean name=registrationForm type=com.codemonkey.struts.RegistrationForm/ /form-beans ... struts-config Any suggestions anyone? Kevin J Turner __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- 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: New to Struts and stuck already...
Kevin, I'm also relatively new to struts, however, this looks like something I've encountered before. I saw the same (or a similar error message) whenever my form tags weren't properly enclosed in html:form action=/MyServlet.do ... /html:form. HTH Thank You, Mike Ashamalla, CEBS VistaXtreme [EMAIL PROTECTED] -Original Message- From: Luis M. Rosso [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 11:02 AM To: Struts Users Mailing List Subject: Re: New to Struts and stuck already... Kevin, first of all, please take into account I am new to Struts too... Your mail doesn't include enough information, hence I don't know whether the issues not mentioned in your mail are absent just in your mail or absent in your application... For instance, in the struts-config.xml file depicted, there is no action tag, which should be there if you want to use a form bean. Furthermore, that tag should include several attributes, i.e., name, path, scope, etc.. And take care they match the features of the form bean, and to use the right scope: as far as I understand it, it is the one assigned to the form bean. Hope this helps Luis - Original Message - From: Keith Bacon [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, January 09, 2002 11:38 AM Subject: Re: New to Struts and stuck already... welcome to struts, I'd need more info - more of the error stack trace. Also maybe the struts-config entry for the action class involved. If this is from your jsp maybe it refers to the form bean but you've started the jsp directly (localhost:8080/myapp/myJsp.jsp) rather than through the action mapping (localhost:8080/myapp/myJsp.do) Keith. PS struts is a wee bit painful at 1st but you'll soon get the hang of it --- Kevin J. Turner [EMAIL PROTECTED] wrote: I am trying to build a simple Struts app to play around with it and i'm stuck on the following error message: javax.servlet.ServletException: No bean found under attribute key registrationForm I have the following in my struts-config.xml file: struts-config ... form-beans form-bean name=registrationForm type=com.codemonkey.struts.RegistrationForm/ /form-beans ... struts-config Any suggestions anyone? Kevin J Turner __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- 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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: New professional STRUTS website
the site looks very nice, but i get messages about unsupported OS / browser when viewing it with Opera on Linux (RH7.1) - the site still comes up mind you. Seems to run very quickly too! On Monday 01 Oct 2001 10:12 pm, you wrote: Love the site! -Original Message- From: Frederick N. Brier [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 30, 2001 11:36 AM To: [EMAIL PROTECTED] Subject: Re: New professional STRUTS website Beautiful site! I haven't been through it all yet, but a very impressive web application. As Martin Cooper asked, I would also be interested in what aspects of Struts you found most useful, what you felt was missing, whether you did one large page or tiled, etc. I am curious how you implemented shared functionality such as uploading of images or their editing. Did you duplicate the actions, somehow parameterize your JSPs, etc? Thank you for sharing your site. Frederick N. Brier At 11:48 AM 9/29/2001, you wrote: http://www.hallmarkstories.comwww.hallmarkstories.com Please have a look at this new site developed to produce offline physcial product through an online web based application for Hallmark, Inc. by iXL, Inc.(NYC). I would be happy to provide more detail into any questions anyone may have in terms of the STRUTS implimentation or other solutions for the build. I have been reading this list for a long time and working on this project for a very long time hoping to expose STRUTS as a fantastic framework for implimenting proffessional MVC based web applications. Thanks, Adam S. Grohs mailto:[EMAIL PROTECTED][EMAIL PROTECTED] This message contains information which may be confidential and privileged. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail, and delete or destroy the message. Thank you. -- Martin Samm MSc, Bsc Hons http://www.readingroom.com Winner : Best Business to Business Website 2000-01 (Internet Business Awards sponsored by ntl) Reading Room Ltd. 77 Dean Street Soho London W1D 3SH UK Tel: +44 (0) 20 7734 9499 Fax: +44 (0) 20 7739 4190 The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Â Any review, re-transmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. Â If you received this in error, please contact the sender and delete the material from any computer.
Re: New professional STRUTS website
on 02/10/2001 08:44, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: Date: Tue, 2 Oct 2001 08:37:40 +0100 To: [EMAIL PROTECTED] From: Martin Samm [EMAIL PROTECTED] Subject: Re: New professional STRUTS website Message-Id: [EMAIL PROTECTED] the site looks very nice, but i get messages about unsupported OS / browser when viewing it with Opera on Linux (RH7.1) - the site still comes up mind you. Seems to run very quickly too! Just to let you know that the site also gives error messages for both Netscape 6.1 and IE 5.0 on Macintosh 9.1 and error messages for Macintosh OS 10.0.4 with IE. HTH //* Steven Elliott [EMAIL PROTECTED] Head of Technology VTV Learning Corporation Los Angeles - Boston - Lisbon (http://www.vtvLearning.com/)
Re: New professional STRUTS website
Thinh, We are in fact utilizing the html:erors tag and passing errors through a client side controller mechanism. Please see my last posting named JavaScript with html:errors - new STRUTS validation for details and an example file. Thanks, Adam S. Grohs [EMAIL PROTECTED] - Original Message - From: Thinh Doan To: [EMAIL PROTECTED] Sent: Monday, October 01, 2001 4:55 PM Subject: RE: New professional STRUTS website For me I'm curious if you use html:errors (ActionErrors) at all? More specifically, how did you pop up the singin error on another window instead of on the same window if html:errors were used? Nice site, thanks for sharing. Thinh -Original Message- From: Adam Grohs [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 29, 2001 10:48 AM To: [EMAIL PROTECTED] Subject: New professional STRUTS website www.hallmarkstories.com Please have a look at this new site developed to produce offline physcial product through an online web based application for Hallmark, Inc. by iXL, Inc.(NYC). I would be happy to provide more detail into any questions anyone may have in terms of the STRUTS implimentation or other solutions for the build. I have been reading this list for a long time and working on this project for a very long time hoping to expose STRUTS as a fantastic framework for implimenting proffessional MVC based web applications. Thanks, Adam S. Grohs [EMAIL PROTECTED]
Re: New professional STRUTS website
If you set Opera to identify itself as IE, you won't get those errors. -- Martin Cooper - Original Message - From: Martin Samm [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 02, 2001 12:37 AM Subject: Re: New professional STRUTS website the site looks very nice, but i get messages about unsupported OS / browser when viewing it with Opera on Linux (RH7.1) - the site still comes up mind you. Seems to run very quickly too! On Monday 01 Oct 2001 10:12 pm, you wrote: Love the site! -Original Message- From: Frederick N. Brier [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 30, 2001 11:36 AM To: [EMAIL PROTECTED] Subject: Re: New professional STRUTS website Beautiful site! I haven't been through it all yet, but a very impressive web application. As Martin Cooper asked, I would also be interested in what aspects of Struts you found most useful, what you felt was missing, whether you did one large page or tiled, etc. I am curious how you implemented shared functionality such as uploading of images or their editing. Did you duplicate the actions, somehow parameterize your JSPs, etc? Thank you for sharing your site. Frederick N. Brier At 11:48 AM 9/29/2001, you wrote: http://www.hallmarkstories.comwww.hallmarkstories.com Please have a look at this new site developed to produce offline physcial product through an online web based application for Hallmark, Inc. by iXL, Inc.(NYC). I would be happy to provide more detail into any questions anyone may have in terms of the STRUTS implimentation or other solutions for the build. I have been reading this list for a long time and working on this project for a very long time hoping to expose STRUTS as a fantastic framework for implimenting proffessional MVC based web applications. Thanks, Adam S. Grohs mailto:[EMAIL PROTECTED][EMAIL PROTECTED] This message contains information which may be confidential and privileged. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail, and delete or destroy the message. Thank you. -- Martin Samm MSc, Bsc Hons http://www.readingroom.com Winner : Best Business to Business Website 2000-01 (Internet Business Awards sponsored by ntl) Reading Room Ltd. 77 Dean Street Soho London W1D 3SH UK Tel: +44 (0) 20 7734 9499 Fax: +44 (0) 20 7739 4190 The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
RE: New professional STRUTS website
Love the site! -Original Message- From: Frederick N. Brier [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 30, 2001 11:36 AM To: [EMAIL PROTECTED] Subject: Re: New professional STRUTS website Beautiful site! I haven't been through it all yet, but a very impressive web application. As Martin Cooper asked, I would also be interested in what aspects of Struts you found most useful, what you felt was missing, whether you did one large page or tiled, etc. I am curious how you implemented shared functionality such as uploading of images or their editing. Did you duplicate the actions, somehow parameterize your JSPs, etc? Thank you for sharing your site. Frederick N. Brier At 11:48 AM 9/29/2001, you wrote: http://www.hallmarkstories.comwww.hallmarkstories.com Please have a look at this new site developed to produce offline physcial product through an online web based application for Hallmark, Inc. by iXL, Inc.(NYC). I would be happy to provide more detail into any questions anyone may have in terms of the STRUTS implimentation or other solutions for the build. I have been reading this list for a long time and working on this project for a very long time hoping to expose STRUTS as a fantastic framework for implimenting proffessional MVC based web applications. Thanks, Adam S. Grohs mailto:[EMAIL PROTECTED][EMAIL PROTECTED] This message contains information which may be confidential and privileged. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail, and delete or destroy the message. Thank you.
Re: New professional STRUTS website
Strichartz, Beth wrote: Love the site! Except for the Javascript popup in every page I visit saying that My browser/OS is not supported!, it looks fine. :-) -- []'s Marcelo Vanzin Touch Tecnologia [EMAIL PROTECTED] We're an underground revolution working overtime
RE: New professional STRUTS website
For me I'm curious if you use html:errors (ActionErrors) at all? More specifically, how did you pop up the singin error on another window instead of on the same window if html:errors were used? Nice site, thanks for sharing. Thinh -Original Message-From: Adam Grohs [mailto:[EMAIL PROTECTED]]Sent: Saturday, September 29, 2001 10:48 AMTo: [EMAIL PROTECTED]Subject: New professional STRUTS website www.hallmarkstories.com Please have a look at this new site developed to produce offline physcial product through an online web based application for Hallmark, Inc.by iXL, Inc.(NYC). I would be happy to provide more detail into any questions anyone may have in terms of the STRUTS implimentation or other solutions for the build. I have been readingthis list for a long time and working on this project for a very long time hoping to expose STRUTS as a fantastic framework for implimenting proffessional MVC based web applications. Thanks, Adam S. Grohs [EMAIL PROTECTED]
Re: New professional STRUTS website
Use multiboxes instead of checkboxes. This will surely solve ur problem. Rakesh From: lisa ward [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: New professional STRUTS website Date: Sat, 29 Sep 2001 19:46:08 +0100 Hi, what should the condition be? At the moment I have placed a condition within the reset method that ensures that the values do not get reset, but it still doesn't work. Thanks Lisa From: Rama Krishna [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: New professional STRUTS website Date: Sat, 29 Sep 2001 11:42:44 -0700 may be it's ur reset method in action form. - Original Message - From: lisa ward [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, September 29, 2001 11:31 AM Subject: Re: New professional STRUTS website Hi, How do I track a users checkbox selection. After the form is submitted if any errors occured on the form my values are lost. I specified that the form should have session scope. Is there something that I am missing out? Thanks Lisa From: Adam Grohs [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: New professional STRUTS website Date: Sat, 29 Sep 2001 10:48:27 -0500 www.hallmarkstories.com Please have a look at this new site developed to produce offline physcial product through an online web based application for Hallmark, Inc. by iXL, Inc.(NYC). I would be happy to provide more detail into any questions anyone may have in terms of the STRUTS implimentation or other solutions for the build. I have been reading this list for a long time and working on this project for a very long time hoping to expose STRUTS as a fantastic framework for implimenting proffessional MVC based web applications. Thanks, Adam S. Grohs [EMAIL PROTECTED] _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Re: New professional STRUTS website
Beautiful site! I haven't been through it all yet, but a very impressive web application. As Martin Cooper asked, I would also be interested in what aspects of Struts you found most useful, what you felt was missing, whether you did one large page or tiled, etc. I am curious how you implemented shared functionality such as uploading of images or their editing. Did you duplicate the actions, somehow parameterize your JSPs, etc? Thank you for sharing your site. Frederick N. Brier At 11:48 AM 9/29/2001, you wrote: http://www.hallmarkstories.comwww.hallmarkstories.com Please have a look at this new site developed to produce offline physcial product through an online web based application for Hallmark, Inc. by iXL, Inc.(NYC). I would be happy to provide more detail into any questions anyone may have in terms of the STRUTS implimentation or other solutions for the build. I have been reading this list for a long time and working on this project for a very long time hoping to expose STRUTS as a fantastic framework for implimenting proffessional MVC based web applications. Thanks, Adam S. Grohs mailto:[EMAIL PROTECTED][EMAIL PROTECTED]
Re: New professional STRUTS website
nice website! I was wondering what strategies you used for maintaining the common look and feel of the whole application and also any other extra API/Framework packages you might have used, thanks for posting the site, i think this is the first large struts-based website ive seen that has a reputable large commercial company behind it.. - Original Message - From: Adam Grohs To: [EMAIL PROTECTED] Sent: Saturday, September 29, 2001 8:48 AM Subject: New professional STRUTS website www.hallmarkstories.com Please have a look at this new site developed to produce offline physcial product through an online web based application for Hallmark, Inc.by iXL, Inc.(NYC). I would be happy to provide more detail into any questions anyone may have in terms of the STRUTS implimentation or other solutions for the build. I have been readingthis list for a long time and working on this project for a very long time hoping to expose STRUTS as a fantastic framework for implimenting proffessional MVC based web applications. Thanks, Adam S. Grohs [EMAIL PROTECTED]
Re: New To Struts
I think the directory WEB-INF is in every context (directory) in the directory applications, and there is always a default context (maybe \application\defaultwebapp_serverName\WEB-INF in weblogic) Quan - Original Message - From: Nitu Singh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, August 09, 2001 8:37 AM Subject: Re: New To Struts Thanks a lot, And I did visit the home page for struts(and that's where the problem started). Let me explain u the doubts which I had going thru the page: 1) All the downloads had 2-3 versions (for example, ANT, it had binary release, source realease and some RPM), which one I have to download, do I have to download all the 3? btw, if u can explain me the difference between source release and binary release, as I see them in almost all the downloads. 2) Do I really have to download the Servlet API ?If yes, why? as weblogic supports servlets and why again to have one more servlet API? 3) In many installations it says, I need to put some *distribution files* or some *jar files* in WEB-INF directory. I don't find any such directory in weblogic5.1. So what to do? These are only few of the things. The more I read, the more I get confused? If you could clear my above queries, I can go ahead and then may be I will come up more questions? Thanks a lot, Nitu. - Original Message - From: Martin Cooper [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 09, 2001 3:29 PM Subject: Re: New To Struts You must not have visited the Struts home page, which should have been your *first* resort. :-) http://jakarta.apache.org/struts/ There you will find: * A link to the Struts User Guide * A 'Resources' link, which will take you to a page listing several tutorials and articles on Struts. * An 'Installation' link, which will take you to a page detailing specific installation instructions for over a dozen different containers, including WebLogic 5.1. -- Martin Cooper - Original Message - From: Nitu Singh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 08, 2001 5:18 PM Subject: New To Struts Hi, I am new to struts and for past one week I am trying to find tutorials and materials regarding struts. The only thing I got is some tutorial in jspinsider.com. I understood the model of struts, but when putting it in to code, I am facing problem at very basic step. All I see in tutorials is they have explained how to use struts in tomcat server. But I am using weblogic5.1 server. I have did all the settings as per directed for tomcat. I understand there must some different way of deploying struts in weblogic server. Can anyone please guide me through as what I should do to run my basic application? What all installations do I need and where should be they placed? I am really vexed up looking for these things on net. This mailing list is my LAST REOSRT. Thanks and Regards, Nitu.
Re: New To Struts
Comments below. - Original Message - From: Nitu Singh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, August 08, 2001 6:37 PM Subject: Re: New To Struts Thanks a lot, And I did visit the home page for struts(and that's where the problem started). Let me explain u the doubts which I had going thru the page: 1) All the downloads had 2-3 versions (for example, ANT, it had binary release, source realease and some RPM), which one I have to download, do I have to download all the 3? btw, if u can explain me the difference between source release and binary release, as I see them in almost all the downloads. The only download you need is the Struts binary distribution. If you read something that stated that you needed more than this, please let us know where you saw that, so that we can fix it. You don't need to download Ant at all unless you want to rebuild Struts, or the example apps that come with it. The binary distribution contains everything you need, already compiled and provided as one or more jar files, ready for you to include in your own application.See http://jakarta.apache.org/struts/installation.html#Installing for more information on using a binary distribution. The source distribution includes, ah, the source code and everything you would need to rebuild your own version of Struts. See http://jakarta.apache.org/struts/installation.html#Building if you want to do that. 2) Do I really have to download the Servlet API ?If yes, why? as weblogic supports servlets and why again to have one more servlet API? You need to have some Servlet API implementation available if you're going to compile your own code that relies on those interfaces. If WebLogic includes that (as I would assume that it does, but I'm not familiar with it), then you don't need to download another one. 3) In many installations it says, I need to put some *distribution files* or some *jar files* in WEB-INF directory. I don't find any such directory in weblogic5.1. So what to do? I suggest you follow the instructions for WebLogic 5.1. See http://jakarta.apache.org/struts/installation-wls.html for more information. These are only few of the things. The more I read, the more I get confused? If you could clear my above queries, I can go ahead and then may be I will come up more questions? The best suggestion I can come up with is to follow the links that are available to you, and search the mailing list archives. You are by no means the first person to travel the path you are on. -- Martin Cooper Thanks a lot, Nitu. - Original Message - From: Martin Cooper [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 09, 2001 3:29 PM Subject: Re: New To Struts You must not have visited the Struts home page, which should have been your *first* resort. :-) http://jakarta.apache.org/struts/ There you will find: * A link to the Struts User Guide * A 'Resources' link, which will take you to a page listing several tutorials and articles on Struts. * An 'Installation' link, which will take you to a page detailing specific installation instructions for over a dozen different containers, including WebLogic 5.1. -- Martin Cooper - Original Message - From: Nitu Singh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 08, 2001 5:18 PM Subject: New To Struts Hi, I am new to struts and for past one week I am trying to find tutorials and materials regarding struts. The only thing I got is some tutorial in jspinsider.com. I understood the model of struts, but when putting it in to code, I am facing problem at very basic step. All I see in tutorials is they have explained how to use struts in tomcat server. But I am using weblogic5.1 server. I have did all the settings as per directed for tomcat. I understand there must some different way of deploying struts in weblogic server. Can anyone please guide me through as what I should do to run my basic application? What all installations do I need and where should be they placed? I am really vexed up looking for these things on net. This mailing list is my LAST REOSRT. Thanks and Regards, Nitu.
Re: New To Struts
Hi, I downloaded jakarta-struts-1.0.zip file and extracted the files in c:\jakarta-struts-1.0. But I think lib/commons-*.jar file is missing in my installation? Are those files important or can I do without them? The installation process still says I should copy the jars in WEB-INF directory. Where should I create this WEB-INF directory? (for reference: I am using weblogic5.1) Thanks and Regards, Nitu. - Original Message - From: Martin Cooper [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 09, 2001 4:39 PM Subject: Re: New To Struts Comments below. - Original Message - From: Nitu Singh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, August 08, 2001 6:37 PM Subject: Re: New To Struts Thanks a lot, And I did visit the home page for struts(and that's where the problem started). Let me explain u the doubts which I had going thru the page: 1) All the downloads had 2-3 versions (for example, ANT, it had binary release, source realease and some RPM), which one I have to download, do I have to download all the 3? btw, if u can explain me the difference between source release and binary release, as I see them in almost all the downloads. The only download you need is the Struts binary distribution. If you read something that stated that you needed more than this, please let us know where you saw that, so that we can fix it. You don't need to download Ant at all unless you want to rebuild Struts, or the example apps that come with it. The binary distribution contains everything you need, already compiled and provided as one or more jar files, ready for you to include in your own application.See http://jakarta.apache.org/struts/installation.html#Installing for more information on using a binary distribution. The source distribution includes, ah, the source code and everything you would need to rebuild your own version of Struts. See http://jakarta.apache.org/struts/installation.html#Building if you want to do that. 2) Do I really have to download the Servlet API ?If yes, why? as weblogic supports servlets and why again to have one more servlet API? You need to have some Servlet API implementation available if you're going to compile your own code that relies on those interfaces. If WebLogic includes that (as I would assume that it does, but I'm not familiar with it), then you don't need to download another one. 3) In many installations it says, I need to put some *distribution files* or some *jar files* in WEB-INF directory. I don't find any such directory in weblogic5.1. So what to do? I suggest you follow the instructions for WebLogic 5.1. See http://jakarta.apache.org/struts/installation-wls.html for more information. These are only few of the things. The more I read, the more I get confused? If you could clear my above queries, I can go ahead and then may be I will come up more questions? The best suggestion I can come up with is to follow the links that are available to you, and search the mailing list archives. You are by no means the first person to travel the path you are on. -- Martin Cooper Thanks a lot, Nitu. - Original Message - From: Martin Cooper [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 09, 2001 3:29 PM Subject: Re: New To Struts You must not have visited the Struts home page, which should have been your *first* resort. :-) http://jakarta.apache.org/struts/ There you will find: * A link to the Struts User Guide * A 'Resources' link, which will take you to a page listing several tutorials and articles on Struts. * An 'Installation' link, which will take you to a page detailing specific installation instructions for over a dozen different containers, including WebLogic 5.1. -- Martin Cooper - Original Message - From: Nitu Singh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 08, 2001 5:18 PM Subject: New To Struts Hi, I am new to struts and for past one week I am trying to find tutorials and materials regarding struts. The only thing I got is some tutorial in jspinsider.com. I understood the model of struts, but when putting it in to code, I am facing problem at very basic step. All I see in tutorials is they have explained how to use struts in tomcat server. But I am using weblogic5.1 server. I have did all the settings as per directed for tomcat. I understand there must some different way of deploying struts in weblogic server. Can anyone please guide me through as what I should do to run my basic application? What all installations do I need and where should be they placed? I am really vexed up looking for these things on net. This mailing list is my LAST REOSRT. Thanks and Regards, Nitu.
Re: New To Struts
WEB-INF/ is created when an application is deployed/created in the app-server. any app-server which follows j2ee standard will create this. the WEB-INF/ folder will be created under the appname folder. this app name can point to any physical folder on your hard drive, although usually it is a convention to create it inside the server folder. i donot know much about weblogic but as far as i know, there will be an examples/ folder under weblogic and under examples/ there will be an webapp folder which will have WEB-INF folder. so, u have to deploy u r war file or create a new application. this will create a WEB-INF folder for you. weblogic documentation should help you, to create/deploy an application. regarding commons-*.jar, i don't know about it as the nightly build i use doesnot have it. hope this helps, rama. - Original Message - From: Nitu Singh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 09, 2001 5:43 PM Subject: Re: New To Struts Hi, I downloaded jakarta-struts-1.0.zip file and extracted the files in c:\jakarta-struts-1.0. But I think lib/commons-*.jar file is missing in my installation? Are those files important or can I do without them? The installation process still says I should copy the jars in WEB-INF directory. Where should I create this WEB-INF directory? (for reference: I am using weblogic5.1) Thanks and Regards, Nitu. - Original Message - From: Martin Cooper [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 09, 2001 4:39 PM Subject: Re: New To Struts Comments below. - Original Message - From: Nitu Singh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, August 08, 2001 6:37 PM Subject: Re: New To Struts Thanks a lot, And I did visit the home page for struts(and that's where the problem started). Let me explain u the doubts which I had going thru the page: 1) All the downloads had 2-3 versions (for example, ANT, it had binary release, source realease and some RPM), which one I have to download, do I have to download all the 3? btw, if u can explain me the difference between source release and binary release, as I see them in almost all the downloads. The only download you need is the Struts binary distribution. If you read something that stated that you needed more than this, please let us know where you saw that, so that we can fix it. You don't need to download Ant at all unless you want to rebuild Struts, or the example apps that come with it. The binary distribution contains everything you need, already compiled and provided as one or more jar files, ready for you to include in your own application.See http://jakarta.apache.org/struts/installation.html#Installing for more information on using a binary distribution. The source distribution includes, ah, the source code and everything you would need to rebuild your own version of Struts. See http://jakarta.apache.org/struts/installation.html#Building if you want to do that. 2) Do I really have to download the Servlet API ?If yes, why? as weblogic supports servlets and why again to have one more servlet API? You need to have some Servlet API implementation available if you're going to compile your own code that relies on those interfaces. If WebLogic includes that (as I would assume that it does, but I'm not familiar with it), then you don't need to download another one. 3) In many installations it says, I need to put some *distribution files* or some *jar files* in WEB-INF directory. I don't find any such directory in weblogic5.1. So what to do? I suggest you follow the instructions for WebLogic 5.1. See http://jakarta.apache.org/struts/installation-wls.html for more information. These are only few of the things. The more I read, the more I get confused? If you could clear my above queries, I can go ahead and then may be I will come up more questions? The best suggestion I can come up with is to follow the links that are available to you, and search the mailing list archives. You are by no means the first person to travel the path you are on. -- Martin Cooper Thanks a lot, Nitu. - Original Message - From: Martin Cooper [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 09, 2001 3:29 PM Subject: Re: New To Struts You must not have visited the Struts home page, which should have been your *first* resort. :-) http://jakarta.apache.org/struts/ There you will find: * A link to the Struts User Guide * A 'Resources' link, which will take you to a page listing several tutorials and articles on Struts. * An 'Installation' link, which will take you to a page detailing specific installation instructions for over a dozen different containers, including WebLogic 5.1
Re: New To Struts
On Fri, 10 Aug 2001, Nitu Singh wrote: Hi, I downloaded jakarta-struts-1.0.zip file and extracted the files in c:\jakarta-struts-1.0. But I think lib/commons-*.jar file is missing in my installation? Are those files important or can I do without them? The installation process still says I should copy the jars in WEB-INF directory. Where should I create this WEB-INF directory? (for reference: I am using weblogic5.1) The commons-*.jar files are only used in Struts 1.1 nightly builds. In Struts 1.0, all the necessary classes are included in struts.jar. Thanks and Regards, Nitu. Craig - Original Message - From: Martin Cooper [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 09, 2001 4:39 PM Subject: Re: New To Struts Comments below. - Original Message - From: Nitu Singh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, August 08, 2001 6:37 PM Subject: Re: New To Struts Thanks a lot, And I did visit the home page for struts(and that's where the problem started). Let me explain u the doubts which I had going thru the page: 1) All the downloads had 2-3 versions (for example, ANT, it had binary release, source realease and some RPM), which one I have to download, do I have to download all the 3? btw, if u can explain me the difference between source release and binary release, as I see them in almost all the downloads. The only download you need is the Struts binary distribution. If you read something that stated that you needed more than this, please let us know where you saw that, so that we can fix it. You don't need to download Ant at all unless you want to rebuild Struts, or the example apps that come with it. The binary distribution contains everything you need, already compiled and provided as one or more jar files, ready for you to include in your own application.See http://jakarta.apache.org/struts/installation.html#Installing for more information on using a binary distribution. The source distribution includes, ah, the source code and everything you would need to rebuild your own version of Struts. See http://jakarta.apache.org/struts/installation.html#Building if you want to do that. 2) Do I really have to download the Servlet API ?If yes, why? as weblogic supports servlets and why again to have one more servlet API? You need to have some Servlet API implementation available if you're going to compile your own code that relies on those interfaces. If WebLogic includes that (as I would assume that it does, but I'm not familiar with it), then you don't need to download another one. 3) In many installations it says, I need to put some *distribution files* or some *jar files* in WEB-INF directory. I don't find any such directory in weblogic5.1. So what to do? I suggest you follow the instructions for WebLogic 5.1. See http://jakarta.apache.org/struts/installation-wls.html for more information. These are only few of the things. The more I read, the more I get confused? If you could clear my above queries, I can go ahead and then may be I will come up more questions? The best suggestion I can come up with is to follow the links that are available to you, and search the mailing list archives. You are by no means the first person to travel the path you are on. -- Martin Cooper Thanks a lot, Nitu. - Original Message - From: Martin Cooper [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 09, 2001 3:29 PM Subject: Re: New To Struts You must not have visited the Struts home page, which should have been your *first* resort. :-) http://jakarta.apache.org/struts/ There you will find: * A link to the Struts User Guide * A 'Resources' link, which will take you to a page listing several tutorials and articles on Struts. * An 'Installation' link, which will take you to a page detailing specific installation instructions for over a dozen different containers, including WebLogic 5.1. -- Martin Cooper - Original Message - From: Nitu Singh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 08, 2001 5:18 PM Subject: New To Struts Hi, I am new to struts and for past one week I am trying to find tutorials and materials regarding struts. The only thing I got is some tutorial in jspinsider.com. I understood the model of struts, but when putting it in to code, I am facing problem at very basic step. All I see in tutorials is they have explained how to use struts in tomcat server. But I am using weblogic5.1 server. I have did all the settings as per directed for tomcat. I understand there must some different way of deploying struts in weblogic
Re: New To Struts
You must not have visited the Struts home page, which should have been your *first* resort. :-) http://jakarta.apache.org/struts/ There you will find: * A link to the Struts User Guide * A 'Resources' link, which will take you to a page listing several tutorials and articles on Struts. * An 'Installation' link, which will take you to a page detailing specific installation instructions for over a dozen different containers, including WebLogic 5.1. -- Martin Cooper - Original Message - From: Nitu Singh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 08, 2001 5:18 PM Subject: New To Struts Hi, I am new to struts and for past one week I am trying to find tutorials and materials regarding struts. The only thing I got is some tutorial in jspinsider.com. I understood the model of struts, but when putting it in to code, I am facing problem at very basic step. All I see in tutorials is they have explained how to use struts in tomcat server. But I am using weblogic5.1 server. I have did all the settings as per directed for tomcat. I understand there must some different way of deploying struts in weblogic server. Can anyone please guide me through as what I should do to run my basic application? What all installations do I need and where should be they placed? I am really vexed up looking for these things on net. This mailing list is my LAST REOSRT. Thanks and Regards, Nitu.
Re: New To Struts
The following might help you. ramakrishna. * Ted Husted has links tutorials, example webapps, and code (custom tags, etc.). http://www.husted.com/about/struts/ A Walking Tour of Struts (at the bottom) walks you through the Struts example webapp. http://www.husted.com/about/struts/scaffolding.htm If you want to stay pure MVC, then you can have your home page go through the controller servlet. Struts has a connection pool that you can use for database connections. You configure it in the struts-config.xml file. David --- [EMAIL PROTECTED] wrote: Hi all, I just signed up and looking for some tutorials on struts. I installed it on Linux with Apache-Tomcat config. There is a sample application in there, however it would be maybe easier to go through some tutorials first. Any suggestions ? Also, I'm in the process of doing a little web site for myself. It's basically only presentation of data for now. I have a little confusion there. As far as I understood the specifications, servlets ( controllers ) are responsible for data extraction from the database and JSPs for presentation. So what should I set up as the index page , a JSP that forwards the request to servlet and servlet responds to JSP again or to use a servlet that sends data to JSP ? Also. is it a good technique to have the JSP ( beans ) extract data from database ? In this case, how do I get to the connection parameters if I don't want to hardcode it and maybe use web.xml file to hold the connection parameters ? All responses are welcomed. Thank you. Jf __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ - Original Message - From: Nitu Singh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 08, 2001 5:18 PM Subject: New To Struts Hi, I am new to struts and for past one week I am trying to find tutorials and materials regarding struts. The only thing I got is some tutorial in jspinsider.com. I understood the model of struts, but when putting it in to code, I am facing problem at very basic step. All I see in tutorials is they have explained how to use struts in tomcat server. But I am using weblogic5.1 server. I have did all the settings as per directed for tomcat. I understand there must some different way of deploying struts in weblogic server. Can anyone please guide me through as what I should do to run my basic application? What all installations do I need and where should be they placed? I am really vexed up looking for these things on net. This mailing list is my LAST REOSRT. Thanks and Regards, Nitu.
Re: New To Struts
Thanks a lot, And I did visit the home page for struts(and that's where the problem started). Let me explain u the doubts which I had going thru the page: 1) All the downloads had 2-3 versions (for example, ANT, it had binary release, source realease and some RPM), which one I have to download, do I have to download all the 3? btw, if u can explain me the difference between source release and binary release, as I see them in almost all the downloads. 2) Do I really have to download the Servlet API ?If yes, why? as weblogic supports servlets and why again to have one more servlet API? 3) In many installations it says, I need to put some *distribution files* or some *jar files* in WEB-INF directory. I don't find any such directory in weblogic5.1. So what to do? These are only few of the things. The more I read, the more I get confused? If you could clear my above queries, I can go ahead and then may be I will come up more questions? Thanks a lot, Nitu. - Original Message - From: Martin Cooper [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 09, 2001 3:29 PM Subject: Re: New To Struts You must not have visited the Struts home page, which should have been your *first* resort. :-) http://jakarta.apache.org/struts/ There you will find: * A link to the Struts User Guide * A 'Resources' link, which will take you to a page listing several tutorials and articles on Struts. * An 'Installation' link, which will take you to a page detailing specific installation instructions for over a dozen different containers, including WebLogic 5.1. -- Martin Cooper - Original Message - From: Nitu Singh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 08, 2001 5:18 PM Subject: New To Struts Hi, I am new to struts and for past one week I am trying to find tutorials and materials regarding struts. The only thing I got is some tutorial in jspinsider.com. I understood the model of struts, but when putting it in to code, I am facing problem at very basic step. All I see in tutorials is they have explained how to use struts in tomcat server. But I am using weblogic5.1 server. I have did all the settings as per directed for tomcat. I understand there must some different way of deploying struts in weblogic server. Can anyone please guide me through as what I should do to run my basic application? What all installations do I need and where should be they placed? I am really vexed up looking for these things on net. This mailing list is my LAST REOSRT. Thanks and Regards, Nitu.
Re: New Windows, Struts, IE 5 and sessions dying
At 07:04 PM 1/06/01 +1200, you wrote: Summary: Any known bugs and workarounds with Multiple Windows in IE5, Servlet Sessions and Struts 1.0b1? A few things to note. Have a look to see if the redirect is forcing :80 (port 80) onto the end of the URL, this can cause the session get lost in the ether. Upgrade to struts-b2 and it'll go away. Another thing to note is that on NT you can have each IE run in a separate process, which gives it its own set of cookies, which will also loose the session value. I think it's probably the first one though, as you'd be using html:rewrite / to generate the URL for the javascript, and up until struts-b2 it would add the port into the address and confuse the browser. This happens in Netscape Navigator as well. -- Kumera - a new Open Source Content Management System for small to medium web sites written in Perl and using XML http://www.cyber4.org/kumera/index.html
Re: New to Struts
A lot of the work you will need to do to put together a web based your own MVC framework will already have been done for you if you use Struts. A lot of people have made contributions to the project and will continue to do so. Look at the plans for features to be added for the Struts 1.1 release (http://jakarta.apache.org/struts/todo-1.1.html). You have a large group of people debugging the system for you too. It is open source so you can always extend and/or enhance Struts to do something that your application needs. Also you have the user group as a resource to ask questions on how to do things and even get source code that a user has create that enhances Struts. Ted Husted has links (http://www.husted.com/about/struts) to Struts resources (articles, JSP Tags/Source, example web apps). David Winterfeldt --- [EMAIL PROTECTED] wrote: Hi, I am new to struts and am going thru the documentation. Had a very basic question, If I have an application which is using MVC architecture and is completely J2EE compliant what is the benefit of using Struts framework. regards -abhinav __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
RE: New to struts
Hi, u copy the struts-example.war to tomcat\webapps and then type the url localhost:8080\struts-example. u should get a pge which is the home page for the example application that comes with the struts thanx manabendra -Original Message- From: Geoffrey Van Nuffelen [SMTP:[EMAIL PROTECTED]] Sent: Thursday, May 03, 2001 3:25 PM To: Struts-User (E-Mail) Subject: New to struts Hi, I am new to struts. I did the download of the release of strust (1.0b1). I use winzip, and now I have a directories structure. But where to begin ? What I have to do to create a new application ? Thanks geoffrey...
RE: new to struts
I believe this class is part of JDBC 2.0. I've downloaded jdbc2_0-stdext.jar,added it to the class path and everything worked. -Original Message- From: Manabendra Sarkar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 10:39 AM To: '[EMAIL PROTECTED]' Subject: new to struts Hi All, i m new to struts. i am facing a small problem. im trying to use GenericDatasource to connect to the database. this class implements javax.sql.DataSource. when i strsrt tomcat, it gives an error saying javax.sql.DataSource not found. i am using jdk1.2.2. can anyone pls help me in finding where is javax.sql.DataSource class located? Regards Manabendra Sarkar ** The Information transmitted herewith is sensitive information intended only for use to the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon, this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.
Re: New to struts..
On Tue, 20 Mar 2001, Suriyanarayanan, Senthil Kumar wrote: I'm new to struts and started using it (just deployed the struts-example). I wonder whether we could use struts out of the Web Application Archive, as an extracted one, without any reference to web.xml and just refer only the tld and struts.jar file. Are there any sample or simple application demonstrating the above. Struts critically depends on several things that are only configurable in the web application deployment descriptor (web.xml) file, including: * Configuration parameters for the controller servlet * The servlet mapping mechanism used to map requests to the controller servlet (typically using the "*.do" extension mapping pattern) * The fact that the controller servlet should be loaded at startup time, so that the application resources are initialized correctly * References to the various tag library descriptor files (TLDs) that are used in this application Struts depends on these features, so it is not practical to run a web application without the web.xml deployment descriptor being properly configured. Thanks in advance Senthil Kumar.S Craig McClanahan