You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Martin Cooper <ma...@tumbleweed.com> on 2002/08/14 19:44:48 UTC
RE: cvs commit: jakarta-struts/web/blank/WEB-INF web.xml
tiles-de fs.xml
I don't think we should be specifying the resources in the web.xml file.
That's the "old way", which we should not be encouraging, as with all the
other init param values which are now configurable in struts-config.xml.
--
Martin Cooper
> -----Original Message-----
> From: husted@apache.org [mailto:husted@apache.org]
> Sent: Wednesday, August 14, 2002 6:30 AM
> To: jakarta-struts-cvs@apache.org
> Subject: cvs commit: jakarta-struts/web/blank/WEB-INF web.xml
> tiles-defs.xml
>
>
> husted 2002/08/14 06:29:42
>
> Modified: web/blank/WEB-INF web.xml tiles-defs.xml
> Log:
> Add README.txt with deployment notes. Revise web.xml to
> specify application init-param. Remove obsolete
> classes/ApplicationResources.properties. add blank element to
> tiles-defs.xml to please <definitions+> DTD.
>
> Revision Changes Path
> 1.6 +4 -0 jakarta-struts/web/blank/WEB-INF/web.xml
>
> Index: web.xml
> ===================================================================
> RCS file: /home/cvs/jakarta-struts/web/blank/WEB-INF/web.xml,v
> retrieving revision 1.5
> retrieving revision 1.6
> diff -u -r1.5 -r1.6
> --- web.xml 26 Jul 2002 13:33:08 -0000 1.5
> +++ web.xml 14 Aug 2002 13:29:42 -0000 1.6
> @@ -11,6 +11,10 @@
> <servlet-name>action</servlet-name>
>
> <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
> <init-param>
> + <param-name>application</param-name>
> + <param-value>resources/application</param-value>
> + </init-param>
> + <init-param>
> <param-name>config</param-name>
> <param-value>/WEB-INF/struts-config.xml</param-value>
> </init-param>
>
>
>
> 1.3 +6 -3 jakarta-struts/web/blank/WEB-INF/tiles-defs.xml
>
> Index: tiles-defs.xml
> ===================================================================
> RCS file:
> /home/cvs/jakarta-struts/web/blank/WEB-INF/tiles-defs.xml,v
> retrieving revision 1.2
> retrieving revision 1.3
> diff -u -r1.2 -r1.3
> --- tiles-defs.xml 26 Jul 2002 13:33:08 -0000 1.2
> +++ tiles-defs.xml 14 Aug 2002 13:29:42 -0000 1.3
> @@ -19,7 +19,7 @@
> <put name="footer" value="/common/footer.jsp" />
> <put name="body" value=".portal.body" />
> </definition>
> -
> +
> <definition name=".mainMenu"
> path="/common/layouts/vboxLayout.jsp" >
> <putList name="list" >
> <add value=".menu.links" />
> @@ -28,12 +28,15 @@
> <add value=".menu.old.documents" />
> </putList>
> </definition>
> -
> +
> <definition name="aPage" extends=".mainLayout">
> <put name="title" value="Another Title" />
> <put name="body" value=".aPage.body" />
> </definition>
> -
> +
> end samples -->
> +
> + <definition name="${YOUR_DEFINITION_HERE}">
> + </definition>
>
> </tiles-definitions>
>
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>