Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-2855

Invalid path to source Java files in Struts Cookbook

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3.2
    • 1.3.3
    • Example Applications
    • None

    Description

      The struts-cookbook-1.3.2 application allows to take a look at the
      Java source code of examples. The links refer to
      source.jsp?src=/WEB-INF/src/java/examples/simple/xxx.java, while the
      actual source code is located under /WEB-INF/src/examples/ , no "java"
      subdirectory.

      For example, looking at the source code for Java files on page
      /struts-cookbook-1.3.2/jsp/simple/source.jsp
      results in exception like this:

      javax.servlet.jsp.JspException: No resource
      /WEB-INF/src/java/examples/simple/SimpleActionForm.java
      available in this application

      Attachments

        Activity

          People

            wsmoak Wendy Smoak
            jmikus@gmail.com Michael Jouravlev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: