Bug#327790: tomcat5-webapps: jsp svg example links to the wrong url

2005-09-12 Thread Pablo Barbachano
Package: tomcat5-webapps
Version: 5.0.30-6
Severity: minor


This example:

http://localhost:8180/jsp-examples/jsp2/jspx/svgexample.html

points to this other URL:

http://localhost:8080/jsp-examples/jsp2/jspx/textRotate.jspx?name=JSPX

The port is wrong. I think the correct way to fix is to change it to:

a href=/jsp-examples/jsp2/jspx/textRotate.jspx?name=JSPX ... /a

... so it takes the correct basedir.

Thanks,
Pablo.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-386
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages tomcat5-webapps depends on:
ii  tomcat5   5.0.30-6   Java Servlet 2.4 engine with JSP 2

tomcat5-webapps recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#327790: tomcat5-webapps: jsp svg example links to the wrong url

2005-09-12 Thread Wolfgang Baer
Hi Pablo,

Pablo Barbachano wrote:
 
 http://localhost:8180/jsp-examples/jsp2/jspx/svgexample.html
 
 points to this other URL:
 
 http://localhost:8080/jsp-examples/jsp2/jspx/textRotate.jspx?name=JSPX
 
 The port is wrong. I think the correct way to fix is to change it to:
 
 a href=/jsp-examples/jsp2/jspx/textRotate.jspx?name=JSPX ... /a
 
 ... so it takes the correct basedir.
 

There might be some other issues likes this as debian changes the
default port of tomcat to 8180 (upstream uses 8080). In a next
upload I will patch it to a relative url. If you find/found other
non-relative links please report them here so they can be fixed
all at once.

Thanks for reporting,

Wolfgang



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]