Author: tmjee
Date: Sun Sep 3 20:43:07 2006
New Revision: 439915
URL: http://svn.apache.org/viewvc?view=rev&rev=439915
Log:
- fix applicationContext.xml generate an invalid class reference
- fix struts.xml generate an invalid class reference
- fix typo in index.ftl
Modified:
struts/maven/trunk/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/struts.xml
struts/maven/trunk/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/applicationContext.xml
struts/maven/trunk/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/webapp/ftl/index.ftl
Modified:
struts/maven/trunk/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/struts.xml
URL:
http://svn.apache.org/viewvc/struts/maven/trunk/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/struts.xml?view=diff&rev=439915&r1=439914&r2=439915
==============================================================================
---
struts/maven/trunk/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/struts.xml
(original)
+++
struts/maven/trunk/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/resources/struts.xml
Sun Sep 3 20:43:07 2006
@@ -7,7 +7,7 @@
<struts>
<include file="struts-default.xml" />
<package name="myPackage" extends="struts-default">
- <action name="index" class="com.myComp.myApp.IndexAction">
+ <action name="index" class="${groupId}.IndexAction">
<result type="freemarker">/ftl/index.ftl</result>
</action>
<action name="helloWorld" class="helloWorldAction">
Modified:
struts/maven/trunk/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/applicationContext.xml
URL:
http://svn.apache.org/viewvc/struts/maven/trunk/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/applicationContext.xml?view=diff&rev=439915&r1=439914&r2=439915
==============================================================================
---
struts/maven/trunk/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/applicationContext.xml
(original)
+++
struts/maven/trunk/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/applicationContext.xml
Sun Sep 3 20:43:07 2006
@@ -5,6 +5,6 @@
<beans>
<!-- Example of SAF2 action instantiated by Spring -->
- <bean id="helloWorldAction" class="com.myComp.myApp.HelloWorldAction"
singleton="false" />
+ <bean id="helloWorldAction" class="${groupId}.HelloWorldAction"
singleton="false" />
</beans>
Modified:
struts/maven/trunk/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/webapp/ftl/index.ftl
URL:
http://svn.apache.org/viewvc/struts/maven/trunk/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/webapp/ftl/index.ftl?view=diff&rev=439915&r1=439914&r2=439915
==============================================================================
---
struts/maven/trunk/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/webapp/ftl/index.ftl
(original)
+++
struts/maven/trunk/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/webapp/ftl/index.ftl
Sun Sep 3 20:43:07 2006
@@ -11,7 +11,7 @@
<@s.form action="helloWorld">
<@s.textfield label="What is your name?" name="name" />
<@s.submit />
- </@f.form>
+ </@s.form>
</body>
</html>