Tomcat 5.028 Struts problem - struts-config.xml does not start with a "/" character

Discussion in 'Java' started by Aleksandar Matijaca, Sep 18, 2004.

  1. Hi there,

    I am trying to deploy a war file on Tomcat on Windows XP, and I am
    having
    a problem as shown below. This war files deploys fine on Websphere
    5.01 on
    both XP and Linux -- what gives?? Any idea -- please help..

    Alex.



    WARNING: Duplicate name in Manifest: Class-Path
    Sep 17, 2004 9:13:05 PM
    org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings',
    returnNull=true
    Sep 17, 2004 9:13:05 PM
    org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources',
    returnNull=true
    Sep 17, 2004 9:13:06 PM org.apache.struts.action.ActionServlet
    initModuleConfig
    SEVERE: Parsing error processing resource path
    java.net.MalformedURLException: Path WEB-INF/struts-config.xml does
    not start with a "/" character
    at org.apache.catalina.core.ApplicationContext.getResource(ApplicationContext.java:469)
    at org.apache.catalina.core.ApplicationContextFacade.getResource(ApplicationContextFacade.java:176)
    at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:940)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)
    at javax.servlet.GenericServlet.init(GenericServlet.java:211)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
    at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
    at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
    at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:625)

    My struts-config looks like this:


    <?xml version="1.0" encoding="UTF-8"?>

    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD
    Struts Configuration 1.1//EN"


    "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">



    <struts-config>





    <data-sources>



    </data-sources>









    <!-- Form Beans -->



    <form-beans>



    <form-bean name="LoadAnalysisForm"
    type="org.apache.struts.validator.DynaValidatorForm">

    <form-property name="filename"
    type="org.apache.struts.upload.FormFile" />



    </form-bean>



    <form-bean name="PDFFormDetailsForm"
    type="org.apache.struts.validator.DynaValidatorForm">

    <form-property name="title" type="java.lang.String" />

    <form-property name="comment" type="java.lang.String" />

    <form-property name="audience" type="java.lang.String" />

    </form-bean>



    <form-bean name="SaveAnalysisForm"
    type="org.apache.struts.validator.DynaValidatorForm">

    <form-property name="title" type="java.lang.String" />

    <form-property name="comment" type="java.lang.String" />

    <form-property name="audience" type="java.lang.String" />

    </form-bean>



    <form-bean name="LoginBeanForm"
    type="org.apache.struts.validator.DynaValidatorForm">

    <form-property name="username" type="java.lang.String" />

    <form-property name="password" type="java.lang.String" />

    </form-bean>



    <form-bean name="FavoritesForm"
    type="org.apache.struts.validator.DynaValidatorForm">

    <form-property name="pageId" type="java.lang.String" />

    <form-property name="pageUrl" type="java.lang.String" />

    <form-property name="moduleId" type="java.lang.String" />

    <form-property name="method" type="java.lang.String" />

    <form-property name="resourceKey" type="java.lang.String" />

    </form-bean>



    <form-bean name="FergotPasswordForm"
    type="org.apache.struts.validator.DynaValidatorForm">

    <form-property name="username" type="java.lang.String" />

    </form-bean>



    <form-bean name="ChangePasswordForm"
    type="org.apache.struts.validator.DynaValidatorForm">

    <form-property name="oldpassword" type="java.lang.String" />

    <form-property name="newpassword1" type="java.lang.String" />

    <form-property name="newpassword2" type="java.lang.String" />

    </form-bean>



    <form-bean name="ConfirmRegistrationForm"
    type="org.apache.struts.validator.DynaValidatorForm">

    <form-property name="confirm" type="java.lang.String" />

    </form-bean>



    <form-bean name="UserProfile"
    type="com.polyorb.tipranavir.security.UserProfile"/>



    <form-bean name="RequestAccessForm"
    type="org.apache.struts.validator.DynaValidatorForm">

    <form-property name="email1" type="java.lang.String" />

    <form-property name="email2" type="java.lang.String" />

    <form-property name="password1" type="java.lang.String" />

    <form-property name="password2" type="java.lang.String" />

    <form-property name="title" type="java.lang.String" />

    <form-property name="firstname" type="java.lang.String" />

    <form-property name="lastname" type="java.lang.String" />

    <form-property name="address1" type="java.lang.String" />

    <form-property name="address2" type="java.lang.String" />

    <form-property name="city" type="java.lang.String" />

    <form-property name="region" type="java.lang.String" />

    <form-property name="state" type="java.lang.String" />

    <form-property name="province" type="java.lang.String" />

    <form-property name="country" type="java.lang.String" />

    <form-property name="postal" type="java.lang.String" />

    <form-property name="homephone" type="java.lang.String" />

    <form-property name="workphone" type="java.lang.String" />

    <form-property name="extension" type="java.lang.String" />

    <form-property name="status" type="java.lang.String" />

    <form-property name="treated" type="java.lang.String" />

    <form-property name="institutionname" type="java.lang.String" />

    <form-property name="iaddress1" type="java.lang.String" />

    <form-property name="iaddress2" type="java.lang.String" />

    <form-property name="icity" type="java.lang.String" />

    <form-property name="iprovince" type="java.lang.String" />

    <form-property name="iregion" type="java.lang.String" />

    <form-property name="istate" type="java.lang.String" />

    <form-property name="icountry" type="java.lang.String" />

    <form-property name="ipostal" type="java.lang.String" />

    <form-property name="iworkphone" type="java.lang.String" />

    <form-property name="iextension" type="java.lang.String" />

    <form-property name="tinstitutionname" type="java.lang.String" />

    <form-property name="tphysicianname" type="java.lang.String" />

    <form-property name="tmedicationlist" type="java.lang.String" />

    <form-property name="tphysiciansemail" type="java.lang.String" />

    <form-property name="tiaddress1" type="java.lang.String" />

    <form-property name="tiaddress2" type="java.lang.String" />

    <form-property name="ticity" type="java.lang.String" />

    <form-property name="tiprovince" type="java.lang.String" />

    <form-property name="tiregion" type="java.lang.String" />

    <form-property name="tistate" type="java.lang.String" />

    <form-property name="ticountry" type="java.lang.String" />

    <form-property name="tipostal" type="java.lang.String" />

    <form-property name="tiworkphone" type="java.lang.String" />

    <form-property name="tiextension" type="java.lang.String" />







    </form-bean>



    <form-bean name="AdministerUserRequestsForm"
    type="org.apache.struts.validator.DynaValidatorForm">

    <form-property name="userid" type="java.lang.String"/>

    <form-property name="method" type="java.lang.String"/>

    </form-bean>



    <form-bean name="PrepGlobalModel"
    type="org.apache.struts.validator.DynaValidatorForm">



    <form-property name="variant1" type="java.lang.String"
    initial="1.0" />

    <form-property name="method" type="java.lang.String" />

    <form-property name="country_calc" type="java.lang.String" /> <!--
    E60 -->

    <form-property name="currency" type="java.lang.String" /> <!-- E60
    -->

    <form-property name="3tc_pi_cost" type="java.lang.String" /> <!--
    E60 -->

    <form-property name="d4t_pi_cost" type="java.lang.String" /> <!--
    E61 -->

    <form-property name="kaletra_pi_percent" type="java.lang.String" />
    <!-- D70 -->

    <form-property name="kaletra_pi_daily" type="java.lang.String"
    /> <!-- E70 -->

    <form-property name="nelfanavir_pi_percent" type="java.lang.String"
    /> <!-- D71 -->

    <form-property name="nelfanavir_pi_daily" type="java.lang.String"
    /> <!-- E71 -->

    <form-property name="indinavir_pi_percent" type="java.lang.String"
    /> <!-- D72 -->

    <form-property name="indinavir_pi_daily" type="java.lang.String"
    /> <!-- E72 -->

    <form-property name="saquinavir_pi_percent" type="java.lang.String"
    /> <!-- D73 -->

    <form-property name="saquinavir_pi_daily" type="java.lang.String"
    /> <!-- E73 -->

    <form-property name="ritonavir_pi_percent" type="java.lang.String"
    /> <!-- D74 -->

    <form-property name="ritonavir_pi_daily" type="java.lang.String"
    /> <!-- E74 -->

    <form-property name="atzanavir_pi_percent" type="java.lang.String"
    /> <!-- D75 -->

    <form-property name="atzanavir_pi_daily" type="java.lang.String"
    /> <!-- E75 -->

    <form-property name="cohort_size" type="java.lang.String" /> <!--
    C49 -->

    <form-property name="costs" type="java.lang.String" /> <!-- K45
    -->

    <form-property name="life_years" type="java.lang.String" /> <!--
    K46 -->

    <form-property name="tipranavir_daily_cost_2"
    type="java.lang.String" /> <!-- E57 -->

    <form-property name="ritonavir_boost_tip_daily_cost"
    type="java.lang.String" /> <!-- E58 -->

    <form-property name="ritonavir_boost_pi_percent_use"
    type="java.lang.String" /> <!-- D77 -->

    <form-property name="ritonavir_boost_pi_daily_use"
    type="java.lang.String" /> <!-- E77 -->

    <form-property name="other_backbones_tipranavir_cost_1"
    type="java.lang.String" /> <!-- D83 -->

    <form-property name="other_backbones_tipranavir_cost_2"
    type="java.lang.String" /> <!-- D84 -->

    <form-property name="other_backbones_tipranavir_cost_3"
    type="java.lang.String" /> <!-- D80 -->

    <form-property name="other_backbones_tipranavir_cost_4"
    type="java.lang.String" /> <!-- D81 -->

    <form-property name="other_backbones_tipranavir_cost_5"
    type="java.lang.String" /> <!-- D82 -->

    <form-property name="other_backbones_tipranavir_cost_6"
    type="java.lang.String" /> <!-- D85 -->

    <form-property name="other_backbones_tipranavir_cost_7"
    type="java.lang.String" /> <!-- D86 -->

    <form-property name="other_backbones_tipranavir_cost_8"
    type="java.lang.String" /> <!-- D87 -->

    <form-property name="other_backbones_tipranavir_cost_9"
    type="java.lang.String" /> <!-- D88 -->

    <form-property name="other_backbones_tipranavir_cost_other"
    type="java.lang.String" /> <!-- D89 -->

    <form-property name="other_backbones_tipranavir_cost_1_daily"
    type="java.lang.String" /> <!-- E83 -->

    <form-property name="other_backbones_tipranavir_cost_2_daily"
    type="java.lang.String" /> <!-- E84 -->

    <form-property name="other_backbones_tipranavir_cost_3_daily"
    type="java.lang.String" /> <!-- E80 -->

    <form-property name="other_backbones_tipranavir_cost_4_daily"
    type="java.lang.String" /> <!-- E81 -->

    <form-property name="other_backbones_tipranavir_cost_5_daily"
    type="java.lang.String" /> <!-- E82 -->

    <form-property name="other_backbones_tipranavir_cost_6_daily"
    type="java.lang.String" /> <!-- E85 -->

    <form-property name="other_backbones_tipranavir_cost_7_daily"
    type="java.lang.String" /> <!-- E86 -->

    <form-property name="other_backbones_tipranavir_cost_8_daily"
    type="java.lang.String" /> <!-- E87 -->

    <form-property name="other_backbones_tipranavir_cost_9_daily"
    type="java.lang.String" /> <!-- E88 -->

    <form-property name="other_backbones_tipranavir_cost_other_daily"
    type="java.lang.String" /> <!-- E89 -->

    <form-property name="candida_input_proportion"
    type="java.lang.String" /> <!-- D6 -->

    <form-property name="candida_length_of_stay"
    type="java.lang.String" /> <!-- F6 -->

    <form-property name="candida_cost_per_hospital_day"
    type="java.lang.String" /> <!-- H6 -->

    <form-property name="candida_percent" type="java.lang.String"
    /> <!-- J6 -->

    <form-property name="cervical_cancer_input_proportion"
    type="java.lang.String" /> <!-- D7 -->

    <form-property name="cervical_cancer_length_of_stay"
    type="java.lang.String" /> <!-- F7 -->

    <form-property name="cervical_cancer_cost_per_hospital_day"
    type="java.lang.String" /> <!-- H7 -->

    <form-property name="cervical_cancer_percent"
    type="java.lang.String" /> <!-- J7 -->

    <form-property name="cmv_retinitis_input_proportion"
    type="java.lang.String" /> <!-- D8 -->

    <form-property name="cmv_retinitis_length_of_stay"
    type="java.lang.String" /> <!-- F8 -->

    <form-property name="cmv_retinitis_cost_per_hospital_day"
    type="java.lang.String" /> <!-- H8 -->

    <form-property name="cmv_retinitis_percent" type="java.lang.String"
    /> <!-- J8 -->

    <form-property name="cmv_other_input_proportion"
    type="java.lang.String" /> <!-- D9 -->

    <form-property name="cmv_other_length_of_stay"
    type="java.lang.String" /> <!-- F9 -->

    <form-property name="cmv_other_cost_per_hospital_day"
    type="java.lang.String" /> <!-- H9 -->

    <form-property name="cmv_other_percent" type="java.lang.String"
    /> <!-- J9 -->

    <form-property name="cocc_input_proportion" type="java.lang.String"
    /> <!-- D10 -->

    <form-property name="cocc_length_of_stay" type="java.lang.String"
    /> <!-- F10 -->

    <form-property name="cocc_cost_per_hospital_day"
    type="java.lang.String" /> <!-- H10 -->

    <form-property name="cocc_percent" type="java.lang.String" /> <!--
    J10 -->

    <form-property name="dementia_input_proportion"
    type="java.lang.String" /> <!-- D11 -->

    <form-property name="dementia_length_of_stay"
    type="java.lang.String" /> <!-- F11 -->

    <form-property name="dementia_cost_per_hospital_day"
    type="java.lang.String" /> <!-- H11 -->

    <form-property name="dementia_percent" type="java.lang.String"
    /> <!-- J11 -->

    <form-property name="herpes_input_proportion"
    type="java.lang.String" /> <!-- D12 -->

    <form-property name="herpes_length_of_stay" type="java.lang.String"
    /> <!-- F12 -->

    <form-property name="herpes_cost_per_hospital_day"
    type="java.lang.String" /> <!-- H12 -->

    <form-property name="herpes_percent" type="java.lang.String"
    /> <!-- J12 -->

    <form-property name="histoplasmosis_input_proportion"
    type="java.lang.String" /> <!-- D13 -->

    <form-property name="histoplasmosis_length_of_stay"
    type="java.lang.String" /> <!-- F13 -->

    <form-property name="histoplasmosis_cost_per_hospital_day"
    type="java.lang.String" /> <!-- H13 -->

    <form-property name="histoplasmosis_percent"
    type="java.lang.String" /> <!-- J13 -->

    <form-property name="cutaneous_input_proportion"
    type="java.lang.String" /> <!-- D14 -->

    <form-property name="cutaneous_length_of_stay"
    type="java.lang.String" /> <!-- F14 -->

    <form-property name="cutaneous_cost_per_hospital_day"
    type="java.lang.String" /> <!-- H14 -->

    <form-property name="cutaneous_percent" type="java.lang.String"
    /> <!-- J14 -->

    <form-property name="visceral_input_proportion"
    type="java.lang.String" /> <!-- D15 -->

    <form-property name="visceral_length_of_stay"
    type="java.lang.String" /> <!-- F15 -->

    <form-property name="visceral_cost_per_hospital_day"
    type="java.lang.String" /> <!-- H15 -->

    <form-property name="visceral_percent" type="java.lang.String"
    /> <!-- J15 -->

    <form-property name="lymphomao_input_proportion"
    type="java.lang.String" /> <!-- D16 -->

    <form-property name="lymphomao_length_of_stay"
    type="java.lang.String" /> <!-- F16 -->

    <form-property name="lymphomao_cost_per_hospital_day"
    type="java.lang.String" /> <!-- H16 -->

    <form-property name="lymphomao_percent" type="java.lang.String"
    /> <!-- J16 -->

    <form-property name="lymphomac_input_proportion"
    type="java.lang.String" /> <!-- D17 -->

    <form-property name="lymphomac_length_of_stay"
    type="java.lang.String" /> <!-- F17 -->

    <form-property name="lymphomac_cost_per_hospital_day"
    type="java.lang.String" /> <!-- H17 -->

    <form-property name="lymphomac_percent" type="java.lang.String"
    /> <!-- J17 -->

    <form-property name="mycobacterium_input_proportion"
    type="java.lang.String" /> <!-- D18 -->

    <form-property name="mycobacterium_length_of_stay"
    type="java.lang.String" /> <!-- F18 -->

    <form-property name="mycobacterium_cost_per_hospital_day"
    type="java.lang.String" /> <!-- H18 -->

    <form-property name="mycobacterium_percent" type="java.lang.String"
    /> <!-- J18 -->

    <form-property name="pneumoniap_input_proportion"
    type="java.lang.String" /> <!-- D19 -->

    <form-property name="pneumoniap_length_of_stay"
    type="java.lang.String" /> <!-- F19 -->

    <form-property name="pneumoniap_cost_per_hospital_day"
    type="java.lang.String" /> <!-- H19 -->

    <form-property name="pneumoniap_percent" type="java.lang.String"
    /> <!-- J19 -->

    <form-property name="multifocal_input_proportion"
    type="java.lang.String" /> <!-- D20 -->

    <form-property name="multifocal_length_of_stay"
    type="java.lang.String" /> <!-- F20 -->

    <form-property name="multifocal_cost_per_hospital_day"
    type="java.lang.String" /> <!-- H20 -->

    <form-property name="multifocal_percent" type="java.lang.String"
    /> <!-- J20 -->

    <form-property name="pneumoniar_input_proportion"
    type="java.lang.String" /> <!-- D21 -->

    <form-property name="pneumoniar_length_of_stay"
    type="java.lang.String" /> <!-- F21 -->

    <form-property name="pneumoniar_cost_per_hospital_day"
    type="java.lang.String" /> <!-- H21 -->

    <form-property name="pneumoniar_percent" type="java.lang.String"
    /> <!-- J21 -->

    <form-property name="salmonella_input_proportion"
    type="java.lang.String" /> <!-- D22 -->

    <form-property name="salmonella_length_of_stay"
    type="java.lang.String" /> <!-- F22 -->

    <form-property name="salmonella_cost_per_hospital_day"
    type="java.lang.String" /> <!-- H22 -->

    <form-property name="salmonella_percent" type="java.lang.String"
    /> <!-- J22 -->

    <form-property name="tuberculosis_input_proportion"
    type="java.lang.String" /> <!-- D23 -->

    <form-property name="tuberculosis_length_of_stay"
    type="java.lang.String" /> <!-- F23 -->

    <form-property name="tuberculosis_cost_per_hospital_day"
    type="java.lang.String" /> <!-- H23 -->

    <form-property name="tuberculosis_percent" type="java.lang.String"
    /> <!-- J23 -->

    <form-property name="toxo_input_proportion" type="java.lang.String"
    /> <!-- D24 -->

    <form-property name="toxo_length_of_stay" type="java.lang.String"
    /> <!-- F24 -->

    <form-property name="toxo_cost_per_hospital_day"
    type="java.lang.String" /> <!-- H24 -->

    <form-property name="toxo_percent" type="java.lang.String" /> <!--
    J24 -->

    <form-property name="wasting_input_proportion"
    type="java.lang.String" /> <!-- D25 -->

    <form-property name="wasting_length_of_stay"
    type="java.lang.String" /> <!-- F25 -->

    <form-property name="wasting_cost_per_hospital_day"
    type="java.lang.String" /> <!-- H25 -->

    <form-property name="wasting_percent" type="java.lang.String"
    /> <!-- J25 -->

    <form-property name="crypto_input_proportion"
    type="java.lang.String" /> <!-- D26 -->

    <form-property name="crypto_length_of_stay" type="java.lang.String"
    /> <!-- F26 -->

    <form-property name="crypto_cost_per_hospital_day"
    type="java.lang.String" /> <!-- H26 -->

    <form-property name="crypto_percent" type="java.lang.String"
    /> <!-- J26 -->

    <form-property name="cryptos_input_proportion"
    type="java.lang.String" /> <!-- D27 -->

    <form-property name="cryptos_length_of_stay"
    type="java.lang.String" /> <!-- F27 -->

    <form-property name="cryptos_cost_per_hospital_day"
    type="java.lang.String" /> <!-- H27 -->

    <form-property name="cryptos_percent" type="java.lang.String"
    /> <!-- J27 -->

    <form-property name="physicianvisit_cost" type="java.lang.String"
    /> <!-- K34 -->

    <form-property name="cd4count_cost" type="java.lang.String"
    /> <!-- K35 -->

    <form-property name="viralload_cost" type="java.lang.String"
    /> <!-- K36 -->

    <form-property name="patientworkup_cost" type="java.lang.String"
    /> <!-- K41 -->

    <form-property name="thaartregiment_cost" type="java.lang.String"
    /> <!-- I64 -->

    <form-property name="ehaartregiment_cost" type="java.lang.String"
    /> <!-- I65 -->

    <form-property name="uvl500" type="java.lang.String" /> <!-- C33
    -->

    <form-property name="uuvl500" type="java.lang.String" /> <!-- G33
    -->

    <form-property name="dvl500" type="java.lang.String" /> <!-- C34
    -->

    <form-property name="udvl500" type="java.lang.String" /> <!-- G34
    -->

    <form-property name="uvl351" type="java.lang.String" /> <!-- C35
    -->

    <form-property name="uuvl351" type="java.lang.String" /> <!-- G35
    -->

    <form-property name="dvl351" type="java.lang.String" /> <!-- C36
    -->

    <form-property name="udvl351" type="java.lang.String" /> <!-- G36
    -->

    <form-property name="uvl201" type="java.lang.String" /> <!-- C37
    -->

    <form-property name="uuvl201" type="java.lang.String" /> <!-- G37
    -->

    <form-property name="l10kuvl201" type="java.lang.String" /> <!--
    C38 -->

    <form-property name="ul10kuvl201" type="java.lang.String" /> <!--
    G38 -->

    <form-property name="g10kuvl201" type="java.lang.String" /> <!--
    C39 -->

    <form-property name="ug10kuvl201" type="java.lang.String" /> <!--
    G39 -->

    <form-property name="uvl50" type="java.lang.String" /> <!-- C40
    -->

    <form-property name="uuvl50" type="java.lang.String" /> <!-- G40
    -->

    <form-property name="l10kuvl50" type="java.lang.String" /> <!-- C41
    -->

    <form-property name="ul10kuvl50" type="java.lang.String" /> <!--
    G41 -->

    <form-property name="100kuvl50" type="java.lang.String" /> <!-- C42
    -->

    <form-property name="g100kuvl50" type="java.lang.String" /> <!--
    G42 -->

    <form-property name="g100kuv50200" type="java.lang.String" /> <!--
    C43 -->

    <form-property name="ug100kuvl50" type="java.lang.String" /> <!--
    G43 -->

    <form-property name="anyuvl50" type="java.lang.String" /> <!-- C44
    -->

    <form-property name="uanyuvl50" type="java.lang.String" /> <!-- G44
    -->

    </form-bean>

    <form-bean name="LanguageSelection"
    type="org.apache.struts.validator.DynaValidatorForm">

    <form-property name="language" type="java.lang.String" />

    </form-bean>





    </form-beans>





    <!-- Global Exceptions -->

    <global-exceptions>

    </global-exceptions>



    <!-- Global Forwards -->

    <global-forwards>

    <forward name="systemerror" path="/systemerror.jsp"></forward>

    </global-forwards>



    <!-- Action Mappings -->

    <action-mappings>

    <action path="/welcome" scope="session" name="UserProfile"
    type="com.polyorb.tipranavir.struts.WelcomeAction" parameter="method">

    <forward name="welcome" path="/welcome.jsp"/>

    </action>

    <action path="/welcome2" scope="session" name="UserProfile"
    type="com.polyorb.tipranavir.struts.Welcome2Action"
    parameter="method">

    <forward name="welcome2" path="/welcome2.jsp"/>

    </action>



    <action path="/loginAction" scope="session" name="LoginBeanForm"
    validate="true" input="/index.jsp"
    type="com.polyorb.tipranavir.struts.LoginAction" parameter="method">

    <forward name="loginok" path="/welcome.jsp"/>

    <forward name="requestaccess" path="/requestaccess.jsp"/>

    <forward name="returntoindex" path="/index.jsp"/>



    </action>



    <action path="/pdfActionInit" scope="session"
    name="PDFFormDetailsForm" validate="false"
    type="com.polyorb.tipranavir.struts.GeneratePDFInit" >

    <forward name="success" path="/makepdf.jsp" />

    </action>

    <action path="/pdfActionDoit" scope="session"
    name="PDFFormDetailsForm" validate="false"
    type="com.polyorb.tipranavir.struts.GeneratePrePDF" parameter="method"
    >


    <forward name="success" path="/viewpdf.jsp" />

    </action>



    <action path="/realyMakePDF" scope="session"
    name="PDFFormDetailsForm" validate="false"
    type="com.polyorb.tipranavir.struts.GeneratePDF" parameter="method" >

    </action>



    <action path="/selectLanguage" scope="session"
    name="LanguageSelection" validate="false" input="/index.jsp"
    type="com.polyorb.tipranavir.struts.LanguageSelectionAction"
    parameter="method">

    <forward name="selected" path="/index.jsp"/>

    </action>

    <action path="/requestAccessActionBI" scope="session"
    name="RequestAccessForm" validate="true" input="/requestaccessbi.jsp"
    type="com.polyorb.tipranavir.struts.RequestAccessAction"
    parameter="method">

    <forward name="notifyofaccess" path="/notifyofaccess.jsp"/>

    <forward name="alreadyin" path="/alreadyhaveaccess.jsp"/>

    </action>

    <action path="/favoritesAction" scope="session" name="FavoritesForm"
    validate="false" input="/favorites.jsp"
    type="com.polyorb.tipranavir.struts.RequestFavoriteAction"
    parameter="method">

    <forward name="executive_sum" path="/executive_sum.jsp" />

    <forward name="intro_overview" path="/intro_overview.jsp" />

    <forward name="1_1_treatment" path="/1_1_treatment.jsp" />

    <forward name="1_0_overview" path="/1_0_overview.jsp" />

    <forward name="1_2_2_monitoring" path="/1_2_2_monitoring.jsp" />

    <forward name="1_2_3_stages" path="/1_2_3_stages.jsp" />

    <forward name="1_2_3b_stages" path="/1_2_3b_stages.jsp" />

    <forward name="1_2_diag_staging" path="/1_2_diag_staging.jsp" />

    <forward name="1_3_1_epidemic" path="/1_3_1_epidemic.jsp" />

    <forward name="1_3_2_transmission" path="/1_3_2_transmission.jsp"
    />

    <forward name="1_3_3_changing" path="/1_3_3_changing.jsp" />

    <forward name="1_3_3b_changing" path="/1_3_3b_changing.jsp" />

    <forward name="1_3_global" path="/1_3_global.jsp" />

    <forward name="1_4_century" path="/1_4_century.jsp" />

    <forward name="1_5_references" path="/1_5_references.jsp" />

    <forward name="2_0_impact" path="/2_0_impact.jsp" />

    <forward name="2_1_mortality" path="/2_1_mortality.jsp" />

    <forward name="2_2_overview" path="/2_2_overview.jsp" />

    <forward name="2_3_directcosts" path="/2_3_directcosts.jsp" />

    <forward name="2_3b_directcosts" path="/2_3b_directcosts.jsp" />

    <forward name="2_4_indirectcosts" path="/2_4_indirectcosts.jsp" />

    <forward name="2_5_impact" path="/2_5_impact.jsp" />

    <forward name="2_6_costeffective" path="/2_6_costeffective.jsp" />

    <forward name="2_7_future" path="/2_7_future.jsp" />

    <forward name="2_8_references" path="/2_8_references.jsp" />

    <forward name="3_0_treatment" path="/3_0_treatment.jsp" />

    <forward name="3_1_antiretro" path="/3_1_antiretro.jsp" />

    <forward name="3_2_1_initiation" path="/3_2_1_initiation.jsp" />

    <forward name="3_2_2_monitoring" path="/3_2_2_monitoring.jsp" />

    <forward name="3_2_3_adjustments" path="/3_2_3_adjustments.jsp" />

    <forward name="3_2_guidelines" path="/3_2_guidelines.jsp" />

    <forward name="3_3_references" path="/3_3_references.jsp" />

    <forward name="4_0_summary" path="/4_0_summary.jsp" />

    <forward name="4_1_introduction" path="/4_1_introduction.jsp" />

    <forward name="4_2_mutations" path="/4_2_mutations.jsp" />

    <forward name="4_3_prevalence" path="/4_3_prevalence.jsp" />

    <forward name="4_4_impact" path="/4_4_impact.jsp" />

    <forward name="4_6_testing" path="/4_6_testing.jsp" />

    <forward name="4_7_specific" path="/4_7_specific.jsp" />

    <forward name="4_8_strategies" path="/4_8_strategies.jsp" />

    <forward name="4_9_unmetneeds" path="/4_9_unmetneeds.jsp" />

    <forward name="4_9_references" path="/4_9_references.jsp" />





    </action>

    <action path="/requestAccessAction" scope="session"
    name="RequestAccessForm" validate="true" input="/requestaccess.jsp"
    type="com.polyorb.tipranavir.struts.RequestAccessAction"
    parameter="method">

    <forward name="notifyofaccess" path="/notifyofaccess.jsp"/>

    <forward name="alreadyin" path="/alreadyhaveaccess.jsp"/>

    </action>

    <action path="/saveToPcAction" scope="session"
    name="SaveAnalysisForm" validate="false"
    type="com.polyorb.tipranavir.struts.SaveAnalysisAction" >

    <forward name="saved" path="/applications.jsp"/>

    </action>



    <action path="/okToSaveToPC" validate="false"
    type="com.polyorb.tipranavir.struts.PrepareToSaveToPC" >

    <forward name="oktosave" path="/savetopc.jsp"/>

    </action>

    <action path="/fergotPasswordAction" scope="session"
    name="FergotPasswordForm" validate="false"
    type="com.polyorb.tipranavir.struts.FergotPasswordAction"
    parameter="method">

    <forward name="notifyofsending" path="/notifyofsending.jsp"/>

    <forward name="noemail" path="/nosuchemail.jsp"/>

    </action>

    <action path="/changePasswordAction" scope="session"
    name="ChangePasswordForm" validate="true" input="/manage_profile.jsp"
    type="com.polyorb.tipranavir.struts.ChangePasswordAction"
    parameter="method">

    <forward name="changed" path="/manage_profile.jsp"/>

    </action>



    <action path="/excelConnectionAction"
    type="com.polyorb.tipranavir.struts.ExcelConnectionAction"
    parameter="method">

    <forward name="excel" path="/excel.jsp"/>

    </action>



    <action path="/preCalcs"
    type="com.polyorb.tipranavir.struts.PreCalcsAction" >

    <forward name="gocalcs" path="/globalhealtheconomic.jsp" />

    </action>

    <action path="/preCalcsHeor"
    type="com.polyorb.tipranavir.struts.PreCalcsAction" >

    <forward name="gocalcs" path="/heor.jsp" />

    </action>



    <action path="/confirmRegistration"
    type="com.polyorb.tipranavir.struts.ConfirmRegistration"
    name="ConfirmRegistrationForm" validate="false" parameter="confirm" >

    <forward name="confirm_registration" path="/registered.jsp" />

    <forward name="invalid_registration"
    path="/invalidregistration.jsp" />

    </action>

    <action path="/gettingUsersForManagement"
    type="com.polyorb.tipranavir.struts.ManageUsersAction" >

    <forward name="manageusers" path="siteadministrator.jsp" />

    </action>

    <action path="/adminUserRequests" scope="session"
    name="AdministerUserRequestsForm"
    type="com.polyorb.tipranavir.struts.AdminRequests" parameter="method">

    <forward name="admin" path="/gettingUsersForManagement.do"/>

    <forward name="badadmin" path="/index.jsp"/>

    </action>

    <action path="/logoutAction"
    type="com.polyorb.tipranavir.struts.LogOut" >

    <forward name="returntoindex" path="/index.jsp"/>

    </action>

    <action path="/inputCalcsGlobalModelDispatchAction" scope="session"
    type="com.polyorb.tipranavir.struts.InputCalcValuesDispatchAction"
    input="globalhealtheconomic.jsp" validate="true"
    name="PrepGlobalModel" parameter="method">

    <forward name="calcnow" path="/globalhealtheconomicresults.jsp" />

    <forward name="calcnowheor"
    path="/heorglobalhealtheconomicresults.jsp" />



    </action>



    <action path="/prepCalcsGlobalModelAction"
    type="com.polyorb.tipranavir.struts.OutputCalcValuesAction">

    <forward name="calcprep" path="/globalhealtheconomic.jsp" />

    </action>

    <action path="/requestAccessStep1"
    type="com.polyorb.tipranavir.struts.RequestAccessStep1Action" >

    <forward name="internet" path="/requestaccess.jsp"/>

    <forward name="intranet" path="/requestaccessbi.jsp"/>
    </action>

    <action path="/preLoadAction"
    type="com.polyorb.tipranavir.struts.PreLoadAnalysisAction">

    <forward name="goinputs" path="/loadfrompc.jsp"/>
    </action>

    <action path="/loadFromPcAction" scope="session"
    name="LoadAnalysisForm"
    type="com.polyorb.tipranavir.struts.LoadAnalysisAction" >

    <forward name="goanalysis" path="/globalhealtheconomic.jsp"/>

    <forward name="corrupt" path="/loadfrompc.jsp"/>

    </action>

    </action-mappings>



    <!-- Message Resources -->

    <message-resources parameter="tipranavir.resources.ApplicationResources"/>







    <plug-in className="org.apache.struts.validator.ValidatorPlugIn">

    <set-property property="pathnames"
    value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>

    </plug-in>



    </struts-config>
     
    Aleksandar Matijaca, Sep 18, 2004
    #1
    1. Advertising

  2. Aleksandar Matijaca

    Sudsy Guest

    Re: Tomcat 5.028 Struts problem - struts-config.xml does not startwith a "/" character

    Aleksandar Matijaca wrote:
    > Hi there,
    >
    > I am trying to deploy a war file on Tomcat on Windows XP, and I am
    > having
    > a problem as shown below. This war files deploys fine on Websphere
    > 5.01 on
    > both XP and Linux -- what gives?? Any idea -- please help..


    <snip>
    > SEVERE: Parsing error processing resource path
    > java.net.MalformedURLException: Path WEB-INF/struts-config.xml does
    > not start with a "/" character

    <snip>

    It's not complaining about what's IN your struts-config.xml file,
    merely that when you specify it in web.xml you omit the leading
    slash.
    You've probably got this in your web.xml:

    <init-param>
    <param-name>config</param-name>
    <param-value>WEB-INF/struts-config.xml</param-value>
    </init-param>
    ...

    when what you SHOULD have is this:

    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    ...

    What a difference a single character makes, eh?
     
    Sudsy, Sep 18, 2004
    #2
    1. Advertising

  3. Thank you Sudsy - that fixed it!! Funny how no "/" in front works
    fine for Websphere and Tomcat 4.0, but not for Tomcat 5.0...

    Thanks again,

    Alex.


    Sudsy <> wrote in message news:<>...
    > Aleksandar Matijaca wrote:
    > > Hi there,
    > >
    > > I am trying to deploy a war file on Tomcat on Windows XP, and I am
    > > having
    > > a problem as shown below. This war files deploys fine on Websphere
    > > 5.01 on
    > > both XP and Linux -- what gives?? Any idea -- please help..

    >
    > <snip>
    > > SEVERE: Parsing error processing resource path
    > > java.net.MalformedURLException: Path WEB-INF/struts-config.xml does
    > > not start with a "/" character

    > <snip>
    >
    > It's not complaining about what's IN your struts-config.xml file,
    > merely that when you specify it in web.xml you omit the leading
    > slash.
    > You've probably got this in your web.xml:
    >
    > <init-param>
    > <param-name>config</param-name>
    > <param-value>WEB-INF/struts-config.xml</param-value>
    > </init-param>
    > ...
    >
    > when what you SHOULD have is this:
    >
    > <init-param>
    > <param-name>config</param-name>
    > <param-value>/WEB-INF/struts-config.xml</param-value>
    > </init-param>
    > ...
    >
    > What a difference a single character makes, eh?
     
    Aleksandar Matijaca, Sep 19, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stewart
    Replies:
    3
    Views:
    3,481
    Stewart
    Aug 18, 2005
  2. CSharpner
    Replies:
    0
    Views:
    1,048
    CSharpner
    Apr 9, 2007
  3. Replies:
    0
    Views:
    5,318
  4. lightning
    Replies:
    0
    Views:
    587
    lightning
    Jul 14, 2008
  5. Oliver Hirschi

    Tomcat does not start after update

    Oliver Hirschi, Jul 16, 2008, in forum: Java
    Replies:
    7
    Views:
    659
    John B. Matthews
    Jul 19, 2008
Loading...

Share This Page