Issue Details (XML | Word | Printable)

Key: STR-2855
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Wendy Smoak
Reporter: Michael Jouravlev
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Struts 1

Invalid path to source Java files in Struts Cookbook

Created: 04/May/06 08:31 AM   Updated: 04/May/06 09:27 AM
Return to search
Component/s: Example Applications
Affects Version/s: 1.3.2
Fix Version/s: 1.3.3


 Description  « Hide
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


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Wendy Smoak added a comment - 04/May/06 09:27 AM