mirror of
https://github.com/apache/struts.git
synced 2026-08-06 23:27:07 +00:00
WW-1349 Move new Tutorial code into Showcase
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@439068 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<%@ taglib prefix="s" uri="/struts-tags" %>
|
||||
<html>
|
||||
<head><title>Tutorial</title></head>
|
||||
<body>
|
||||
|
||||
<p>
|
||||
This is the companion source code to the
|
||||
<a href="http://cwiki.apache.org/WW/step-by-step.html">
|
||||
Tutorial.</a>
|
||||
</p>
|
||||
|
||||
<h2>Hello World</h2>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<s:url id="url" action="HelloWorld" />
|
||||
<s:a href="%{url}">Hello World!</s:a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h2>Understanding Actions</h2>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<s:url id="url" value="HelloName.html" />
|
||||
<s:a href="%{url}">Hello Name</s:a>
|
||||
</li>
|
||||
<li>
|
||||
<s:url id="url" value="HelloName2.html" />
|
||||
<s:a href="%{url}">Hello Name (2)</s:a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user