A-pZ created WW-4414:
------------------------
Summary: Sample JSP don't contain page directive and request URL
was wrong.
Key: WW-4414
URL: https://issues.apache.org/jira/browse/WW-4414
Project: Struts 2
Issue Type: Task
Components: Plugin - Convention
Affects Versions: 2.3.x
Reporter: A-pZ
Priority: Minor
Fix For: 2.3.x
I found errata at Convention-plugin
document(http://struts.apache.org/release/2.3.x/docs/convention-plugin.html)
'4.Code behind hello world'
1) JSP sample code(WEB-INF/content/hello-world.jsp) uses EL but not define JSP
directive , ${message} doesn't perform.
<%@ page language="java" contentType="text/html; charset=utf-8"
isELIgnored="false" pageEncoding="utf-8" %>
2) This sample execute request URL is wrong. I guess
http://localhost:8080/(your-context-path)/hello-world .
'If start up the application server and open up
http://localhost:8080/hello-world in our browser'
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)