You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2015/01/26 11:10:31 UTC

[Bug 57496] New: Hard-coded URL in SVG example

https://issues.apache.org/bugzilla/show_bug.cgi?id=57496

            Bug ID: 57496
           Summary: Hard-coded URL in SVG example
           Product: Tomcat 8
           Version: 8.0.17
          Hardware: PC
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Examples
          Assignee: dev@tomcat.apache.org
          Reporter: knst.kolinko@gmail.com

A minor glitch in the examples.

The file \webapps\examples\jsp\jsp2\jspx\svgexample.html in Examples web
application has the following text:

      <li>Copy the following URL:
      <a
href="http://localhost:8080/examples/jsp/jsp2/jspx/textRotate.jspx?name=JSPX">
     
http://localhost:8080/examples/jsp/jsp2/jspx/textRotate.jspx?name=JSPX</a>
      </li>

If Tomcat runs on a different port number, the above link to localhost:8080
becomes wrong. I noted this when doing a recursive download (wget -r) of the
examples webapp.

To fix this one has to convert this static HTML page into a JSP one.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 57496] Hard-coded URL in SVG example

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57496

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
Fixed in trunk and 8.0.x for 8.0.19 onwards.

I used a relative link and re-worded the surrounding text so a full URL was not
required.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 57496] Hard-coded URL in SVG example

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57496

Christopher Schultz <ch...@christopherschultz.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Christopher Schultz <ch...@christopherschultz.net> ---
(In reply to Konstantin Kolinko from comment #0)
> To fix this one has to convert this static HTML page into a JSP one.

Or just use a relative reference. This should be easy, as the two documents are
in the same directory (i.e. no "..", etc. needed).

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org