Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4414

Sample JSP don't contain page directive and request URL was wrong.

    XMLWordPrintableJSON

    Details

      Description

      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.

      <%@ 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'

        Attachments

          Activity

            People

            • Assignee:
              lukaszlenart Lukasz Lenart
              Reporter:
              alpha-pz A-pZ
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: