RE: redirecting to another action
If I need to pass the method name to be executed in ActionB I can do it using setAttributes, right? _ Vanessa Monteiro Analista de Sistemas Quality Software 3475-3000 r:5062 >>> [EMAIL PROTECTED] 17/03/2004 16:10:12 >>> ActionA ===calling===>ActionB In the forward attribute of actionmapping of ActionA specify the action path of ActionB hth -Ramadoss -Original Message- From: Vanessa Monteiro [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 1:58 PM To: < Subject: redirecting to another action Hello, I have an action and depending on the combo box value I need to redirect to another action. How can I do that? An action calling another action? _________ Vanessa Monteiro Analista de Sistemas Quality Software 3475-3000 r:5062 - 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]
redirecting to another action
Hello, I have an action and depending on the combo box value I need to redirect to another action. How can I do that? An action calling another action? _ Vanessa Monteiro Analista de Sistemas Quality Software 3475-3000 r:5062 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Date attribute in ActionForm
Hello, I have and ActionForm with one element refering to a Date (from Util) property and I get the following exception java.lang.IllegalArgumentException: argument type mismatch Is there a special treatment for these kind of attributes? Thanks, _ Vanessa Monteiro Analista de Sistemas Quality Software 3475-3000 r:5062 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mapping question
Hello everyone, I'm having trouble understanding the mapping tags of struts-config.xml. I have one simple jsp form and one form and one action to take care of it. In my /pages/form.jsp I have a
Re: Action to JSP
Guess there was a two sided misunderstanding ;) I'm new at struts but I don't think you can do that. What you can do is change your url-pattern to something like *.jspa and name you action with the same name as your jsp and the browser will show (ex.) index.jspa Vanessa >>> [EMAIL PROTECTED] 09/01/2004 18:11:12 >>> Sorry Vanessa, I didn t undestand. I just want to execute the action e show the jsp, but in my address bar I want to show the jsp page not the action (action.do) [] s > Hi Mauricio > > can you send your caller jsp, the mapping and the action class? > > Vanessa > > >>> [EMAIL PROTECTED] 09/01/2004 17:51:46 >>> > There are a way to: > > When a click in a link in my jsp page, in address bar in my browser > dont write the name of the action, and go direct to the jsp page > (defined in action forward) ??? > > Thanks. > Mauricio > > > - > 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: Struts beginner
My project is a little bit different but I do have all struts dependencies in it. I'm using WebLogic 8.1. I compiled another war and deployed it. When I ran the application I used a different web browser window and the action worked just fine. I believe the error message was cached by the browser. Thanks anyway ;) Vanessa. >>> [EMAIL PROTECTED] 09/01/2004 17:40:15 >>> Take a look at my configuration. i'm also pretty new to struts, so I use this: tomcat 4.27 sdk 1.4.1 Also check out if you have the files in lib provenient from the same struts distribution. Take a look at the permission the files assumed. For instance, I have the following jar files in my project lib directory: ant.jar jcs.jar c3p0.jar jdbc2_0-stdext.jar cglib-asm.jarjta.jar commons-beanutils.jarjunit.jar commons-collections.jar log4j-1.2.8.jar commons-dbcp.jar mysql-connector-java-2.0.14-bin.jar commons-digester.jar odmg.jar commons-fileupload.jar optional.jar commons-lang.jar proxool.jar commons-logging.jar servlet.jar commons-pool.jar smtp.jar commons-validator.jarstruts.jar connector.jarstruts-legacy.jar dom4j.jarxalan.jar hibernate2.jar xerces.jar jaas.jar xml-apis.jar jakarta-oro.jar If all the struts desired jars you have match the ones I have, tell us. Otávio Augusto On Fri, 09 Jan 2004 16:10:27 -0200 "Vanessa Monteiro" <[EMAIL PROTECTED]> wrote: > Hello list members, > > I'm new at struts list and to using the framework. I'm starting my > first web app and I got to map the actions just fine but when reach the > action in my appl I get the following error msg: > > java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester > > Here is the listing for my WEB-INF/lib > commons-beanutils.jar > commons-collections.jar > commons-digester.jar > commons-lang.jar > commons-logging.jar > commons-pool-1.1.jar > commons-validator.jar > jstl.jar > standard.jar > struts-el.jar > struts.jar > > What am I missing? > > Thanks, > Vanessa. > > - > 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: Action to JSP
Hi Mauricio can you send your caller jsp, the mapping and the action class? Vanessa >>> [EMAIL PROTECTED] 09/01/2004 17:51:46 >>> There are a way to: When a click in a link in my jsp page, in address bar in my browser dont write the name of the action, and go direct to the jsp page (defined in action forward) ??? Thanks. Mauricio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts beginner
I've already have it on my /WEB-INF/lib but the app doesn't seem to find it Here is the listing for my WEB-INF/lib > commons-beanutils.jar > commons-collections.jar > commons-digester.jar > commons-lang.jar > commons-logging.jar > commons-pool-1.1.jar > commons-validator.jar > jstl.jar > standard.jar > struts-el.jar > struts.jar >>> [EMAIL PROTECTED] 09/01/2004 16:09:18 >>> http://jakarta.apache.org/site/binindex.cgi and get "commons-digester.jar" Saludos, -M - Original Message - From: "Vanessa Monteiro" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 09, 2004 1:10 PM Subject: Struts beginner > Hello list members, > > I'm new at struts list and to using the framework. I'm starting my > first web app and I got to map the actions just fine but when reach the > action in my appl I get the following error msg: > > java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester > > Here is the listing for my WEB-INF/lib > commons-beanutils.jar > commons-collections.jar > commons-digester.jar > commons-lang.jar > commons-logging.jar > commons-pool-1.1.jar > commons-validator.jar > jstl.jar > standard.jar > struts-el.jar > struts.jar > > What am I missing? > > Thanks, > Vanessa. > > - > 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]
Struts beginner
Hello list members, I'm new at struts list and to using the framework. I'm starting my first web app and I got to map the actions just fine but when reach the action in my appl I get the following error msg: java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester Here is the listing for my WEB-INF/lib commons-beanutils.jar commons-collections.jar commons-digester.jar commons-lang.jar commons-logging.jar commons-pool-1.1.jar commons-validator.jar jstl.jar standard.jar struts-el.jar struts.jar What am I missing? Thanks, Vanessa. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]