You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2014/12/23 22:32:14 UTC

[jira] [Resolved] (WW-4414) Sample JSP don't contain page directive and request URL was wrong.

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

Lukasz Lenart resolved WW-4414.
-------------------------------
    Resolution: Fixed
      Assignee: Lukasz Lenart

Docs updated, thanks for reporting!

https://cwiki.apache.org/confluence/display/WW/Convention+Plugin#ConventionPlugin-Helloworld
https://cwiki.apache.org/confluence/display/WW/Convention+Plugin#ConventionPlugin-Codebehindhelloworld

> 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: Documentation, Plugin - Convention
>    Affects Versions: 2.3.x
>            Reporter: A-pZ
>            Assignee: Lukasz Lenart
>            Priority: Minor
>              Labels: documentation
>             Fix For: 2.3.21
>
>
> I found errata at Convention-plugin document(http://struts.apache.org/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)