Sujet :
Struts 1 Java
-
Membre habitué
Problème avec un lien
J'ai un lien sur une page vers une autre page. En cliquant sur ce lien Tomcat me sort l'erreur suivante :
type Rapport d'état
message Invalid path /LancerConsigneOrdonnanceur was requested
description La ressource demandée (Invalid path /LancerConsigneOrdonnanceur was requested) n'est pas disponible.
Je ne comprend pas pourquoi car je suis sur que c juste. En fait ça marche sur mon portable mais des que je veux mettre ça sur mon pc il me sort cette erreur.
Je poste mon action struts :
1 2 3 4 5 6 7
| <action path="/LancerConsigneOrdonnanceur"
type="fr.edition.eni.action.LancerConsigneOrdonnanceur"
name="acceuilForm"
scope="request"
input="/Ordonanceur.jsp">
<forward name="success" path="/Ordonanceur.jsp" ></forward>
</action> |
L'appel au lien dans la JSP appelante :
1 2 3
| <html:link action="./LancerConsigneOrdonnanceur.do">
Consignes Ordonnanceurs
</html:link> |
Quelqu'un saura d'ou ça peut provenir ??
Merci
En voici la log :
GRAVE: Parse Error at line 768 column 17: The content of element type "struts-config" must match "(display-name?,description?,data-sources?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)".
org.xml.sax.SAXParseException: The content of element type "struts-config" must match "(display-name?,description?,data-sources?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)".
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:2048)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:932)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
at org.apache.commons.digester.Digester.parse(Digester.java:1572)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:738)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:687)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:333)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:589)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:494)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1179)
at sun.reflect.GeneratedMethodAccessor289.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1377)
at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:814)
at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:343)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:168)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
20 sept. 2006 14:50:20 org.apache.struts.tiles.TilesPlugin initDefinitionsFactory
INFO: Tiles definition factory loaded for module ''.
20 sept. 2006 14:50:20 org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validator-rules.xml'
20 sept. 2006 14:50:20 org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validation.xml'
20 sept. 2006 14:50:20 org.apache.catalina.core.StandardContext start
INFO: Le conteneur org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/WebApplication2] a déjà été démarré
20 sept. 2006 14:50:21 org.apache.struts.tiles.TilesRequestProcessor initDefinitionsMapping
INFO: Tiles definition factory found for request processor ''.
20 sept. 2006 14:50:24 org.apache.struts.action.RequestProcessor processMapping
GRAVE: Invalid path /LancerConsigneOrdonnanceur was requested
-
Membre éprouvé
le struts-config est mal formaté !
il faut respecté l'ordre des différentes balises
fait voir le fichier
-
Membre habitué
Voici mon fichier struts-config :
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 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598
| <?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>
<data-sources>
<data-source type="org.apache.tomcat.dbcp.dbcp.BasicDataSource" key="enidb">
<set-property property="driverClassName" value="com.mysql.jdbc.Driver"/>
<set-property property="url" value="jdbc:mysql://localhost:3306/strutseni?autoReconnect=true" />
<set-property property="username" value="root"/>
<set-property property="password" value="saoussen123"/>
<set-property property="maxActive" value="200"/>
<set-property property="maxWait" value="5000"/>
<set-property property="defaultAutoCommit" value="false"/>
<set-property property="defaultReadOnly" value="false"/>
</data-source>
</data-sources>
<form-beans>
<form-bean name="administrationForm"
type="fr.edit.eni.actionform.AdministrationForm" />
<form-bean name="acceuilForm"
type="fr.edit.eni.actionform.AcceuilForm" />
<form-bean name="meteoForm"
type="fr.edit.eni.actionform.MeteoForm" />
<form-bean name="dossierForm"
type="fr.edit.eni.actionform.DossierForm" />
<form-bean name="procedureForm"
type="fr.edit.eni.actionform.ProcedureForm" />
<form-bean name="lienForm"
type="fr.edit.eni.actionform.LienForm" />
<form-bean name="contactForm"
type="fr.edit.eni.actionform.ContactForm" />
<form-bean name="astreinteForm"
type="fr.edit.eni.actionform.AstreinteForm" />
<form-bean name="personnelForm"
type="fr.edit.eni.actionform.PersonnelForm" />
<form-bean name="consignesTempForm"
type="fr.edit.eni.actionform.ConsignesTempForm" />
<form-bean name="shiftFormSansValidation"
type="fr.edit.eni.actionform.ShiftFormSansValidation" />
<form-bean name="shiftForm"
type="fr.edit.eni.actionform.ShiftForm" />
<!-- Bean du moteur de recherche -->
<form-bean name="MoteurRechercheForm"
type="fr.edit.eni.actionform.MoteurRechercheForm" />
<!-- <form-bean name="moteurDeRechercheForm"
type="fr.edit.eni.actionform.MoteurDeRechercheForm" />-->
<form-bean name="consignesTempFormSansValidation"
type="fr.edit.eni.actionform.ConsignesTempFormSansValidation" />
<form-bean name="ConsignesSchedulingForm"
type="fr.edit.eni.actionform.ConsignesSchedulingForm" />
<form-bean name="ConsignesSchedulingModifForm"
type="fr.edit.eni.actionform.ConsignesSchedulingModifForm" />
<!-- Bean de formulaire du moteur de recherche -->
<form-bean name="moteurDeRechercheConsignesScheduling"
type="fr.edit.eni.actionform.MoteurRechercheConsignesForm" />
<form-bean name="MeteoAppliForm"
type="fr.edit.eni.actionform.MeteoAppliForm" />
</form-beans>
<global-exceptions>
</global-exceptions>
<global-forwards>
<forward name="welcome" path="/Welcome.do"/>
<forward name="LancerAcceuilAction" path="/LancerAcceuilAction.do" redirect="true"/>
</global-forwards>
<action-mappings>
<action path="/Welcome" forward="/welcomeStruts.jsp"/>
<action path="/switch"
type="fr.edition.eni.action.SwitchLangAction"
name="acceuilForm"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/LancerAcceuilAction.do"></forward>
<forward name="erreur" path="/erreur.jsp"></forward>
</action>
<action path="/LancerConsignesPermanentesAction"
type="fr.edition.eni.action.LancerConsignesPermanentesAction"
name="acceuilForm"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/LancerPermanentesInstructions.jsp"></forward>
<forward name="erreur" path="/acceuilForm.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/accesNonAutorise.jsp"></forward>
</action>
<action path="/LancerForumFaq"
type="fr.edition.eni.action.LancerForumFaq"
name="acceuilForm"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/LancerForumFaq.jsp"></forward>
<forward name="erreur" path="/acceuilForm.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/accesNonAutorise.jsp"></forward>
</action>
<action path="/LancerForumAction"
type="fr.edition.eni.action.LancerForumAction"
name="acceuilForm"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/LancerForum.jsp"></forward>
<forward name="erreur" path="/acceuilForm.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/accesNonAutorise.jsp"></forward>
</action>
<action path="/LancerMeteoAction"
type="fr.edition.eni.action.LancerMeteoAction"
name="acceuilForm"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/meteoForm.jsp"></forward>
<forward name="erreur" path="/acceuilForm.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/nonAutoriséAdmi.jsp"></forward>
</action>
<action path="/LancerMeteoSansAuthentification"
type="fr.edition.eni.action.LancerMeteoSansAuthentification"
name="acceuilForm"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/meteoForm.jsp"></forward>
</action>
<action path="/ShiftAjoutAction"
type="fr.edition.eni.action.ShiftAjoutAction"
name="shiftForm"
scope="request"
input="/LancerShiftSansAuthentification.do">
<forward name="success" path="/LancerShiftSansAuthentification.do" redirect="true"></forward>
<forward name="erreur" path="/LancerAffichageShift.do"></forward>
</action>
<!--Action pour supprimer un shift de la base -->
<action path="/ShiftSuppressionAction"
type="fr.edition.eni.action.ShiftSuppressionAction"
name="shiftFormSansValidation"
scope="request"
input="/LancerShiftSansAuthentification.do">
<forward name="success" path="/LancerShiftSansAuthentification.do" redirect="true"></forward>
<forward name="erreur" path="/shiftForm.jsp"></forward>
</action>
<action path="/LancerShiftAction"
type="fr.edition.eni.action.LancerShiftAction"
name="acceuilForm"
scope="request"
input="/shiftForm.jsp">
<forward name="success" path="/afficheShift.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/accesNonAutorise.jsp"></forward>
</action>
<action path="/LancerAffichageShift"
type="fr.edition.eni.action.LancerAffichageShift"
name="acceuilForm"
scope="request"
input="/LancerShiftAction.do">
<forward name="success" path="/shiftForm.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/accesNonAutorise.jsp"></forward>
</action>
<!-- Action de lancement du formulaire des shifts sans effectuer d'authentification -->
<action path="/LancerShiftSansAuthentification"
type="fr.edition.eni.action.LancerShiftSansAuthentification"
name="acceuilForm"
scope="request"
input="/LancerShiftAction.do">
<forward name="success" path="/shiftForm.jsp"></forward>
</action>
<action path="/LancerModificationShiftAction"
type="fr.edition.eni.action.LancerModificationShiftAction"
name="shiftFormSansValidation"
scope="request"
input="/LancerShiftSansAuthentification.do">
<forward name="success" path="/modificationShifts.jsp" ></forward>
<forward name="erreur" path="/acceuilForm.jsp"></forward>
</action>
<action path="/ShiftModificationAction"
type="fr.edition.eni.action.ShiftModificationAction"
name="shiftFormSansValidation"
scope="request"
input="/LancerShiftSansAuthentification.do">
<forward name="success" path="/LancerModificationShiftAction.do" ></forward>
<forward name="erreur" path="/acceuilForm.jsp"></forward>
</action>
<action path="/EnregistrerModificationsShiftsAction"
type="fr.edition.eni.action.EnregistrerModificationsShiftsAction"
name="shiftFormSansValidation"
scope="request"
input="/modificationShifts.jsp">
<forward name="success" path="/LancerShiftSansAuthentification.do"></forward>
<forward name="erreur" path="/LancerShiftSansAuthentification.do"></forward>
</action>
<action path="/LancerConsignesTemporaires"
type="fr.edition.eni.action.LancerConsignesTemporaires"
name="acceuilForm"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/consignesTemporaires.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/accesNonAutorise.jsp"></forward>
</action>
<action path="/LancerModificationConsignes"
type="fr.edition.eni.action.LancerModificationConsignes"
name="administrationForm"
scope="request"
input="/LancerAdministrationActionSansAuthentification.do">
<forward name="success" path="/modificationConsignes.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/accesNonAutorise.jsp"></forward>
</action>
<action path="/ConsigneModificationAction"
type="fr.edition.eni.action.ConsigneModificationAction"
name="consignesTempFormSansValidation"
scope="request"
input="/LancerAdministrationActionSansAuthentification.do">
<forward name="success" path="/LancerModificationConsignes.do" ></forward>
<forward name="erreur" path="/acceuilForm.jsp"></forward>
</action>
<action path="/EnregistrerModificationsConsigneAction"
type="fr.edition.eni.action.EnregistrerModificationsConsigneAction"
name="consignesTempFormSansValidation"
scope="request"
input="/modificationConsignes.jsp">
<forward name="success" path="/LancerAdministrationActionSansAuthentification.do"></forward>
<forward name="erreur" path="/LancerAdministrationActionSansAuthentification.do"></forward>
</action>
<action path="/ContactAjoutAction"
type="fr.edition.eni.action.ContactAjoutAction"
name="contactForm"
scope="request"
input="/LancerAdministrationActionSansAuthentification.do">
<forward name="success" path="/LancerAdministrationActionSansAuthentification.do" redirect="true"></forward>
<forward name="erreur" path="/administrationForm.jsp"></forward>
</action>
<action path="/ContactSuppressionAction"
type="fr.edition.eni.action.ContactSuppressionAction"
name="administrationForm"
scope="request"
input="/administrationForm.jsp">
<forward name="success" path="/LancerAdministrationActionSansAuthentification.do" redirect="true"></forward>
<forward name="erreur" path="/administrationForm.jsp"></forward>
</action>
<action path="/LancerContactAction"
type="fr.edition.eni.action.LancerContactAction"
name="administrationForm"
scope="request"
input="/administrationForm.jsp">
<forward name="success" path="/contacts.jsp"></forward>
</action>
<action path="/AstreinteAjoutAction"
type="fr.edition.eni.action.AstreinteAjoutAction"
name="astreinteForm"
scope="request"
input="/LancerAdministrationActionSansAuthentification.do">
<forward name="success" path="/LancerAdministrationActionSansAuthentification.do" redirect="true"></forward><!--a modifier-->
<forward name="erreur" path="/LancerAdministrationActionSansAuthentification.do"></forward>
</action>
<action path="/AstreinteSuppressionAction"
type="fr.edition.eni.action.AstreinteSuppressionAction"
name="administrationForm"
scope="request"
input="/LancerAdministrationActionSansAuthentification.do">
<forward name="success" path="/LancerAdministrationActionSansAuthentification.do" redirect="true"></forward><!--a modifier-->
<forward name="erreur" path="/LancerAdministrationActionSansAuthentification.do"></forward>
</action>
<action path="/LancerAstreinteAction"
type="fr.edition.eni.action.LancerAstreinteAction"
name="administrationForm"
scope="request"
input="/administrationForm.jsp">
<forward name="success" path="/Astreintes.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/accesNonAutorise.jsp"></forward>
</action>
<action path="/LancerLienAction"
type="fr.edition.eni.action.LancerLienAction"
name="administrationForm"
scope="request"
input="/administrationForm.jsp">
<forward name="success" path="/LancerAcceuilAction.do"></forward>
</action>
<!--/////////////////////////////// Traitement de la Meteo //////////////////////////////////-->
<action path="/MeteoAjoutAction"
type="fr.edition.eni.action.MeteoAjoutAction"
name="meteoForm"
scope="request"
input="/LancerMeteoSansAuthentification.do">
<forward name="success" path="/LancerAcceuilAction.do" redirect="true"></forward>
<forward name="erreur" path="/meteoForm.jsp"></forward>
</action>
<!--Action ConsignesTemp-->
<action path="/ConsignesTempAjoutAction"
type="fr.edition.eni.action.ConsignesTempAjoutAction"
name="consignesTempForm"
scope="request"
input="/LancerAdministrationActionSansAuthentification.do">
<forward name="success" path="/LancerAdministrationActionSansAuthentification.do" redirect="true"></forward>
<forward name="erreur" path="/LancerAdministrationActionSansAuthentification.do"></forward>
</action>
<action path="/ConsignesTempSuppressionAction"
type="fr.edition.eni.action.ConsignesTempSuppressionAction"
name="administrationForm"
scope="request"
input="/LancerAdministrationActionSansAuthentification.do">
<forward name="success" path="/LancerAdministrationActionSansAuthentification.do" redirect="true"></forward>
<forward name="erreur" path="/LancerAdministrationActionSansAuthentification.do"></forward>
</action>
<action path="/PersonnelAjoutAction"
type="fr.edition.eni.action.PersonnelAjoutAction"
name="personnelForm"
scope="request"
input="/LancerAdministrationActionSansAuthentification.do">
<forward name="success" path="/LancerAdministrationActionSansAuthentification.do" redirect="true"></forward>
<forward name="erreur" path="/LancerAdministrationActionSansAuthentification.do"></forward>
</action>
<action path="/PersonnelSuppressionAction"
type="fr.edition.eni.action.PersonnelSuppressionAction"
name="administrationForm"
scope="request"
input="/LancerAdministrationActionSansAuthentification.do">
<forward name="success" path="/LancerAdministrationActionSansAuthentification.do" redirect="true"></forward>
<forward name="erreur" path="/administrationForm.jsp"></forward>
</action>
<action path="/LancerAdministrationAction"
type="fr.edition.eni.action.LancerAdministrationAction"
name="administrationForm"
scope="request"
input="/administrationForm.jsp">
<forward name="success" path="/administrationForm.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/nonAutoriséAdmi.jsp"></forward>
</action>
<action path="/LancerAdministrationActionSansAuthentification"
type="fr.edition.eni.action.LancerAdministrationActionSansAuthentification"
name="administrationForm"
scope="request"
input="/administrationForm.jsp">
<forward name="success" path="/administrationForm.jsp"></forward>
</action>
<action path="/LancerAcceuilAction"
type="fr.edition.eni.action.LancerAcceuilAction"
name="acceuilForm"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/acceuilForm.jsp" ></forward>
</action>
<!-- <action path="/LancerResultatRechercheAction"
type="fr.edition.eni.action.LancerResultatRechercheAction"
name="moteurDeRechercheForm"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/resultatRecherche.jsp"></forward>
<forward name="erreur" path="/RechercheSansResultat.jsp"></forward>
</action>-->
</action-mappings>
<action path="/LancerConsigneOrdonnanceur"
type="fr.edition.eni.action.LancerConsigneOrdonnanceur"
name="acceuilForm"
scope="request"
input="/Ordonanceur.jsp">
<forward name="success" path="/Ordonanceur.jsp" ></forward>
</action>
<action path="/LancerMeteoparTrigramme_veille"
type="fr.edition.eni.action.LancerMeteoparTrigramme_veille"
scope="request"
name="ConsignesSchedulingForm"
input="/Ordonanceur.jsp">
<forward name="success" path="/Meteo_Par_Trigramme_veille.jsp"></forward>
<forward name="erreur" path="/LancerConsignesGestion.do"></forward>
</action>
<action path="/LancerMeteoParTrigrammeDerouler_veille"
type="fr.edition.eni.action.LancerMeteoParTrigrammeDerouler_veille"
scope="request"
name="ConsignesSchedulingForm"
input="/Ordonanceur.jsp">
<forward name="success" path="/Meteo_Par_Trigramme_veille.jsp"></forward>
<forward name="erreur" path="/LancerConsignesGestion.do"></forward>
</action>
<action path="/LancerMaintenanceAction"
type="fr.edition.eni.action.LancerMaintenanceAction"
scope="request"
input="/Ordonanceur.jsp">
<forward name="success" path="/maintenance.jsp"></forward>
</action>
<action path="/SuppressionConsigneValideAction"
type="fr.edition.eni.action.SuppressionConsigneValideAction"
name="ConsignesSchedulingForm"
scope="request"
validate="true"
parameter="hidden">
<forward name="success" path="/LancerMaintenanceAction.do"></forward>
<forward name="erreur" path="/LancerMaintenanceAction.do"></forward>
</action>
<!-- Action effectuée lorsque il n'y a pas de resultats trouvés dans la base -->
<action path="/LancerNonResultatsConsignesOrdonnanceurs"
type="fr.edition.eni.action.LancerNonResultatsConsignesOrdonnanceurs"
name="moteurDeRechercheConsignesScheduling"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/RechercheSansResultatConsignesOrdonnaceurs.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/accesNonAutorise.jsp"></forward>
</action>
<action path="/LancerResultatsConsignesOrdo"
type="fr.edition.eni.action.LancerResultatsConsignesOrdo"
name="moteurDeRechercheConsignesScheduling"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/resultatsRechercheConsignes.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/accesNonAutorise.jsp"></forward>
</action>
<action path="/LancerResultatsConsignesValides"
type="fr.edition.eni.action.LancerResultatsConsignesValides"
name="moteurDeRechercheConsignesScheduling"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/ResultatsConsignesValides.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/accesNonAutorise.jsp"></forward>
</action>
<action path="/MoteurRechercheOrdonnanceurAction"
type="fr.edition.eni.action.MoteurRechercheOrdonnanceurAction"
name="moteurDeRechercheConsignesScheduling"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/LancerResultatsConsignesOrdo.do"></forward>
<forward name="successValides" path="/LancerResultatsConsignesValides.do"></forward>
<forward name="erreur" path="/LancerNonResultatsConsignesOrdonnanceurs.do"></forward>
</action>
<action path="/ValidationSuppressionAction"
type="fr.edition.eni.action.ValidationSuppressionAction"
scope="request"
name="ConsignesSchedulingForm"
input="/LancerConsignesNonValidesAction.do"
validate="true"
parameter="hidden">
<forward name="success" path="/LancerConsignesNonValidesAction.do" redirect="true"></forward>
<forward name="erreur" path="/LancerConsignesNonValidesAction.do"></forward>
</action>
<action path="/DateValidationModificationAction"
type="fr.edition.eni.action.DateValidationModificationAction"
scope="request"
name="ConsignesSchedulingForm"
input="/LancerConsignesNonValidesAction.do">
<forward name="success" path="/LancerConsignesNonValidesAction.do" redirect="true"></forward><!--a modifier-->
<forward name="erreur" path="/LancerConsignesNonValidesAction.do"></forward>
</action>
<action path="/Consignes_OrdoNonValidesSuppressionAction"
type="fr.edition.eni.action.Consignes_OrdoNonValidesSuppressionAction"
scope="request"
name="ConsignesSchedulingForm"
input="/LancerConsignesNonValidesAction.do">
<forward name="success" path="/LancerConsignesNonValidesAction.do" redirect="true"></forward><!--a modifier-->
<forward name="erreur" path="/LancerConsignesNonValidesAction.do"></forward>
</action>
<action path="/LancerConsignesNonValidesAction"
type="fr.edition.eni.action.LancerConsignesNonValidesAction"
scope="request"
input="/Ordonanceur.jsp">
<forward name="success" path="/Etat_publication.jsp"></forward>
<forward name="erreur" path="/Etat_publication.jsp"></forward>
</action>
<action path="/LancerConsignesGestion"
type="fr.edition.eni.action.LancerConsignesGestion"
scope="request"
name="ConsignesSchedulingForm"
input="/Ordonanceur.jsp">
<forward name="success" path="/Ordonanceur_Gestion.jsp"></forward>
<forward name="erreur" path="/Ordonanceur.jsp"></forward>
</action>
<action path="/Consignes_OrdoAjoutAction"
type="fr.edition.eni.action.Consignes_OrdoAjoutAction"
scope="request"
name="ConsignesSchedulingForm"
input="/LancerConsignesGestion.do">
<forward name="success" path="/LancerConsignesGestion.do"></forward>
<forward name="erreur" path="/LancerConsignesGestion.do"></forward>
</action>
<action path="/Consignes_OrdoModificationAction"
type="fr.edition.eni.action.Consignes_OrdoModificationAction"
scope="request"
name="ConsignesSchedulingModifForm"
input="/LancerConsigneModificationAction.do">
<forward name="success" path="/LancerConsignesGestion.do"></forward>
<forward name="erreur" path="/LancerConsigneModificationAction.do"></forward>
</action>
<action path="/LancerConsigneModificationAction"
type="fr.edition.eni.action.LancerConsigneModificationAction"
scope="request"
name="ConsignesSchedulingModifForm"
input="/LancerConsignesGestion.do">
<forward name="success" path="/Ordonanceur_Modif.jsp"></forward>
<forward name="erreur" path="/LancerConsignesGestion.do"></forward>
</action>
<action path="/AfficheConsigne"
type="fr.edition.eni.action.AfficheConsigne"
name="acceuilForm"
scope="request"
input="/Ordonanceur.jsp">
<forward name="success" path="/Affiche_Consigne.jsp" ></forward>
</action>
<action path="/AfficheConsigneConsole"
type="fr.edition.eni.action.AfficheConsigneConsole"
name="acceuilForm"
scope="request"
input="/Ordonanceur.jsp">
<forward name="success" path="/Affiche_Consigne_Console.jsp" ></forward>
<forward name="error" path="/Affiche_Consigne_Console_error.jsp" ></forward>
</action>
<action path="/sort"
type="fr.improve.struts.taglib.layout.sort.SortAction" scope="request">
</action>
<controller processorClass="org.apache.struts.tiles.TilesRequestProcessor"/>
<!-- <message-resources parameter="java.MessageResources"/> -->
<!--////////Declaration des ressources ////////////-->
<message-resources parameter="com/myapp/struts/ApplicationResource"/>
<!-- ========================= Tiles plugin ===============================-->
<!--
This plugin initialize Tiles definition factory. This later can takes some
parameters explained here after. The plugin first read parameters from
web.xml, thenoverload them with parameters defined here. All parameters
are optional.
The plugin should be declared in each struts-config file.
- definitions-config: (optional)
Specify configuration file names. There can be several comma
separated file names (default: ?? )
- moduleAware: (optional - struts1.1)
Specify if the Tiles definition factory is module aware. If true
(default), there will be one factory for each Struts module.
If false, there will be one common factory for all module. In this
later case, it is still needed to declare one plugin per module.
The factory will be initialized with parameters found in the first
initialized plugin (generally the one associated with the default
module).
true : One factory per module. (default)
false : one single shared factory for all modules
- definitions-parser-validate: (optional)
Specify if xml parser should validate the Tiles configuration file.
true : validate. DTD should be specified in file header (default)
false : no validation
Paths found in Tiles definitions are relative to the main context.
-->
<plug-in className="org.apache.struts.tiles.TilesPlugin" >
<set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" />
<set-property property="moduleAware" value="true" />
</plug-in>
<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> |
-
Membre éprouvé
il y a des action en dehors de action-mappings
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 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598
| <?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>
<data-sources>
<data-source type="org.apache.tomcat.dbcp.dbcp.BasicDataSource" key="enidb">
<set-property property="driverClassName" value="com.mysql.jdbc.Driver"/>
<set-property property="url" value="jdbc:mysql://localhost:3306/strutseni?autoReconnect=true" />
<set-property property="username" value="root"/>
<set-property property="password" value="saoussen123"/>
<set-property property="maxActive" value="200"/>
<set-property property="maxWait" value="5000"/>
<set-property property="defaultAutoCommit" value="false"/>
<set-property property="defaultReadOnly" value="false"/>
</data-source>
</data-sources>
<form-beans>
<form-bean name="administrationForm"
type="fr.edit.eni.actionform.AdministrationForm" />
<form-bean name="acceuilForm"
type="fr.edit.eni.actionform.AcceuilForm" />
<form-bean name="meteoForm"
type="fr.edit.eni.actionform.MeteoForm" />
<form-bean name="dossierForm"
type="fr.edit.eni.actionform.DossierForm" />
<form-bean name="procedureForm"
type="fr.edit.eni.actionform.ProcedureForm" />
<form-bean name="lienForm"
type="fr.edit.eni.actionform.LienForm" />
<form-bean name="contactForm"
type="fr.edit.eni.actionform.ContactForm" />
<form-bean name="astreinteForm"
type="fr.edit.eni.actionform.AstreinteForm" />
<form-bean name="personnelForm"
type="fr.edit.eni.actionform.PersonnelForm" />
<form-bean name="consignesTempForm"
type="fr.edit.eni.actionform.ConsignesTempForm" />
<form-bean name="shiftFormSansValidation"
type="fr.edit.eni.actionform.ShiftFormSansValidation" />
<form-bean name="shiftForm"
type="fr.edit.eni.actionform.ShiftForm" />
<!-- Bean du moteur de recherche -->
<form-bean name="MoteurRechercheForm"
type="fr.edit.eni.actionform.MoteurRechercheForm" />
<!-- <form-bean name="moteurDeRechercheForm"
type="fr.edit.eni.actionform.MoteurDeRechercheForm" />-->
<form-bean name="consignesTempFormSansValidation"
type="fr.edit.eni.actionform.ConsignesTempFormSansValidation" />
<form-bean name="ConsignesSchedulingForm"
type="fr.edit.eni.actionform.ConsignesSchedulingForm" />
<form-bean name="ConsignesSchedulingModifForm"
type="fr.edit.eni.actionform.ConsignesSchedulingModifForm" />
<!-- Bean de formulaire du moteur de recherche -->
<form-bean name="moteurDeRechercheConsignesScheduling"
type="fr.edit.eni.actionform.MoteurRechercheConsignesForm" />
<form-bean name="MeteoAppliForm"
type="fr.edit.eni.actionform.MeteoAppliForm" />
</form-beans>
<global-exceptions>
</global-exceptions>
<global-forwards>
<forward name="welcome" path="/Welcome.do"/>
<forward name="LancerAcceuilAction" path="/LancerAcceuilAction.do" redirect="true"/>
</global-forwards>
<action-mappings>
<action path="/Welcome" forward="/welcomeStruts.jsp"/>
<action path="/switch"
type="fr.edition.eni.action.SwitchLangAction"
name="acceuilForm"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/LancerAcceuilAction.do"></forward>
<forward name="erreur" path="/erreur.jsp"></forward>
</action>
<action path="/LancerConsignesPermanentesAction"
type="fr.edition.eni.action.LancerConsignesPermanentesAction"
name="acceuilForm"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/LancerPermanentesInstructions.jsp"></forward>
<forward name="erreur" path="/acceuilForm.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/accesNonAutorise.jsp"></forward>
</action>
<action path="/LancerForumFaq"
type="fr.edition.eni.action.LancerForumFaq"
name="acceuilForm"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/LancerForumFaq.jsp"></forward>
<forward name="erreur" path="/acceuilForm.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/accesNonAutorise.jsp"></forward>
</action>
<action path="/LancerForumAction"
type="fr.edition.eni.action.LancerForumAction"
name="acceuilForm"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/LancerForum.jsp"></forward>
<forward name="erreur" path="/acceuilForm.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/accesNonAutorise.jsp"></forward>
</action>
<action path="/LancerMeteoAction"
type="fr.edition.eni.action.LancerMeteoAction"
name="acceuilForm"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/meteoForm.jsp"></forward>
<forward name="erreur" path="/acceuilForm.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/nonAutoriséAdmi.jsp"></forward>
</action>
<action path="/LancerMeteoSansAuthentification"
type="fr.edition.eni.action.LancerMeteoSansAuthentification"
name="acceuilForm"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/meteoForm.jsp"></forward>
</action>
<action path="/ShiftAjoutAction"
type="fr.edition.eni.action.ShiftAjoutAction"
name="shiftForm"
scope="request"
input="/LancerShiftSansAuthentification.do">
<forward name="success" path="/LancerShiftSansAuthentification.do" redirect="true"></forward>
<forward name="erreur" path="/LancerAffichageShift.do"></forward>
</action>
<!--Action pour supprimer un shift de la base -->
<action path="/ShiftSuppressionAction"
type="fr.edition.eni.action.ShiftSuppressionAction"
name="shiftFormSansValidation"
scope="request"
input="/LancerShiftSansAuthentification.do">
<forward name="success" path="/LancerShiftSansAuthentification.do" redirect="true"></forward>
<forward name="erreur" path="/shiftForm.jsp"></forward>
</action>
<action path="/LancerShiftAction"
type="fr.edition.eni.action.LancerShiftAction"
name="acceuilForm"
scope="request"
input="/shiftForm.jsp">
<forward name="success" path="/afficheShift.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/accesNonAutorise.jsp"></forward>
</action>
<action path="/LancerAffichageShift"
type="fr.edition.eni.action.LancerAffichageShift"
name="acceuilForm"
scope="request"
input="/LancerShiftAction.do">
<forward name="success" path="/shiftForm.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/accesNonAutorise.jsp"></forward>
</action>
<!-- Action de lancement du formulaire des shifts sans effectuer d'authentification -->
<action path="/LancerShiftSansAuthentification"
type="fr.edition.eni.action.LancerShiftSansAuthentification"
name="acceuilForm"
scope="request"
input="/LancerShiftAction.do">
<forward name="success" path="/shiftForm.jsp"></forward>
</action>
<action path="/LancerModificationShiftAction"
type="fr.edition.eni.action.LancerModificationShiftAction"
name="shiftFormSansValidation"
scope="request"
input="/LancerShiftSansAuthentification.do">
<forward name="success" path="/modificationShifts.jsp" ></forward>
<forward name="erreur" path="/acceuilForm.jsp"></forward>
</action>
<action path="/ShiftModificationAction"
type="fr.edition.eni.action.ShiftModificationAction"
name="shiftFormSansValidation"
scope="request"
input="/LancerShiftSansAuthentification.do">
<forward name="success" path="/LancerModificationShiftAction.do" ></forward>
<forward name="erreur" path="/acceuilForm.jsp"></forward>
</action>
<action path="/EnregistrerModificationsShiftsAction"
type="fr.edition.eni.action.EnregistrerModificationsShiftsAction"
name="shiftFormSansValidation"
scope="request"
input="/modificationShifts.jsp">
<forward name="success" path="/LancerShiftSansAuthentification.do"></forward>
<forward name="erreur" path="/LancerShiftSansAuthentification.do"></forward>
</action>
<action path="/LancerConsignesTemporaires"
type="fr.edition.eni.action.LancerConsignesTemporaires"
name="acceuilForm"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/consignesTemporaires.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/accesNonAutorise.jsp"></forward>
</action>
<action path="/LancerModificationConsignes"
type="fr.edition.eni.action.LancerModificationConsignes"
name="administrationForm"
scope="request"
input="/LancerAdministrationActionSansAuthentification.do">
<forward name="success" path="/modificationConsignes.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/accesNonAutorise.jsp"></forward>
</action>
<action path="/ConsigneModificationAction"
type="fr.edition.eni.action.ConsigneModificationAction"
name="consignesTempFormSansValidation"
scope="request"
input="/LancerAdministrationActionSansAuthentification.do">
<forward name="success" path="/LancerModificationConsignes.do" ></forward>
<forward name="erreur" path="/acceuilForm.jsp"></forward>
</action>
<action path="/EnregistrerModificationsConsigneAction"
type="fr.edition.eni.action.EnregistrerModificationsConsigneAction"
name="consignesTempFormSansValidation"
scope="request"
input="/modificationConsignes.jsp">
<forward name="success" path="/LancerAdministrationActionSansAuthentification.do"></forward>
<forward name="erreur" path="/LancerAdministrationActionSansAuthentification.do"></forward>
</action>
<action path="/ContactAjoutAction"
type="fr.edition.eni.action.ContactAjoutAction"
name="contactForm"
scope="request"
input="/LancerAdministrationActionSansAuthentification.do">
<forward name="success" path="/LancerAdministrationActionSansAuthentification.do" redirect="true"></forward>
<forward name="erreur" path="/administrationForm.jsp"></forward>
</action>
<action path="/ContactSuppressionAction"
type="fr.edition.eni.action.ContactSuppressionAction"
name="administrationForm"
scope="request"
input="/administrationForm.jsp">
<forward name="success" path="/LancerAdministrationActionSansAuthentification.do" redirect="true"></forward>
<forward name="erreur" path="/administrationForm.jsp"></forward>
</action>
<action path="/LancerContactAction"
type="fr.edition.eni.action.LancerContactAction"
name="administrationForm"
scope="request"
input="/administrationForm.jsp">
<forward name="success" path="/contacts.jsp"></forward>
</action>
<action path="/AstreinteAjoutAction"
type="fr.edition.eni.action.AstreinteAjoutAction"
name="astreinteForm"
scope="request"
input="/LancerAdministrationActionSansAuthentification.do">
<forward name="success" path="/LancerAdministrationActionSansAuthentification.do" redirect="true"></forward><!--a modifier-->
<forward name="erreur" path="/LancerAdministrationActionSansAuthentification.do"></forward>
</action>
<action path="/AstreinteSuppressionAction"
type="fr.edition.eni.action.AstreinteSuppressionAction"
name="administrationForm"
scope="request"
input="/LancerAdministrationActionSansAuthentification.do">
<forward name="success" path="/LancerAdministrationActionSansAuthentification.do" redirect="true"></forward><!--a modifier-->
<forward name="erreur" path="/LancerAdministrationActionSansAuthentification.do"></forward>
</action>
<action path="/LancerAstreinteAction"
type="fr.edition.eni.action.LancerAstreinteAction"
name="administrationForm"
scope="request"
input="/administrationForm.jsp">
<forward name="success" path="/Astreintes.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/accesNonAutorise.jsp"></forward>
</action>
<action path="/LancerLienAction"
type="fr.edition.eni.action.LancerLienAction"
name="administrationForm"
scope="request"
input="/administrationForm.jsp">
<forward name="success" path="/LancerAcceuilAction.do"></forward>
</action>
<!--/////////////////////////////// Traitement de la Meteo //////////////////////////////////-->
<action path="/MeteoAjoutAction"
type="fr.edition.eni.action.MeteoAjoutAction"
name="meteoForm"
scope="request"
input="/LancerMeteoSansAuthentification.do">
<forward name="success" path="/LancerAcceuilAction.do" redirect="true"></forward>
<forward name="erreur" path="/meteoForm.jsp"></forward>
</action>
<!--Action ConsignesTemp-->
<action path="/ConsignesTempAjoutAction"
type="fr.edition.eni.action.ConsignesTempAjoutAction"
name="consignesTempForm"
scope="request"
input="/LancerAdministrationActionSansAuthentification.do">
<forward name="success" path="/LancerAdministrationActionSansAuthentification.do" redirect="true"></forward>
<forward name="erreur" path="/LancerAdministrationActionSansAuthentification.do"></forward>
</action>
<action path="/ConsignesTempSuppressionAction"
type="fr.edition.eni.action.ConsignesTempSuppressionAction"
name="administrationForm"
scope="request"
input="/LancerAdministrationActionSansAuthentification.do">
<forward name="success" path="/LancerAdministrationActionSansAuthentification.do" redirect="true"></forward>
<forward name="erreur" path="/LancerAdministrationActionSansAuthentification.do"></forward>
</action>
<action path="/PersonnelAjoutAction"
type="fr.edition.eni.action.PersonnelAjoutAction"
name="personnelForm"
scope="request"
input="/LancerAdministrationActionSansAuthentification.do">
<forward name="success" path="/LancerAdministrationActionSansAuthentification.do" redirect="true"></forward>
<forward name="erreur" path="/LancerAdministrationActionSansAuthentification.do"></forward>
</action>
<action path="/PersonnelSuppressionAction"
type="fr.edition.eni.action.PersonnelSuppressionAction"
name="administrationForm"
scope="request"
input="/LancerAdministrationActionSansAuthentification.do">
<forward name="success" path="/LancerAdministrationActionSansAuthentification.do" redirect="true"></forward>
<forward name="erreur" path="/administrationForm.jsp"></forward>
</action>
<action path="/LancerAdministrationAction"
type="fr.edition.eni.action.LancerAdministrationAction"
name="administrationForm"
scope="request"
input="/administrationForm.jsp">
<forward name="success" path="/administrationForm.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/nonAutoriséAdmi.jsp"></forward>
</action>
<action path="/LancerAdministrationActionSansAuthentification"
type="fr.edition.eni.action.LancerAdministrationActionSansAuthentification"
name="administrationForm"
scope="request"
input="/administrationForm.jsp">
<forward name="success" path="/administrationForm.jsp"></forward>
</action>
<action path="/LancerAcceuilAction"
type="fr.edition.eni.action.LancerAcceuilAction"
name="acceuilForm"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/acceuilForm.jsp" ></forward>
</action>
<!-- <action path="/LancerResultatRechercheAction"
type="fr.edition.eni.action.LancerResultatRechercheAction"
name="moteurDeRechercheForm"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/resultatRecherche.jsp"></forward>
<forward name="erreur" path="/RechercheSansResultat.jsp"></forward>
</action>-->
<action path="/LancerConsigneOrdonnanceur"
type="fr.edition.eni.action.LancerConsigneOrdonnanceur"
name="acceuilForm"
scope="request"
input="/Ordonanceur.jsp">
<forward name="success" path="/Ordonanceur.jsp" ></forward>
</action>
<action path="/LancerMeteoparTrigramme_veille"
type="fr.edition.eni.action.LancerMeteoparTrigramme_veille"
scope="request"
name="ConsignesSchedulingForm"
input="/Ordonanceur.jsp">
<forward name="success" path="/Meteo_Par_Trigramme_veille.jsp"></forward>
<forward name="erreur" path="/LancerConsignesGestion.do"></forward>
</action>
<action path="/LancerMeteoParTrigrammeDerouler_veille"
type="fr.edition.eni.action.LancerMeteoParTrigrammeDerouler_veille"
scope="request"
name="ConsignesSchedulingForm"
input="/Ordonanceur.jsp">
<forward name="success" path="/Meteo_Par_Trigramme_veille.jsp"></forward>
<forward name="erreur" path="/LancerConsignesGestion.do"></forward>
</action>
<action path="/LancerMaintenanceAction"
type="fr.edition.eni.action.LancerMaintenanceAction"
scope="request"
input="/Ordonanceur.jsp">
<forward name="success" path="/maintenance.jsp"></forward>
</action>
<action path="/SuppressionConsigneValideAction"
type="fr.edition.eni.action.SuppressionConsigneValideAction"
name="ConsignesSchedulingForm"
scope="request"
validate="true"
parameter="hidden">
<forward name="success" path="/LancerMaintenanceAction.do"></forward>
<forward name="erreur" path="/LancerMaintenanceAction.do"></forward>
</action>
<!-- Action effectuée lorsque il n'y a pas de resultats trouvés dans la base -->
<action path="/LancerNonResultatsConsignesOrdonnanceurs"
type="fr.edition.eni.action.LancerNonResultatsConsignesOrdonnanceurs"
name="moteurDeRechercheConsignesScheduling"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/RechercheSansResultatConsignesOrdonnaceurs.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/accesNonAutorise.jsp"></forward>
</action>
<action path="/LancerResultatsConsignesOrdo"
type="fr.edition.eni.action.LancerResultatsConsignesOrdo"
name="moteurDeRechercheConsignesScheduling"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/resultatsRechercheConsignes.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/accesNonAutorise.jsp"></forward>
</action>
<action path="/LancerResultatsConsignesValides"
type="fr.edition.eni.action.LancerResultatsConsignesValides"
name="moteurDeRechercheConsignesScheduling"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/ResultatsConsignesValides.jsp"></forward>
<forward name="nonAutoriséAdmi" path="/accesNonAutorise.jsp"></forward>
</action>
<action path="/MoteurRechercheOrdonnanceurAction"
type="fr.edition.eni.action.MoteurRechercheOrdonnanceurAction"
name="moteurDeRechercheConsignesScheduling"
scope="request"
input="/acceuilForm.jsp">
<forward name="success" path="/LancerResultatsConsignesOrdo.do"></forward>
<forward name="successValides" path="/LancerResultatsConsignesValides.do"></forward>
<forward name="erreur" path="/LancerNonResultatsConsignesOrdonnanceurs.do"></forward>
</action>
<action path="/ValidationSuppressionAction"
type="fr.edition.eni.action.ValidationSuppressionAction"
scope="request"
name="ConsignesSchedulingForm"
input="/LancerConsignesNonValidesAction.do"
validate="true"
parameter="hidden">
<forward name="success" path="/LancerConsignesNonValidesAction.do" redirect="true"></forward>
<forward name="erreur" path="/LancerConsignesNonValidesAction.do"></forward>
</action>
<action path="/DateValidationModificationAction"
type="fr.edition.eni.action.DateValidationModificationAction"
scope="request"
name="ConsignesSchedulingForm"
input="/LancerConsignesNonValidesAction.do">
<forward name="success" path="/LancerConsignesNonValidesAction.do" redirect="true"></forward><!--a modifier-->
<forward name="erreur" path="/LancerConsignesNonValidesAction.do"></forward>
</action>
<action path="/Consignes_OrdoNonValidesSuppressionAction"
type="fr.edition.eni.action.Consignes_OrdoNonValidesSuppressionAction"
scope="request"
name="ConsignesSchedulingForm"
input="/LancerConsignesNonValidesAction.do">
<forward name="success" path="/LancerConsignesNonValidesAction.do" redirect="true"></forward><!--a modifier-->
<forward name="erreur" path="/LancerConsignesNonValidesAction.do"></forward>
</action>
<action path="/LancerConsignesNonValidesAction"
type="fr.edition.eni.action.LancerConsignesNonValidesAction"
scope="request"
input="/Ordonanceur.jsp">
<forward name="success" path="/Etat_publication.jsp"></forward>
<forward name="erreur" path="/Etat_publication.jsp"></forward>
</action>
<action path="/LancerConsignesGestion"
type="fr.edition.eni.action.LancerConsignesGestion"
scope="request"
name="ConsignesSchedulingForm"
input="/Ordonanceur.jsp">
<forward name="success" path="/Ordonanceur_Gestion.jsp"></forward>
<forward name="erreur" path="/Ordonanceur.jsp"></forward>
</action>
<action path="/Consignes_OrdoAjoutAction"
type="fr.edition.eni.action.Consignes_OrdoAjoutAction"
scope="request"
name="ConsignesSchedulingForm"
input="/LancerConsignesGestion.do">
<forward name="success" path="/LancerConsignesGestion.do"></forward>
<forward name="erreur" path="/LancerConsignesGestion.do"></forward>
</action>
<action path="/Consignes_OrdoModificationAction"
type="fr.edition.eni.action.Consignes_OrdoModificationAction"
scope="request"
name="ConsignesSchedulingModifForm"
input="/LancerConsigneModificationAction.do">
<forward name="success" path="/LancerConsignesGestion.do"></forward>
<forward name="erreur" path="/LancerConsigneModificationAction.do"></forward>
</action>
<action path="/LancerConsigneModificationAction"
type="fr.edition.eni.action.LancerConsigneModificationAction"
scope="request"
name="ConsignesSchedulingModifForm"
input="/LancerConsignesGestion.do">
<forward name="success" path="/Ordonanceur_Modif.jsp"></forward>
<forward name="erreur" path="/LancerConsignesGestion.do"></forward>
</action>
<action path="/AfficheConsigne"
type="fr.edition.eni.action.AfficheConsigne"
name="acceuilForm"
scope="request"
input="/Ordonanceur.jsp">
<forward name="success" path="/Affiche_Consigne.jsp" ></forward>
</action>
<action path="/AfficheConsigneConsole"
type="fr.edition.eni.action.AfficheConsigneConsole"
name="acceuilForm"
scope="request"
input="/Ordonanceur.jsp">
<forward name="success" path="/Affiche_Consigne_Console.jsp" ></forward>
<forward name="error" path="/Affiche_Consigne_Console_error.jsp" ></forward>
</action>
<action path="/sort"
type="fr.improve.struts.taglib.layout.sort.SortAction" scope="request">
</action>
</action-mappings>
<controller processorClass="org.apache.struts.tiles.TilesRequestProcessor"/>
<!-- <message-resources parameter="java.MessageResources"/> -->
<!--////////Declaration des ressources ////////////-->
<message-resources parameter="com/myapp/struts/ApplicationResource"/>
<!-- ========================= Tiles plugin ===============================-->
<!--
This plugin initialize Tiles definition factory. This later can takes some
parameters explained here after. The plugin first read parameters from
web.xml, thenoverload them with parameters defined here. All parameters
are optional.
The plugin should be declared in each struts-config file.
- definitions-config: (optional)
Specify configuration file names. There can be several comma
separated file names (default: ?? )
- moduleAware: (optional - struts1.1)
Specify if the Tiles definition factory is module aware. If true
(default), there will be one factory for each Struts module.
If false, there will be one common factory for all module. In this
later case, it is still needed to declare one plugin per module.
The factory will be initialized with parameters found in the first
initialized plugin (generally the one associated with the default
module).
true : One factory per module. (default)
false : one single shared factory for all modules
- definitions-parser-validate: (optional)
Specify if xml parser should validate the Tiles configuration file.
true : validate. DTD should be specified in file header (default)
false : no validation
Paths found in Tiles definitions are relative to the main context.
-->
<plug-in className="org.apache.struts.tiles.TilesPlugin" >
<set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" />
<set-property property="moduleAware" value="true" />
</plug-in>
<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> |
+ Répondre à la discussion
Cette discussion est résolue.
Discussions similaires
-
Réponses: 5
Dernier message: 06/01/2009, 14h52
-
Réponses: 10
Dernier message: 02/02/2007, 11h59
-
Réponses: 16
Dernier message: 21/04/2006, 19h46
×
Vous avez un bloqueur de publicités installé.
Le Club Developpez.com n'affiche que des publicités IT, discrètes et non intrusives.
Afin que nous puissions continuer à vous fournir gratuitement du contenu de qualité,
merci de nous soutenir en désactivant votre bloqueur de publicités sur Developpez.com.
Partager