On 6/28/07, Søren Blidorf <[EMAIL PROTECTED]> wrote:
I upgraded from STRUTS 1.0 and I also upgraded to tomcat 6.0 from a 4.xx
So possibly something might have gone wrong when you upgraded Tomcat. Without any error messages its hard to help though. I would start by trying to get more logging output from both Tomcat when it starts up and your webapp. Going from Struts 1.0 to 1.2 is going to mean you're going to have issues to resolve (some things were deprecated in 1.1 and removed in 1.2.x). We don't have notes for upgrading from 1.0 - but there are reasonable notes for 1.1 --> 1.2 here: http://wiki.apache.org/struts/StrutsUpgrade One thing I noticed is your message resources - for 1.2 these should be configured in the struts-config.xml rather than the web.xml Niall
Soren ----- Original Message ----- From: "Niall Pemberton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <user@struts.apache.org> Sent: Thursday, June 28, 2007 3:31 AM Subject: Re: Problems with my struts_config.xml? On 6/27/07, Søren Blidorf <[EMAIL PROTECTED]> wrote: > Can anybody see if something is wrong with this struts-config.xml. I have just upgraded struts to 1.2.9. > > And a simple .do call does not work. Nothing happends. I get a blank screen and no errors is reported i the logs Just out of interest what version of Struts were you upgrading from? Also were you just upgrading Struts - or were you changing other things as well (like upgading your servlet container)? Niall > ******************************************* > <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd"> > <struts-config> > > <!-- ================================================ Form Bean Definitions --> > > <form-beans type="org.apache.struts.action.ActionFormBean"> > <!-- Most of the form-beans has been removed --> > <form-bean name="SearchForm" type="um.forms.sob.SearchForm" /> > </form-beans> > > > <!-- ========================================= Global Exception Definitions --> > > <global-exceptions> > <!-- sample exception handler > <exception > key="expired.password" > type="app.ExpiredPasswordException" > path="/changePassword.jsp"/> > end sample --> > </global-exceptions> > > > <!-- =========================================== Global Forward Definitions --> > > <global-forwards type="org.apache.struts.action.ActionForward"> > <forward name="success" path="index.jsp" redirect="true" /> > <forward name="error" redirect="true" path="/error/index.jsp" /> > </global-forwards> > > > <!-- =========================================== Action Mapping Definitions --> > > <action-mappings type="org.apache.struts.action.ActionMapping"> > <!-- Admin START --> > <action path="/admin/addFormBean" type="org.apache.struts.actions.AddFormBeanAction" /> > <action path="/admin/addForward" type="org.apache.struts.actions.AddForwardAction" /> > <action path="/admin/addMapping" type="org.apache.struts.actions.AddMappingAction" /> > <action path="/admin/reload" type="org.apache.struts.actions.ReloadAction" /> > <action path="/admin/removeFormBean" type="org.apache.struts.actions.RemoveFormBeanAction" /> > <action path="/admin/removeForward" type="org.apache.struts.actions.RemoveForwardAction" /> > <action path="/admin/removeMapping" type="org.apache.struts.actions.RemoveMappingAction" /> > <!-- Admin SLUT --> > > <!-- Most of the mappings has been removed --> > <action parameter="" name="SearchForm" path="/sob/search" input="/sob/um.jsp" validate="true" type="um.actions.sob.SearchAction" scope="request"><forward name="success" redirect="false" path="/sob/search.jsp" /><forward name="error" redirect="false" path="/sob/searchError.jsp" /></action> > > > </action-mappings> > > <controller processorClass="org.apache.struts.action.RequestProcessor" contentType="text/html"/> > > <message-resources parameter="resources.application"/> > > > </struts-config> > > ******************************************* > > BR. > > Soren, DK > --------------------------------------------------------------------- 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]