ActionForwardで、遷移先ページを直接指定もできる。
ActionForward (Apache Struts API Documentation)
まず、いったん、

これを入れるように。

ディレクトリ構成は最初はこんな感じで。

libの下にstrutsのjarをぶちまける。

settings.jsonはこうする。

こう。

index.jsp
こう。

MainAction.java
こう。

こう。

web.xml
こう。

パレットコマンドでAdd Local Server出ないので、なんでだろうとおもったら、Enable(workspace)を押さないと認識しない。

出た

tomcat8のディレクトリを選択

そのままFinish

tomcat8追加された
error.jspは、
こう。
bg1@vbox:~/project/cloud/github.com/Sample/struts/ActionForward/ActionForward/src/ActionForward$ ant war
Buildfile: /home/bg1/project/cloud/github.com/Sample/struts/ActionForward/ActionForward/src/ActionForward/build.xml
clean:
compile:
[mkdir] Created dir: /home/bg1/project/cloud/github.com/Sample/struts/ActionForward/ActionForward/src/ActionForward/build/WEB-INF/classes
[javac] /home/bg1/project/cloud/github.com/Sample/struts/ActionForward/ActionForward/src/ActionForward/build.xml:21: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 1 source file to /home/bg1/project/cloud/github.com/Sample/struts/ActionForward/ActionForward/src/ActionForward/build/WEB-INF/classes
copy-web:
[copy] Copying 24 files to /home/bg1/project/cloud/github.com/Sample/struts/ActionForward/ActionForward/src/ActionForward/build
war:
[mkdir] Created dir: /home/bg1/project/cloud/github.com/Sample/struts/ActionForward/ActionForward/src/ActionForward/dist
[war] Building war: /home/bg1/project/cloud/github.com/Sample/struts/ActionForward/ActionForward/src/ActionForward/dist/ActionForward.war
BUILD SUCCESSFUL
Total time: 2 seconds
bg1@vbox:~/project/cloud/github.com/Sample/struts/ActionForward/ActionForward/src/ActionForward$ant warして、

Run on Server

直接index.jspが表示された
Sample/struts/ActionForward/ActionForward/src/ActionForward at master · bg1bgst333/Sample · GitHub