I upgraded from STRUTS 1.0 and I also upgraded to tomcat 6.0 from a 4.xx

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]

Reply via email to