[ 
https://issues.apache.org/jira/browse/WW-4414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukasz Lenart updated WW-4414:
------------------------------
    Description: 
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.
{code:xml}
<%@ page language="java" contentType="text/html; charset=utf-8" 
isELIgnored="false" pageEncoding="utf-8" %>
{code}
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'

  was:
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'


> 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
>              Labels: documentation
>             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.
> {code:xml}
> <%@ page language="java" contentType="text/html; charset=utf-8" 
> isELIgnored="false" pageEncoding="utf-8" %>
> {code}
> 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)

Reply via email to