IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Tomcat et TomEE Java Discussion :

Pb action servlet après déploiement sur Tomcat


Sujet :

Tomcat et TomEE Java

  1. #1
    Membre à l'essai
    Inscrit en
    Juin 2006
    Messages
    35
    Détails du profil
    Informations forums :
    Inscription : Juin 2006
    Messages : 35
    Points : 14
    Points
    14
    Par défaut Pb action servlet après déploiement sur Tomcat
    Bonjour,

    j'ai cherché une solution à mon problème dans les sujets existants du forum, et je ne vois toujours pas ce qui coince.

    J'essaie de déployer mon projet en local sur Tomcat via un build.xml :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    <project name="IntraNantes" default="war" basedir="." >
        <description>
        IntraNantes
        </description>
     
        <property environment="env"/>
        <property name="filename" value="intranantes"/>
        <property name="webinf" location="WEB-INF"/>
        <property name="src" location="WEB-INF/src"/>
        <property name="build" location="WEB-INF/classes"/>
        <property name="lib" location="WEB-INF/lib"/>
        <property name="server" location="${env.CATALINA_HOME}"/>
        <property name="servlet.jar" location="${server}/common/lib/servlet-api.jar"/>
        <property name="deploy" location="${server}/webapps/${filename}.war"/>
     
        <target name="init">
            <tstamp/>
            <delete dir="${build}"/>
            <mkdir dir="${build}"/>
        </target>
     
        <path id="project.class.path" >
            <pathelement path="${env.classpath}"/>
            <fileset dir="${lib}">
                <include name="**/*.jar"/>
            </fileset>
            <pathelement location="${src}"/>
            <pathelement location="${build}"/>
            <pathelement location="${servlet.jar}"/>
        </path>
     
        <target name="compile" depends="init" description="compile the source" >
            <echo message="compiling files"/>
            <javac srcdir="${src}" destdir="${build}" classpathref="project.class.path"/>
            <echo message="copying other src xml and property files to classes"/>
            <copy toDir="${build}">
                <fileset dir="${src}">
                    <include name="**/*.properties"/>
                    <include name="**/*.xml"/>
                </fileset>
                <fileset dir="${webinf}">
                    <include name="**/*.properties"/>
                    <include name="**/*.xml"/>
                    <include name="**/*.tld"/>
                    <include name="**/*.dtd"/>
                </fileset>
            </copy>
        </target>
     
        <target name="war" depends="compile" description="Builds and deploys application war file">
            <delete dir="${server}/webapps/${filename}"/>
            <war webxml="WEB-INF/web.xml" destfile="${deploy}" update="true">
                <fileset dir=".">
                    <include name="**/**.gif"/>
                    <include name="**/**.GIF"/>
                    <include name="**/**.jsp"/>
                    <include name="**/**.css"/>
                    <include name="**/**.js"/>
                    <include name="**/**.html"/>
                </fileset>
                <webinf dir="WEB-INF" includes="**" />
            </war>
        </target>
     
    </project>
    J'ai vérifié, le fichier servlet-api.jar se trouve bien dans le répertoire spécifié dans $servlet.jar.

    Le war se déploie bien dans le répertoire webapps du serveur.
    Le projet apparaît bien dans le panneau d'administration de Tomcat.

    Et c'est quand je clique sur le lien de l'application qu'apparaît le célèbre message :
    Etat HTTP 404 - Servlet action n'est pas disponible.

    type Rapport d'état

    message Servlet action n'est pas disponible.

    description La ressource demandée (Servlet action n'est pas disponible.) n'est pas disponible.
    Apache Tomcat/5.5.16
    Si vous avez une idée...

    Voici le web.xml :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    <?xml version="1.0" encoding="ISO-8859-1"?>
     
    <!DOCTYPE web-app
      PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
      "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
     
    <web-app>
      <display-name>IntraNantes</display-name>
     
    	<session-config>
    		<session-timeout>30</session-timeout>
    	</session-config>
     
      <!-- Standard Action Servlet Configuration (with debugging) -->
      <servlet>
        <servlet-name>action</servlet-name>
        <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
        <init-param>
          <param-name>config</param-name>
          <param-value>/WEB-INF/struts-config.xml</param-value>
        </init-param>
        <init-param>
          <param-name>debug</param-name>
          <param-value>2</param-value>
        </init-param>
        <init-param>
          <param-name>detail</param-name>
          <param-value>2</param-value>
        </init-param> 
        <load-on-startup>2</load-on-startup>
      </servlet>
     
     
      <!-- Standard Action Servlet Mapping -->
      <servlet-mapping>
        <servlet-name>action</servlet-name>
        <url-pattern>*.do</url-pattern>
      </servlet-mapping>
     
     
      <!-- The Usual Welcome File List -->
      <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
      </welcome-file-list>
     
     
      <!-- Struts Tag Library Descriptors -->
      <taglib>
        <taglib-uri>/tags/struts-bean</taglib-uri>
        <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
      </taglib>
     
      <taglib>
        <taglib-uri>/tags/struts-html</taglib-uri>
        <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
      </taglib>
     
      <taglib>
        <taglib-uri>/tags/struts-logic</taglib-uri>
        <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
      </taglib>
     
      <taglib>
        <taglib-uri>/tags/struts-nested</taglib-uri>
        <taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
      </taglib>
     
      <taglib>
        <taglib-uri>/tags/struts-tiles</taglib-uri>
        <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
      </taglib>
     
      <taglib>
        <taglib-uri>/tags/struts-layout</taglib-uri>
        <taglib-location>/WEB-INF/struts-layout.tld</taglib-location>
      </taglib>
     
    </web-app>
    et le struts-config.xml :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    <?xml version="1.0" encoding="ISO-8859-1" ?>
     
    <!DOCTYPE struts-config PUBLIC
              "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
              "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">
     
    <struts-config>
     
    <!-- ================================================ Définitions des Form Beans -->
     
        <form-beans>
    		<form-bean name="emptyForm"                  type="com.intranantes.presentation.form.EmptyForm"/>
    		<form-bean name="identificationForm"         type="com.intranantes.presentation.form.IdentificationForm"/>
    		<form-bean name="oubliMdpForm"               type="com.intranantes.presentation.form.OubliMdpForm"/>		
    		<form-bean name="technologieForm"            type="com.intranantes.presentation.form.TechnologieForm"/> 
    		<form-bean name="profilForm"                 type="com.intranantes.presentation.form.ProfilForm"/> 
    		<form-bean name="rechercheEntitesForm"       type="com.intranantes.presentation.form.RechercheEntitesForm"/>
    		<form-bean name="entiteForm"                 type="com.intranantes.presentation.form.EntiteForm"/>
    		<form-bean name="rechercheContactsForm"      type="com.intranantes.presentation.form.RechercheContactsForm"/>
    		<form-bean name="contactForm"                type="com.intranantes.presentation.form.ContactForm"/>
    		<form-bean name="rechercheClientsForm"       type="com.intranantes.presentation.form.RechercheClientsForm"/>
    		<form-bean name="clientForm"                 type="com.intranantes.presentation.form.ClientForm"/>
    		<form-bean name="rechercheActionsForm"       type="com.intranantes.presentation.form.RechercheActionsForm"/>
    		<form-bean name="actionFormForm"             type="com.intranantes.presentation.form.ActionFormForm"/>
    		<form-bean name="collaborateurForm"          type="com.intranantes.presentation.form.CollaborateurForm"/> 
    		<form-bean name="boiteForm"                  type="com.intranantes.presentation.form.BoiteForm"/>
    		<form-bean name="rechercheCollaborateurForm" type="com.intranantes.presentation.form.RechercheCollaborateurForm"/>
    		<form-bean name="rechercheEntretienForm"     type="com.intranantes.presentation.form.RechercheEntretienForm"/>
    		<form-bean name="entretienForm"              type="com.intranantes.presentation.form.EntretienForm"/>
    		<form-bean name="rechercheReservationForm"   type="com.intranantes.presentation.form.RechercheReservationForm"/>
    		<form-bean name="reservationForm"            type="com.intranantes.presentation.form.ReservationForm"/>
    		<form-bean name="rechercheAffaireForm"       type="com.intranantes.presentation.form.RechercheAffaireForm"/>
    		<form-bean name="affaireForm"                type="com.intranantes.presentation.form.AffaireForm"/>
    		<form-bean name="ajouterAffaireForm"         type="com.intranantes.presentation.form.AjouterAffaireForm"/>
    		<form-bean name="modifierAffaireForm"        type="com.intranantes.presentation.form.ModifierAffaireForm"/>
    		<form-bean name="rechercheArchiveForm"       type="com.intranantes.presentation.form.RechercheArchiveForm"/>
    		<form-bean name="archiveForm"       type="com.intranantes.presentation.form.ArchiveForm"/>
        </form-beans>
     
     
    <!-- ========================================= Définitions des Global Exception -->
     
        <global-exceptions>
        </global-exceptions>
     
     
    <!-- =========================================== Définitions des Global Forward -->
     
        <global-forwards>
    		<forward name="welcome" path="/Connexion.do"/>
        </global-forwards>
     
     
    <!-- =========================================== Défintions de Action Mapping -->
     
        <action-mappings>
     
    		<action path="/Connexion" forward="/Identification.do?reqCode=afficherIdentification"/>
     
    		<action path="/Erreur" forward="/pages/erreur.jsp"/>
     
    		<action path="/Main" forward="/pages/main.jsp"/>
     
    		<action 
    			path="/Identification"
    			type="com.intranantes.presentation.action.IdentificationAction"
    			parameter="reqCode"
    			input="/pages/identification.jsp"
    			name="identificationForm"
    			scope="session"
    			attribute="identificationForm"
    			validate="true">
    			<forward name="afficherIdentification" path="/pages/identification.jsp" />
    			<forward name="afficherMain"           path="/pages/main.jsp" />	
    		</action>
     
    		<action 
    			path="/OubliMdp"
    			type="com.intranantes.presentation.action.OubliMdpAction"
    			parameter="reqCode"
    			input="/pages/oubli_mdp.jsp"
    			name="oubliMdpForm"
    			scope="session"
    			attribute="oubliMdpForm"
    			validate="true">
    			<forward name="afficherOubliMdp"          path="/pages/oubli_mdp.jsp" />
    			<forward name="afficherConnexion"         path="/Connexion.do" />	
    			<forward name="afficherConfirmationEnvoi" path="/pages/confirmation_envoi_mdp.jsp" />
    		</action>
     
    		<action 
    			path="/Technologie"
    			type="com.intranantes.presentation.action.TechnologieAction"
    			parameter="reqCode"
    			input="/pages/edi_technologie.jsp"
    			name="technologieForm"
    			scope="session"
    			attribute="technologieForm"
    			validate="true">
    			<forward name="listerTechnologies"   path="/pages/lis_technologies.jsp" />	
    			<forward name="relisterTechnologies" path="/Technologie.do?reqCode=afficherListeTechnologies" />
    			<forward name="editerTechnologie"    path="/pages/edi_technologie.jsp" />
    			<forward name="reediterTechnologie"  path="/Technologie.do?reqCode=afficherEditionTechnologie" />
    		</action>
     
    		<action 
    			path="/TechnologiePop"
    			type="com.intranantes.presentation.action.TechnologieAction"
    			parameter="reqCode"
    			input="/pages/edi_technologie_pop.jsp"
    			name="technologieForm"
    			scope="session"
    			attribute="technologieForm"
    			validate="true">	
    			<forward name="editerTechnologie"   path="/pages/edi_technologie_pop.jsp" />
    			<forward name="reediterTechnologie" path="/TechnologiePop.do?reqCode=afficherEditionTechnologie" />
    			<forward name="retour"              path="/pages/fermer.jsp" />
    		</action>
     
    		<action 
    			path="/ProfilPop"
    			type="com.intranantes.presentation.action.ProfilAction"
    			parameter="reqCode" 
    			input="/pages/edi_profil_pop.jsp"
    			name="profilForm"
    			scope="session"
    			attribute="profilForm"
    			validate="true">
    			<forward name="editerProfil" path="/pages/edi_profil_pop.jsp" />
    			<forward name="retour"       path="/pages/fermer.jsp" />	
    		</action>
     
    		<action 
    			path="/RechercheEntites"
    			type="com.intranantes.presentation.action.RechercheEntitesAction"
    			parameter="reqCode"
    			input="/pages/lis_entites.jsp"
    			name="rechercheEntitesForm"
    			scope="session"
    			attribute="rechercheEntitesForm"
    			validate="true">
    			<forward name="listerEntites"   path="/pages/lis_entites.jsp" />
    			<forward name="relisterEntites" path="/RechercheEntites.do?reqCode=afficherListeEntites" />	
    		</action>
     
    		<action 
    			path="/Entite"
    			type="com.intranantes.presentation.action.EntiteAction"
    			parameter="reqCode"
    			input="/pages/edi_entite.jsp"
    			name="entiteForm"
    			scope="session"
    			attribute="entiteForm"
    			validate="true">
    			<forward name="editerEntite"    path="/pages/edi_entite.jsp" />
    			<forward name="editerEntitePop" path="/pages/edi_entite_pop.jsp" />
    			<forward name="relisterEntites" path="/RechercheEntites.do?reqCode=afficherListeEntites" />
    			<forward name="retour"          path="/pages/fer_entite_pop.jsp" />
    		</action>
     
    		<action 
    			path="/EntitePop"
    			type="com.intranantes.presentation.action.EntiteAction"
    			parameter="reqCode"
    			input="/pages/edi_entite_pop.jsp"
    			name="entiteForm"
    			scope="session"
    			attribute="entiteForm"
    			validate="true">
    			<forward name="editerEntite"       path="/pages/edi_entite_pop.jsp" />
    			<forward name="retour"             path="/pages/fer_entite_pop.jsp" />
    		</action>
     
    		<action 
    			path="/RechercheContacts"
    			type="com.intranantes.presentation.action.RechercheContactsAction"
    			parameter="reqCode"
    			input="/pages/lis_contacts.jsp"
    			name="rechercheContactsForm"
    			scope="session"
    			attribute="rechercheContactsForm"
    			validate="true">
    			<forward name="listerContacts"   path="/pages/lis_contacts.jsp" />
    			<forward name="relisterContacts" path="/RechercheContacts.do?reqCode=afficherListeContacts" />	
    		</action>
     
    		<action 
    			path="/Contact"
    			type="com.intranantes.presentation.action.ContactAction"
    			parameter="reqCode"
    			input="/pages/edi_contact.jsp"
    			name="contactForm"
    			scope="session"
    			attribute="contactForm"
    			validate="true">
    			<forward name="editerContact"    path="/pages/edi_contact.jsp" />
    			<forward name="editerContactPop" path="/pages/edi_contact_pop.jsp" />
    			<forward name="reediterContact"  path="/Contact.do?reqCode=afficherEditionContact" />
    			<forward name="relisterContacts" path="/RechercheContacts.do?reqCode=afficherListeContacts" />
    		</action>
     
    		<action 
    			path="/ContactPop"
    			type="com.intranantes.presentation.action.ContactAction"
    			parameter="reqCode"
    			input="/pages/edi_contact_pop.jsp"
    			name="contactForm"
    			scope="session"
    			attribute="contactForm"
    			validate="true">
    			<forward name="editerContactPop"   path="/pages/edi_contact_pop.jsp" />
    			<forward name="reediterContactPop" path="/ContactPop.do?reqCode=afficherEditionContact" />
    			<forward name="retour"             path="/pages/fermer.jsp" />
    		</action>
     
    		<action 
    			path="/RechercheClients"
    			type="com.intranantes.presentation.action.RechercheClientsAction"
    			parameter="reqCode"
    			input="/pages/lis_clients.jsp"
    			name="rechercheClientsForm"
    			scope="session"
    			attribute="rechercheClientsForm"
    			validate="true">
    			<forward name="listerClients"   path="/pages/lis_clients.jsp" />
    			<forward name="relisterClients" path="/RechercheClients.do?reqCode=afficherListeClients" />	
    		</action>
     
    		<action 
    			path="/Client"
    			type="com.intranantes.presentation.action.ClientAction"
    			parameter="reqCode"
    			input="/pages/edi_client.jsp"
    			name="clientForm"
    			scope="session"
    			attribute="clientForm"
    			validate="true">
    			<forward name="editerClient"    path="/pages/edi_client.jsp" />
    			<forward name="reediterClient"  path="/Client.do?reqCode=afficherEditionClient" />
    			<forward name="relisterClients" path="/RechercheClients.do?reqCode=afficherListeClients" />
    		</action>
     
    		<action 
    			path="/RechercheActions"
    			type="com.intranantes.presentation.action.RechercheActionsAction"
    			parameter="reqCode"
    			input="/pages/lis_actions.jsp"
    			name="rechercheActionsForm"
    			scope="session"
    			attribute="rechercheActionsForm"
    			validate="true">
    			<forward name="listerActions"   path="/pages/lis_actions.jsp" />
    			<forward name="relisterActions" path="/RechercheActions.do?reqCode=afficherListeActions" />	
    		</action>
     
    		<action 
    			path="/Action"
    			type="com.intranantes.presentation.action.ActionAction"
    			parameter="reqCode"
    			input="/pages/edi_action.jsp"
    			name="actionFormForm"
    			scope="session"
    			attribute="actionFormForm"
    			validate="true">
    			<forward name="editerAction"    path="/pages/edi_action.jsp" />
    			<forward name="reediterAction"  path="/Action.do?reqCode=afficherEditionAction" />
    			<forward name="relisterActions" path="/RechercheActions.do?reqCode=afficherListeActions" />
    		</action>
     
    		<action 
    			path="/ActionPop"
    			type="com.intranantes.presentation.action.ActionAction"
    			parameter="reqCode"
    			input="/pages/edi_action_pop.jsp"
    			name="actionFormForm"
    			scope="session"
    			attribute="actionFormForm"
    			validate="true">
    			<forward name="editerActionPop"   path="/pages/edi_action_pop.jsp" />
    			<forward name="reediterActionPop" path="/ActionPop.do?reqCode=afficherEditionAction" />
    			<forward name="retour"            path="/pages/fer_action_pop.jsp" />
    		</action>
     
    		<action 
    			path="/Collaborateur"
    			type="com.intranantes.presentation.action.CollaborateurAction"
    			parameter="reqCode"
    			name="collaborateurForm"
    			scope="session"
    			attribute="collaborateurForm"
    			validate="false">
    			<forward name="afficheCollaborateur"     path="/pages/rech_collaborateurs.jsp"/>		
    			<forward name="afficheAnnuaire"          path="/pages/lis_annuaire.jsp"/>
    			<forward name="ajouterCollaborateur"     path="/pages/cre_collaborateur.jsp"/>
    			<forward name="visualiserEdition"        path="/Collaborateur.do?reqCode=visualiserEdition"/>
    			<forward name="visualiserEdition2"       path="/Collaborateur.do?reqCode=visualiserEdition2"/>
    			<forward name="visualiserListe"          path="/RechercheCollaborateur.do?reqCode=afficheCollaborateur"/>
    			<forward name="visualiserListeRecherche" path="/RechercheCollaborateur.do?reqCode=rechercheCollaborateur"/>
    		</action>
     
    		<action 
    			path="/RechercheCollaborateur"
    			type="com.intranantes.presentation.action.RechercheCollaborateurAction"
    			parameter="reqCode"
    			name="rechercheCollaborateurForm"
    			scope="session"
    			attribute="rechercheCollaborateurForm"
    			validate="false">
    			<forward name="visualiserListe"         path="/RechercheCollaborateur.do?reqCode=afficheCollaborateur" />
    			<forward name="afficheAnnuaire"         path="/pages/lis_annuaire.jsp"/>
    			<forward name="afficheCollaborateur"    path="/pages/rech_collaborateurs.jsp"/>		
    			<forward name="rechercheCollaborateur"  path="/pages/rech_collaborateurs.jsp"/>		
    		</action>
     
    		<action 
    			path="/Entretien"
    			type="com.intranantes.presentation.action.EntretienAction"
    			parameter="reqCode"
    			name="entretienForm"
    			scope="session"
    			attribute="entretienForm"
    			validate="false">
    			<forward name="ajouterEntretien"     path="/pages/cre_entretien.jsp"/>
    			<forward name="visualiserListe"      path="/RechercheEntretien.do?reqCode=afficheEntretien"/>
    			<forward name="visualiserEdition"    path="/Entretien.do?reqCode=visualiserEdition"/>
    			<forward name="visualiserEdition2"   path="/Entretien.do?reqCode=visualiserEdition2"/>
    		</action>
     
    		<action 
    			path="/RechercheEntretien"
    			type="com.intranantes.presentation.action.RechercheEntretienAction"
    			parameter="reqCode"
    			name="rechercheEntretienForm"
    			scope="session"
    			attribute="rechercheEntretienForm"
    			validate="false">
    			<forward name="visualiserListe"      path="/RechercheEntretien.do?reqCode=afficheEntretien" />
    			<forward name="afficheEntretien"     path="/pages/rech_entretiens.jsp"/>		
    			<forward name="afficheMesEntretien"  path="/RechercheEntretien.do?reqCode=afficheMesEntretien"/>		
    			<forward name="rechercheEntretien"   path="/pages/rech_entretiens.jsp"/>		
    		</action>
     
    		<action 
    			path="/Reservation"
    			type="com.intranantes.presentation.action.ReservationAction"
    			parameter="reqCode"
    			name="reservationForm"
    			scope="session"
    			attribute="reservationForm"
    			validate="false">
    			<forward name="ajouterReservation" path="/pages/cre_reservation.jsp"/>
    			<forward name="visualiserListe"    path="/RechercheReservation.do?reqCode=afficheReservation"/>
    			<forward name="visualiserEdition"  path="/Reservation.do?reqCode=visualiserEdition"/>
    			<forward name="visualiserEdition2" path="/Reservation.do?reqCode=visualiserEdition2"/>
    		</action>
     
    		<action 
    			path="/RechercheReservation"
    			type="com.intranantes.presentation.action.RechercheReservationAction"
    			parameter="reqCode"
    			name="rechercheReservationForm"
    			scope="session"
    			attribute="rechercheReservationForm"
    			validate="false">
    			<forward name="visualiserListe"       path="/RechercheReservation.do?reqCode=afficheReservation" />
    			<forward name="afficheReservation"    path="/pages/rech_reservations.jsp"/>		
    			<forward name="rechercheReservation"  path="/pages/rech_reservations.jsp"/>		
    		</action>
     
    		<action 
    			path="/AjouterAffaire"
    			type="com.intranantes.presentation.action.AjouterAffaireAction"
    			parameter="reqCode"
    			name="ajouterAffaireForm"
    			scope="session"
    			attribute="ajouterAffaireForm"
    			validate="false">
    			<forward name="ajouterAffaire"     path="/pages/cre_affaire.jsp"/>
    			<forward name="visualiserListe"    path="/RechercheAffaire.do?reqCode=afficheAffaire"/>
    			<forward name="visualiserAjouter"  path="/AjouterAffaire.do?reqCode=visualiserAjouter"/>
    			<forward name="visualiserAjouter2" path="/AjouterAffaire.do?reqCode=visualiserAjouter2"/>
    		</action>
     
    		<action 
    			path="/ModifierAffaire"
    			type="com.intranantes.presentation.action.ModifierAffaireAction"
    			parameter="reqCode"
    			name="modifierAffaireForm"
    			scope="session"
    			attribute="modifierAffaireForm"
    			validate="false">
    			<forward name="modifierAffaire"             path="/pages/modif_affaire.jsp"/>
    			<forward name="archiverDesarchiverAffaire"  path="/ModifierAffaire.do?reqCode=archiverDesarchiverAffaire"/>
    			<forward name="visualiserListe"             path="/RechercheAffaire.do?reqCode=afficheAffaire"/>
    			<forward name="visualiserListeArchive"      path="/RechercheArchive.do?reqCode=afficheArchive"/>
    			<forward name="visualiserModifier"          path="/ModifierAffaire.do?reqCode=visualiserModifier"/>
    			<forward name="visualiserModifier2"         path="/ModifierAffaire.do?reqCode=visualiserModifier2"/>
    		</action>
     
    		<action 
    			path="/RechercheAffaire"
    			type="com.intranantes.presentation.action.RechercheAffaireAction"
    			parameter="reqCode"
    			name="rechercheAffaireForm"
    			scope="session"
    			attribute="rechercheAffaireForm"
    			validate="false">
    			<forward name="visualiserListe"   path="/RechercheAffaire.do?reqCode=afficheAffaire" />
    			<forward name="afficheAffaire"    path="/pages/rech_affaires.jsp"/>	
    			<forward name="visualiserListe2"  path="/RechercheAffaire.do?reqCode=afficheAffaire2" />
    			<forward name="afficheAffaire2"   path="/pages/rech_affaires.jsp"/>		
    			<forward name="rechercheAffaire"  path="/pages/rech_affaires.jsp"/>		
    		</action>
     
    		<action 
    			path="/Archive"
    			type="com.intranantes.presentation.action.ArchiveAction"
    			parameter="reqCode"
    			name="archiveForm"
    			scope="session"
    			attribute="archiveForm"
    			validate="false">
    			<forward name="ajouterArchive"     path="/pages/cre_archive.jsp"/>
    			<forward name="visualiserListe"    path="/RechercheArchive.do?reqCode=afficheArchive"/>
    			<forward name="visualiserEdition"  path="/Archive.do?reqCode=visualiserEdition"/>
    			<forward name="visualiserEdition2" path="/Archive.do?reqCode=visualiserEdition2"/>
    		</action>
     
    		<action 
    			path="/RechercheArchive"
    			type="com.intranantes.presentation.action.RechercheArchiveAction"
    			parameter="reqCode"
    			name="rechercheArchiveForm"
    			scope="session"
    			attribute="rechercheArchiveForm"
    			validate="false">
    			<forward name="visualiserListe"   path="/RechercheArchive.do?reqCode=afficheArchive" />
    			<forward name="afficheArchive"    path="/pages/rech_archives.jsp"/>		
    			<forward name="rechercheArchive"  path="/pages/rech_archives.jsp"/>		
    		</action>
     
    		<action 
    			path="/Boite"
    			type="com.intranantes.presentation.action.BoiteAction"
    			parameter="reqCode"
    			name="boiteForm"
    			scope="session"
    			attribute="boiteForm"
    			validate="false">
    			<forward name="visualiserEdition"     path="/Boite.do?reqCode=visualiserEdition"/>
    			<forward name="visualiserEdition2"    path="/Boite.do?reqCode=visualiserEdition2"/>
    			<forward name="ajouterBoite"          path="/pages/cre_boite.jsp"/>
    			<forward name="afficheBoite"          path="/pages/lis_boites.jsp"/>
    			<forward name="visualiserListe"       path="/Boite.do?reqCode=afficheBoite"/>
    		</action>
     
        </action-mappings>	
     
    <!-- ============================================= Controller Configuration -->
     
        <controller processorClass="org.apache.struts.tiles.TilesRequestProcessor"/>
     
     
    <!-- ======================================== Message Resources Definitions -->
     
        <message-resources parameter="resources.ApplicationResources" />
     
     
    <!-- =============================================== Plug Ins Configuration -->
     
        <plug-in className="org.apache.struts.tiles.TilesPlugin" >
     
          <!-- Path to XML definition file -->
          <set-property property="definitions-config"
                           value="/WEB-INF/tiles-defs.xml" />
          <!-- Set Module-awareness to true -->
          <set-property property="moduleAware" value="true" />
        </plug-in>
     
     
      <!-- =================================================== Validator plugin -->
     
      <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
        <set-property
            property="pathnames"
            value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
      </plug-in>
     
      <plug-in className="com.intranantes.ConfigurationPlugin"/>	
     
    </struts-config>

  2. #2
    Rédacteur

    Profil pro
    Inscrit en
    Juin 2003
    Messages
    4 184
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2003
    Messages : 4 184
    Points : 5 059
    Points
    5 059
    Par défaut
    salut

    verfie si les jars de struts sont dans le dossier WEB-INF/lib

  3. #3
    Membre à l'essai
    Inscrit en
    Juin 2006
    Messages
    35
    Détails du profil
    Informations forums :
    Inscription : Juin 2006
    Messages : 35
    Points : 14
    Points
    14
    Par défaut
    Citation Envoyé par Sniper37
    salut

    verifie si les jars de struts sont dans le dossier WEB-INF/lib
    A priori oui :
    struts-1.2.9.jar
    Struts-Layout-1.0.jar

    Il en manque ?

    Pas simple, et pourtant pas compliqué non plus.

Discussions similaires

  1. Pb de déploiement sur tomcat
    Par Mengué georges dans le forum Tomcat et TomEE
    Réponses: 4
    Dernier message: 16/04/2008, 20h21
  2. Action juste après déploiement
    Par olontsotra dans le forum Tomcat et TomEE
    Réponses: 2
    Dernier message: 06/03/2008, 14h27
  3. [version 3.2] Déploiement sur Tomcat ?
    Par ghohm dans le forum Eclipse Java
    Réponses: 3
    Dernier message: 03/07/2007, 09h25
  4. Problème de connection SQL après déploiement sur IIS
    Par Beaveroli dans le forum Général Dotnet
    Réponses: 7
    Dernier message: 24/05/2007, 10h12
  5. [Servlet]Déploiement sur Tomcat
    Par GLDavid dans le forum Tomcat et TomEE
    Réponses: 3
    Dernier message: 31/05/2006, 14h47

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo