RE: Can anyone help me out with this
what does binary.solutions.BinaryAction do? post the code. -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 11:08 AM To: Struts Users Mailing List Subject: Can anyone help me out with this This is driving me crazy. Originally in my index.jsp I had logic:forward name=welcome/ and the page was never forwarded to welcome.do. I changed my tag to logic:redirect name=welcome/ and the page was sent to welcome.do, but the page was blank. In my console window I get the message RequestProcessor-Processing a GET for path /welcome and no other errors. If I try the same web app in Netscape I get an error window with the message The document contained no data What am I missing or doing wrong? struts-config !-- === Global Forward Definitions -- global-forwards forward name=welcome path=/welcome.do/ /global-forwards !-- === Action Mapping Definitions -- action-mappings action path=/welcome type=binary.solutions.BinaryAction/ /action-mappings /struts-config -- - %@ taglib uri=/tags/struts-logic prefix=logic % logic:forward name=welcome/ %-- Redirect default requests to Welcome action. --% - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ** ** * This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential and privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank you ** ** * - 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: Can anyone help me out with this
package binary.solutions; import javax.servlet.*; import javax.servlet.http.*; import org.apache.struts.action.*; public final class BinaryAction extends Action { public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { HitModel hm = new HitModel(); hm.incrementHit(); request.setAttribute(Constants.HIT_KEY, hm); //forward control to the specied URI return (mapping.findForward(Welcome)); } } package binary.solutions; import java.sql.*; public final class HitModel { private Connection conn; public HitModel() { try { Class.forName(com.mysql.jdbc.Driver).newInstance(); conn = DriverManager.getConnection (jdbc:mysql://localhost/hittable); } catch(Exception exception) { } }public synchronized void incrementHit() { try { Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery(SELECT * FROM HITTABLE); rs.next(); int hitCounter = rs.getInt(HIT); stmt.executeQuery(UPDATE HITTABLE SET HIT = + String.valueOf(hitCounter)); } catch(Exception e) { e.printStackTrace(); } } } Jarnot Voytek Contr AU HQ/SC To: 'Struts Users Mailing List' Voytek.Jarnot@MAXW [EMAIL PROTECTED] ELL.AF.MILcc: Subject: RE: Can anyone help me out with this 02/04/2003 12:15 PM Please respond to Struts Users Mailing List what does binary.solutions.BinaryAction do? post the code. -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 11:08 AM To: Struts Users Mailing List Subject: Can anyone help me out with this This is driving me crazy. Originally in my index.jsp I had logic:forward name=welcome/ and the page was never forwarded to welcome.do. I changed my tag to logic:redirect name=welcome/ and the page was sent to welcome.do, but the page was blank. In my console window I get the message RequestProcessor-Processing a GET for path /welcome and no other errors. If I try the same web app in Netscape I get an error window with the message The document contained no data What am I missing or doing wrong? struts-config !-- === Global Forward Definitions -- global-forwards forward name=welcome path=/welcome.do/ /global-forwards !-- === Action Mapping Definitions -- action-mappings action path=/welcome type=binary.solutions.BinaryAction/ /action-mappings /struts-config -- - %@ taglib uri=/tags/struts-logic prefix=logic % logic:forward name=welcome/ %-- Redirect default requests to Welcome action. --% - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ** ** * This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential and privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly
RE: Can anyone help me out with this
you're returning mapping.findForward(Welcome) but there is no forward named Welcome. -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 11:33 AM To: Struts Users Mailing List Subject: RE: Can anyone help me out with this package binary.solutions; import javax.servlet.*; import javax.servlet.http.*; import org.apache.struts.action.*; public final class BinaryAction extends Action { public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { HitModel hm = new HitModel(); hm.incrementHit(); request.setAttribute(Constants.HIT_KEY, hm); //forward control to the specied URI return (mapping.findForward(Welcome)); } } package binary.solutions; import java.sql.*; public final class HitModel { private Connection conn; public HitModel() { try { Class.forName(com.mysql.jdbc.Driver).newInstance(); conn = DriverManager.getConnection (jdbc:mysql://localhost/hittable); } catch(Exception exception) { } }public synchronized void incrementHit() { try { Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery(SELECT * FROM HITTABLE); rs.next(); int hitCounter = rs.getInt(HIT); stmt.executeQuery(UPDATE HITTABLE SET HIT = + String.valueOf(hitCounter)); } catch(Exception e) { e.printStackTrace(); } } } Jarnot Voytek Contr AU HQ/SC To: 'Struts Users Mailing List' Voytek.Jarnot@MAXW [EMAIL PROTECTED] ELL.AF.MILcc: Subject: RE: Can anyone help me out with this 02/04/2003 12:15 PM Please respond to Struts Users Mailing List what does binary.solutions.BinaryAction do? post the code. -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 11:08 AM To: Struts Users Mailing List Subject: Can anyone help me out with this This is driving me crazy. Originally in my index.jsp I had logic:forward name=welcome/ and the page was never forwarded to welcome.do. I changed my tag to logic:redirect name=welcome/ and the page was sent to welcome.do, but the page was blank. In my console window I get the message RequestProcessor-Processing a GET for path /welcome and no other errors. If I try the same web app in Netscape I get an error window with the message The document contained no data What am I missing or doing wrong? struts-config !-- === Global Forward Definitions -- global-forwards forward name=welcome path=/welcome.do/ /global-forwards !-- === Action Mapping Definitions -- action-mappings action path=/welcome type=binary.solutions.BinaryAction/ /action-mappings /struts-config -- - %@ taglib uri=/tags/struts-logic prefix=logic % logic:forward name=welcome/ %-- Redirect default requests to Welcome action. --% - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED
RE: Can anyone help me out with this
So if I changed my global forward name = welcome to name = Welcome it should work? Sorry I think I tried that already Jarnot Voytek Contr AU HQ/SC To: 'Struts Users Mailing List' Voytek.Jarnot@MAXW [EMAIL PROTECTED] ELL.AF.MILcc: Subject: RE: Can anyone help me out with this 02/04/2003 12:36 PM Please respond to Struts Users Mailing List you're returning mapping.findForward(Welcome) but there is no forward named Welcome. -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 11:33 AM To: Struts Users Mailing List Subject: RE: Can anyone help me out with this package binary.solutions; import javax.servlet.*; import javax.servlet.http.*; import org.apache.struts.action.*; public final class BinaryAction extends Action { public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { HitModel hm = new HitModel(); hm.incrementHit(); request.setAttribute(Constants.HIT_KEY, hm); //forward control to the specied URI return (mapping.findForward(Welcome)); } } package binary.solutions; import java.sql.*; public final class HitModel { private Connection conn; public HitModel() { try { Class.forName(com.mysql.jdbc.Driver).newInstance(); conn = DriverManager.getConnection (jdbc:mysql://localhost/hittable); } catch(Exception exception) { } }public synchronized void incrementHit() { try { Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery(SELECT * FROM HITTABLE); rs.next(); int hitCounter = rs.getInt(HIT); stmt.executeQuery(UPDATE HITTABLE SET HIT = + String.valueOf(hitCounter)); } catch(Exception e) { e.printStackTrace(); } } } Jarnot Voytek Contr AU HQ/SC To: 'Struts Users Mailing List' Voytek.Jarnot@MAXW [EMAIL PROTECTED] ELL.AF.MILcc: Subject: RE: Can anyone help me out with this 02/04/2003 12:15 PM Please respond to Struts Users Mailing List what does binary.solutions.BinaryAction do? post the code. -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 11:08 AM To: Struts Users Mailing List Subject: Can anyone help me out with this This is driving me crazy. Originally in my index.jsp I had logic:forward name=welcome/ and the page was never forwarded to welcome.do. I changed my tag to logic:redirect name=welcome/ and the page was sent to welcome.do, but the page was blank. In my console window I get the message RequestProcessor-Processing a GET for path /welcome and no other errors. If I try the same web app in Netscape I get an error window with the message The document contained no data What am I missing or doing wrong? struts-config !-- === Global Forward Definitions -- global-forwards forward name=welcome path=/welcome.do/ /global-forwards !-- === Action Mapping Definitions -- action-mappings action path=/welcome
RE: Can anyone help me out with this
I think you're missing the point of how this all works. Here's what I understand to be the theory behind what you're trying to achieve: index.jsp [forwards to] BinaryAction [forwards to] the question marks are where you're getting lost. Typically your action definition would look like this: action path=/welcome type=binary.solutions.BinaryAction forward name= path=/hello.jsp/ /action So from your action you would return a findForward(...) which points to a jsp which is a forward local to that particular action (in most cases, and I assume this is what you're after). -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 11:46 AM To: Struts Users Mailing List Subject: RE: Can anyone help me out with this So if I changed my global forward name = welcome to name = Welcome it should work? Sorry I think I tried that already Jarnot Voytek Contr AU HQ/SC To: 'Struts Users Mailing List' Voytek.Jarnot@MAXW [EMAIL PROTECTED] ELL.AF.MILcc: Subject: RE: Can anyone help me out with this 02/04/2003 12:36 PM Please respond to Struts Users Mailing List you're returning mapping.findForward(Welcome) but there is no forward named Welcome. -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 11:33 AM To: Struts Users Mailing List Subject: RE: Can anyone help me out with this package binary.solutions; import javax.servlet.*; import javax.servlet.http.*; import org.apache.struts.action.*; public final class BinaryAction extends Action { public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { HitModel hm = new HitModel(); hm.incrementHit(); request.setAttribute(Constants.HIT_KEY, hm); //forward control to the specied URI return (mapping.findForward(Welcome)); } } package binary.solutions; import java.sql.*; public final class HitModel { private Connection conn; public HitModel() { try { Class.forName(com.mysql.jdbc.Driver).newInstance(); conn = DriverManager.getConnection (jdbc:mysql://localhost/hittable); } catch(Exception exception) { } }public synchronized void incrementHit() { try { Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery(SELECT * FROM HITTABLE); rs.next(); int hitCounter = rs.getInt(HIT); stmt.executeQuery(UPDATE HITTABLE SET HIT = + String.valueOf(hitCounter)); } catch(Exception e) { e.printStackTrace(); } } } Jarnot Voytek Contr AU HQ/SC To: 'Struts Users Mailing List' Voytek.Jarnot@MAXW [EMAIL PROTECTED] ELL.AF.MILcc: Subject: RE: Can anyone help me out with this 02/04/2003 12:15 PM Please respond to Struts Users Mailing List what does binary.solutions.BinaryAction do? post the code. -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED
RE: Can anyone help me out with this
thank you so much. You have cleared things up. Jarnot Voytek Contr AU HQ/SC To: 'Struts Users Mailing List' Voytek.Jarnot@MAXW [EMAIL PROTECTED] ELL.AF.MILcc: Subject: RE: Can anyone help me out with this 02/04/2003 12:51 PM Please respond to Struts Users Mailing List I think you're missing the point of how this all works. Here's what I understand to be the theory behind what you're trying to achieve: index.jsp [forwards to] BinaryAction [forwards to] the question marks are where you're getting lost. Typically your action definition would look like this: action path=/welcome type=binary.solutions.BinaryAction forward name= path=/hello.jsp/ /action So from your action you would return a findForward(...) which points to a jsp which is a forward local to that particular action (in most cases, and I assume this is what you're after). -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 11:46 AM To: Struts Users Mailing List Subject: RE: Can anyone help me out with this So if I changed my global forward name = welcome to name = Welcome it should work? Sorry I think I tried that already Jarnot Voytek Contr AU HQ/SC To: 'Struts Users Mailing List' Voytek.Jarnot@MAXW [EMAIL PROTECTED] ELL.AF.MILcc: Subject: RE: Can anyone help me out with this 02/04/2003 12:36 PM Please respond to Struts Users Mailing List you're returning mapping.findForward(Welcome) but there is no forward named Welcome. -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 11:33 AM To: Struts Users Mailing List Subject: RE: Can anyone help me out with this package binary.solutions; import javax.servlet.*; import javax.servlet.http.*; import org.apache.struts.action.*; public final class BinaryAction extends Action { public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { HitModel hm = new HitModel(); hm.incrementHit(); request.setAttribute(Constants.HIT_KEY, hm); //forward control to the specied URI return (mapping.findForward(Welcome)); } } package binary.solutions; import java.sql.*; public final class HitModel { private Connection conn; public HitModel() { try { Class.forName(com.mysql.jdbc.Driver).newInstance(); conn = DriverManager.getConnection (jdbc:mysql://localhost/hittable); } catch(Exception exception) { } }public synchronized void incrementHit() { try { Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery(SELECT * FROM HITTABLE); rs.next(); int hitCounter = rs.getInt(HIT); stmt.executeQuery(UPDATE HITTABLE SET HIT = + String.valueOf(hitCounter)); } catch(Exception e) { e.printStackTrace(); } } } Jarnot Voytek Contr AU HQ/SC To: 'Struts Users Mailing List' Voytek.Jarnot@MAXW [EMAIL PROTECTED] ELL.AF.MIL
Re: Can anyone help me out with this
Hi, Which app server are u using, if u are using tomcat check if the application has started http://localhost:8080/manager/list I dont know , but I may be wrong --- [EMAIL PROTECTED] wrote: When I attempt to forward to welcome.do the page remains at index.jsp and I get the following error. Can anyone shed some light on the matter? Im really stuck. Thank you for all for you time -- 2003-02-01 16:28:00 StandardHost[localhost]: ContainerBase.removeChild: stop: LifecycleException: Container StandardContext[/struttest] has not been started at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036) at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:420) -- struts-config !-- === Global Forward Definitions -- global-forwards forward name=welcome path=/welcome.do/ /global-forwards !-- === Action Mapping Definitions -- action-mappings action path=/welcome type=binary.solutions.BinaryAction/ /action-mappings /struts-config --- %@ taglib uri=/tags/struts-logic prefix=logic % logic:forward name=welcome/ %-- Redirect default requests to Welcome action. --% * This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential and privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank you * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential and privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank you * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] = A$HI$H __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can anyone help me out with this
Im using tomcat 4.1.8 and I checked and the app is running. Im trying to connect to a database to register the number of hits my page is getting. Could that be causing the problems? And what does LifecycleException mean? Ashish Kulkarni kulkarni_ash1312To: Struts Users Mailing List @yahoo.com [EMAIL PROTECTED] cc: 02/03/2003 03:31 Subject: Re: Can anyone help me out with this PM Please respond to Struts Users Mailing List Hi, Which app server are u using, if u are using tomcat check if the application has started http://localhost:8080/manager/list I dont know , but I may be wrong --- [EMAIL PROTECTED] wrote: When I attempt to forward to welcome.do the page remains at index.jsp and I get the following error. Can anyone shed some light on the matter? Im really stuck. Thank you for all for you time -- 2003-02-01 16:28:00 StandardHost[localhost]: ContainerBase.removeChild: stop: LifecycleException: Container StandardContext[/struttest] has not been started at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036) at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:420) -- struts-config !-- === Global Forward Definitions -- global-forwards forward name=welcome path=/welcome.do/ /global-forwards !-- === Action Mapping Definitions -- action-mappings action path=/welcome type=binary.solutions.BinaryAction/ /action-mappings /struts-config --- %@ taglib uri=/tags/struts-logic prefix=logic % logic:forward name=welcome/ %-- Redirect default requests to Welcome action. --% * This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential and privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank you * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential and privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error
RE: Can anyone help me out with this
Did you check your tomcat catalina logs. Sometimes you will find more info there. I am assuming you are receiving the following error in your browser. It sounds to me like the particual webapp instance has not been properly initialized. Brandon Goodin Phase Web and Multimedia P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 1:18 PM To: Struts Users Mailing List Subject: Can anyone help me out with this When I attempt to forward to welcome.do the page remains at index.jsp and I get the following error. Can anyone shed some light on the matter? Im really stuck. Thank you for all for you time -- 2003-02-01 16:28:00 StandardHost[localhost]: ContainerBase.removeChild: stop: LifecycleException: Container StandardContext[/struttest] has not been started at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036) at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.ja va:420) -- struts-config !-- === Global Forward Definitions -- global-forwards forward name=welcome path=/welcome.do/ /global-forwards !-- === Action Mapping Definitions -- action-mappings action path=/welcome type=binary.solutions.BinaryAction/ /action-mappings /struts-config --- %@ taglib uri=/tags/struts-logic prefix=logic % logic:forward name=welcome/ %-- Redirect default requests to Welcome action. --% * This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential and privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank you * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential and privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank you * - 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: Can anyone help me out with this
Yes I obtained the error below from the catalina log. No error shows up on the browser. I type in my url localhost:8080/strutTest and the page is sent to localhost:8080/strutTest/index.jsp and nothing more happens. I dont understand why its not being forwarded to 8080/strutTest/welcome.do Brandon Goodin [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] 02/03/2003 03:58 cc: PM Subject: RE: Can anyone help me out with this Please respond to Struts Users Mailing List Did you check your tomcat catalina logs. Sometimes you will find more info there. I am assuming you are receiving the following error in your browser. It sounds to me like the particual webapp instance has not been properly initialized. Brandon Goodin Phase Web and Multimedia P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 1:18 PM To: Struts Users Mailing List Subject: Can anyone help me out with this When I attempt to forward to welcome.do the page remains at index.jsp and I get the following error. Can anyone shed some light on the matter? Im really stuck. Thank you for all for you time -- 2003-02-01 16:28:00 StandardHost[localhost]: ContainerBase.removeChild: stop: LifecycleException: Container StandardContext[/struttest] has not been started at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036) at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.ja va:420) -- struts-config !-- === Global Forward Definitions -- global-forwards forward name=welcome path=/welcome.do/ /global-forwards !-- === Action Mapping Definitions -- action-mappings action path=/welcome type=binary.solutions.BinaryAction/ /action-mappings /struts-config --- %@ taglib uri=/tags/struts-logic prefix=logic % logic:forward name=welcome/ %-- Redirect default requests to Welcome action. --% * This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential and privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank you * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential and privileged and exempt from disclosure under
Re: Can anyone help me out with this
Hi, Normally i get a lifecycleexcpetion if the servlet is not properly intilaized, some times it happens that jsp work fine, but the servlets dnt work. if u have any servlet in your app try calling that servlet.. Ashish --- [EMAIL PROTECTED] wrote: Im using tomcat 4.1.8 and I checked and the app is running. Im trying to connect to a database to register the number of hits my page is getting. Could that be causing the problems? And what does LifecycleException mean? Ashish Kulkarni kulkarni_ash1312To: Struts Users Mailing List @yahoo.com [EMAIL PROTECTED] cc: 02/03/2003 03:31 Subject: Re: Can anyone help me out with this PM Please respond to Struts Users Mailing List Hi, Which app server are u using, if u are using tomcat check if the application has started http://localhost:8080/manager/list I dont know , but I may be wrong --- [EMAIL PROTECTED] wrote: When I attempt to forward to welcome.do the page remains at index.jsp and I get the following error. Can anyone shed some light on the matter? Im really stuck. Thank you for all for you time -- 2003-02-01 16:28:00 StandardHost[localhost]: ContainerBase.removeChild: stop: LifecycleException: Container StandardContext[/struttest] has not been started at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036) at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:420) -- struts-config !-- === Global Forward Definitions -- global-forwards forward name=welcome path=/welcome.do/ /global-forwards !-- === Action Mapping Definitions -- action-mappings action path=/welcome type=binary.solutions.BinaryAction/ /action-mappings /struts-config --- %@ taglib uri=/tags/struts-logic prefix=logic % logic:forward name=welcome/ %-- Redirect default requests to Welcome action. --% * This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential and privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank you * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * This message is intended
RE: Can anyone help me out with this
Hi, one more thing may be try it out in your jsp %@ taglib uri=/tags/struts-logic prefix=logic % logic:forward name=welcome.do/ --- [EMAIL PROTECTED] wrote: Yes I obtained the error below from the catalina log. No error shows up on the browser. I type in my url localhost:8080/strutTest and the page is sent to localhost:8080/strutTest/index.jsp and nothing more happens. I dont understand why its not being forwarded to 8080/strutTest/welcome.do Brandon Goodin [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] 02/03/2003 03:58 cc: PM Subject: RE: Can anyone help me out with this Please respond to Struts Users Mailing List Did you check your tomcat catalina logs. Sometimes you will find more info there. I am assuming you are receiving the following error in your browser. It sounds to me like the particual webapp instance has not been properly initialized. Brandon Goodin Phase Web and Multimedia P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 1:18 PM To: Struts Users Mailing List Subject: Can anyone help me out with this When I attempt to forward to welcome.do the page remains at index.jsp and I get the following error. Can anyone shed some light on the matter? Im really stuck. Thank you for all for you time -- 2003-02-01 16:28:00 StandardHost[localhost]: ContainerBase.removeChild: stop: LifecycleException: Container StandardContext[/struttest] has not been started at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643) at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036) at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.ja va:420) -- struts-config !-- === Global Forward Definitions -- global-forwards forward name=welcome path=/welcome.do/ /global-forwards !-- === Action Mapping Definitions -- action-mappings action path=/welcome type=binary.solutions.BinaryAction/ /action-mappings /struts-config --- %@ taglib uri=/tags/struts-logic prefix=logic % logic:forward name=welcome/ %-- Redirect default requests to Welcome action. --% * This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential and privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank you * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED