Changes for page Adding and Using the Conventions Plugin
on 2012/03/10 02:40
on 2012/03/10 01:50
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -52,7 +52,7 @@ 52 52 53 53 To access this action: http:~/~/localhost:8080/Example/enter-name 54 54 55 -=== Example 2 - Process form and display results === 55 +=== **Example 2 - Process form and display results** === 56 56 57 57 We need to create an action to process the name from the above example. We know that we must put this action in a package which contains the name "action", "struts" or "struts2". 58 58 ... ... @@ -65,7 +65,7 @@ 65 65 package com.example.action; 66 66 \\import com.opensymphony.xwork2.ActionSupport; 67 67 \\public class ProcessForm extends ActionSupport{ 68 - private String name; ~/~/If this was public we could om mit the getters/setters68 + private String name; ~/~/If this was public we could omit the getters/setters 69 69 \\ @Override 70 70 public String execute(){ 71 71 ~/~/processing goes here